summaryrefslogtreecommitdiff
path: root/security/safesetid/lsm.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-16 09:04:04 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-09-24 13:35:07 +0200
commit8ade83390930d61c64fe3ab49081990c9d43d0d2 (patch)
tree79287dcc9fee81f455ed8636d1f13f3bb45770c3 /security/safesetid/lsm.h
parent01eec1af5ec49b331948ace8f2287580e1594383 (diff)
m68k: Provide __{get,put}_kernel_nofault
Allow non-faulting access to kernel addresses without overriding the address space. Implemented by passing the instruction name to the low-level assembly macros as an argument, and force the use of the normal move instructions for kernel access. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Michael Schmitz <schmitzmic@gmail.com> Tested-by: Michael Schmitz <schmitzmic@gmail.com> Link: https://lore.kernel.org/r/20210916070405.52750-6-hch@lst.de Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'security/safesetid/lsm.h')
0 files changed, 0 insertions, 0 deletions