Re: [PATCH] ARC: Send SIGSEGV if userspace process accesses kernel virtual memory

2019-05-13 Thread Vineet Gupta
On 5/13/19 7:41 AM, Eugeniy Paltsev wrote: > As of today if userspace process tries to access address which belongs > to kernel virtual memory area and kernel have mapping for this address > that process hangs instead of receiving SIGSEGV and being killed. > > Steps to reproduce: > Create userspace

[PATCH] ARC: Send SIGSEGV if userspace process accesses kernel virtual memory

2019-05-13 Thread Eugeniy Paltsev
As of today if userspace process tries to access address which belongs to kernel virtual memory area and kernel have mapping for this address that process hangs instead of receiving SIGSEGV and being killed. Steps to reproduce: Create userspace application which reads from the beginning of kernel-