Re: [PATCH] sparc64: fix for user probes in high memory

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

 



From: Eric Saint Etienne <eric.saint.etienne@xxxxxxxxxx>
Date: Mon, 6 Feb 2017 14:32:41 +0000

> When returning from the user probe code into userspace process, PC &
> NPC are
> truncated to 32 bits.
> 
> Due to shared libraries getting loaded very high in the virtual
> address space of
> the process, placing a user probe inside a shared library makes the
> kernel
> return into the process at the wrong address, causing it to seg'fault
> most of
> the time.
> 
> This patch prevents truncating PC and NPC.
> 
> Signed-off-by: Eric Saint Etienne <eric.saint.etienne@xxxxxxxxxx>
> Reviewed-by: David Aldridge <david.j.aldridge@xxxxxxxxxx>

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



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux