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 autofs: don't bother with atomics for ino->count 2019-09-17 23:31:27 -04:00
dev-ioctl.c autofs: harden ioctl table 2020-10-16 11:11:22 -07:00
expire.c Merge branch 'next.autofs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-12-05 17:11:48 -08:00
init.c
inode.c
Kconfig
Makefile
root.c autofs: don't bother with atomics for ino->count 2019-09-17 23:31:27 -04:00
symlink.c
waitq.c autofs: use __kernel_write() for the autofs pipe writing 2020-09-29 17:18:34 -07:00