kernel_optimize_test/fs/autofs
Matthew Wilcox 589f6b5268 autofs: harden ioctl table
The table of ioctl functions should be marked const in order to put them
in read-only memory, and we should use array_index_nospec() to avoid
speculation disclosing the contents of kernel memory to userspace.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Ian Kent <raven@themaw.net>
Link: https://lkml.kernel.org/r/20200818122203.GO17456@casper.infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-16 11:11:22 -07:00
..
autofs_i.h
dev-ioctl.c autofs: harden ioctl table 2020-10-16 11:11:22 -07:00
expire.c
init.c
inode.c
Kconfig
Makefile
root.c
symlink.c
waitq.c autofs: use __kernel_write() for the autofs pipe writing 2020-09-29 17:18:34 -07:00