summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>2019-12-18 11:47:56 +0300
committerPaul Walmsley <paul.walmsley@sifive.com>2019-12-28 08:50:57 +0300
commit556f47ac6083d778843e89aa21b1242eee2693ed (patch)
tree7d15925f22c0625e9fd3e0c60f74c0e812f519ab /scripts/bpf_helpers_doc.py
parent4d47ce158efb7b145c680e79cd33e3c6fd773de4 (diff)
downloadlinux-556f47ac6083d778843e89aa21b1242eee2693ed.tar.xz
riscv: reject invalid syscalls below -1
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") Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions