diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-09-11 14:23:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:58:11 -0700 |
commit | 2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c (patch) | |
tree | 5c930f08e146de5969f34cb98e605d8394366f70 /mm/memory-failure.c | |
parent | 29b4eedee67b449534214058e1bcb36307a7f1dc (diff) | |
download | linux-2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c.tar.gz linux-2d1e8b3f1acc36101dbe6c5fc14e88e3f6af0b1c.tar.bz2 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/memory-failure.c')
0 files changed, 0 insertions, 0 deletions