diff options
author | Peter Collingbourne <pcc@google.com> | 2020-12-02 23:51:10 -0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-12-03 18:17:35 +0000 |
commit | 929c1f3384d7e5cd319d03242cb925c3f91236f7 (patch) | |
tree | ba11b43013151578ca0c5ac79a342e01e9a6344f /init/init_task.c | |
parent | 9e5344e0ffc33f4fee899f98b6939a0682b1d9c3 (diff) | |
download | linux-929c1f3384d7e5cd319d03242cb925c3f91236f7.tar.bz2 |
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 <pcc@google.com>
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 <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20201203075110.2781021-1-pcc@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions