lkml.org 
[lkml]   [2019]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] riscv: reject invalid syscalls below -1
On Wed, 18 Dec 2019, David Abdurachmanov wrote:

> Running "stress-ng --enosys 4 -t 20 -v" showed a large number of kernel oops
> with "Unable to handle kernel paging request at virtual address" message. This
> happens when enosys stressor starts testing random non-valid syscalls.
>
> I forgot to redirect any syscall below -1 to sys_ni_syscall.
>
> With the patch kernel oops messages are gone while running stress-ng enosys
> stressor.
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
> Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER")

From the thread, I couldn't tell whether you were happy with this patch as
it stands or not; the thread seems to have petered out. So this one has
been queued for v5.5-rc; let me know if you didn't intend for that to
happen.


- Paul

\
 
 \ /
  Last update: 2019-12-28 07:04    [W:0.054 / U:3.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site