diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2019-08-15 17:44:01 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-20 19:18:10 +0200 |
commit | 413235fcedc7f61e925fe9818bc3f5eff8ad2494 (patch) | |
tree | 0c863fbe6a6cdb9cee727f52e5ae8cee565751ef /drivers/mfd/ssbi.c | |
parent | arm64: Tighten the PR_{SET, GET}_TAGGED_ADDR_CTRL prctl() unused arguments (diff) | |
download | linux-413235fcedc7f61e925fe9818bc3f5eff8ad2494.tar.xz linux-413235fcedc7f61e925fe9818bc3f5eff8ad2494.zip |
arm64: Change the tagged_addr sysctl control semantics to only prevent the opt-in
First rename the sysctl control to abi.tagged_addr_disabled and make it
default off (zero). When abi.tagged_addr_disabled == 1, only block the
enabling of the TBI ABI via prctl(PR_SET_TAGGED_ADDR_CTRL, PR_TAGGED_ADDR_ENABLE).
Getting the status of the ABI or disabling it is still allowed.
Acked-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/mfd/ssbi.c')
0 files changed, 0 insertions, 0 deletions