diff options
| author | Peter Collingbourne <[email protected]> | 2020-12-03 07:51:10 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2020-12-03 18:17:35 +0000 |
| commit | 929c1f3384d7e5cd319d03242cb925c3f91236f7 (patch) | |
| tree | ba11b43013151578ca0c5ac79a342e01e9a6344f /net/switchdev/switchdev.c | |
| parent | arm64: mte: Fix typo in macro definition (diff) | |
| download | kernel-929c1f3384d7e5cd319d03242cb925c3f91236f7.tar.gz kernel-929c1f3384d7e5cd319d03242cb925c3f91236f7.zip | |
arm64: mte: fix prctl(PR_GET_TAGGED_ADDR_CTRL) if TCF0=NONE
Previously we were always returning a tag inclusion mask of zero via
PR_GET_TAGGED_ADDR_CTRL if TCF0 was set to NONE. Fix it by making
the code for the NONE case match the others.
Signed-off-by: Peter Collingbourne <[email protected]>
Link: https://linux-review.googlesource.com/id/Iefbea66cf7d2b4c80b82f9639b9ea7f33f7fac53
Fixes: af5ce95282dc ("arm64: mte: Allow user control of the generated random tags via prctl()")
Reviewed-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
