diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-09-11 23:23:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:58:11 +0200 |
commit | 2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c (patch) | |
tree | 5c930f08e146de5969f34cb98e605d8394366f70 /mm/mmu_context.c | |
parent | mm/hwpoison.c: fix held reference count after unpoisoning empty zero page (diff) | |
download | linux-2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c.tar.xz linux-2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c.zip |
mm/hwpoison-inject.c: change permission of corrupt-pfn/unpoison-pfn to 0200
Hwpoison injection doesn't implement read method for
corrupt-pfn/unpoison-pfn attributes:
# cat /sys/kernel/debug/hwpoison/corrupt-pfn
cat: /sys/kernel/debug/hwpoison/corrupt-pfn: Permission denied
# cat /sys/kernel/debug/hwpoison/unpoison-pfn
cat: /sys/kernel/debug/hwpoison/unpoison-pfn: Permission denied
This patch changes the permission of corrupt-pfn/unpoison-pfn to 0200.
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions