aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2016-07-01 14:58:21 +0100
committerCatalin Marinas <[email protected]>2016-11-21 17:33:47 +0000
commitbd38967d406fb4f9fca67d612db71b5d74cfb0f5 (patch)
treefbcc9bd2e2f70c40387fe166de6f4e874c0d0bdb /net/lapb
parenta8ada146f5179793bbaff3c936d73147ccd47ba2 (diff)
arm64: Factor out PAN enabling/disabling into separate uaccess_* macros
This patch moves the directly coded alternatives for turning PAN on/off into separate uaccess_{enable,disable} macros or functions. The asm macros take a few arguments which will be used in subsequent patches. Note that any (unlikely) access that the compiler might generate between uaccess_enable() and uaccess_disable(), other than those explicitly specified by the user access code, will not be protected by PAN. Cc: Will Deacon <[email protected]> Cc: James Morse <[email protected]> Cc: Kees Cook <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions