summaryrefslogtreecommitdiff
path: root/fs/autofs/expire.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2020-10-15 20:13:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 11:11:22 -0700
commit589f6b52682542c1b230c435e1de679755f3332a (patch)
tree701c254c643a11e7f2f3dc2b252d4d0902d0cf36 /fs/autofs/expire.c
parent50b7d85680086126d7bd91dae81d57d4cb1ab6b7 (diff)
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>
Diffstat (limited to 'fs/autofs/expire.c')
0 files changed, 0 insertions, 0 deletions