summaryrefslogtreecommitdiff
path: root/fs/nilfs2/bmap.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2020-10-16 06:13:08 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 21:11:22 +0300
commit589f6b52682542c1b230c435e1de679755f3332a (patch)
tree701c254c643a11e7f2f3dc2b252d4d0902d0cf36 /fs/nilfs2/bmap.c
parent50b7d85680086126d7bd91dae81d57d4cb1ab6b7 (diff)
downloadlinux-589f6b52682542c1b230c435e1de679755f3332a.tar.xz
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/nilfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions