Re: [PATCH 2/2] powerpc/sysfs: Disable writing to PURR in guest mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 01, 2014 at 02:09:58PM +0800, Yijing Wang wrote:
> From: Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> [Backported to 3.4: adjust context]
> Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx>
> ---
>  arch/powerpc/kernel/sysfs.c |   18 ++++++++++++++++--
>  1 files changed, 16 insertions(+), 2 deletions(-)

You forgot the git commit id here :(

It is d1211af3049f4c9c1d8d4eb8f8098cc4f4f0d0c7, right?

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]