summaryrefslogtreecommitdiffstats
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-11-30 13:12:59 +0100
committerIngo Molnar <mingo@kernel.org>2015-12-04 12:55:01 +0100
commit071ac0c4e8e90d5de05f0779b03ae69ce84820d5 (patch)
treeec373fdc402a7b62499211b927f217808e25f771 /mm/nobootmem.c
parentx86/mm/mtrr: Mark the 'range_new' static variable in mtrr_calc_range_state() ... (diff)
downloadlinux-071ac0c4e8e90d5de05f0779b03ae69ce84820d5.tar.xz
linux-071ac0c4e8e90d5de05f0779b03ae69ce84820d5.zip
x86/mm/ptdump: Make (debugfs)/kernel_page_tables read-only
File should be created with S_IRUSR and not with S_IWUSR too because writing to it doesn't make any sense. I mean, we don't have a ->write method anyway but let's have the permissions correct too. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1448885579-32506-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions