diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-09 06:35:01 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-09 18:39:16 +0200 |
commit | fa94111d94354de76c47fea6e1187d1ee91e23a7 (patch) | |
tree | 3b93b7e0348374ee7ed537642e205a567a64ce5f /drivers/platform | |
parent | maccess: allow architectures to provide kernel probing directly (diff) | |
download | linux-fa94111d94354de76c47fea6e1187d1ee91e23a7.tar.xz linux-fa94111d94354de76c47fea6e1187d1ee91e23a7.zip |
x86: use non-set_fs based maccess routines
Provide arch_kernel_read and arch_kernel_write routines to implement the
maccess routines without messing with set_fs and without stac/clac that
opens up access to user space.
[akpm@linux-foundation.org: coding style fixes]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200521152301.2587579-20-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions