commit | d1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7 | [log] [tgz] |
---|---|---|
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | Wed Oct 02 00:34:10 2013 +0530 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Oct 03 17:22:53 2013 +1000 |
tree | e7dedb4f171f28b2a07f4fc759a5a7de6fc1d1e1 | |
parent | 8f21bd0090052e740944f9397e2be5ac7957ded7 [diff] |
powerpc/sysfs: Disable writing to PURR in guest mode arch/powerpc/kernel/sysfs.c exports PURR with write permission. This may be valid for kernel in phyp mode. But writing to the file in guest mode causes crash due to a priviledge violation Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: <stable@vger.kernel.org>