summaryrefslogtreecommitdiffstats
path: root/arch/metag
diff options
context:
space:
mode:
authorMarkos Chandras2015-09-25 09:17:42 +0200
committerRalf Baechle2015-10-04 12:10:56 +0200
commitd218af78492a36a4ae607c08fedfb59258440314 (patch)
treefb9a1d1c08161c39c6f8b8db04b0cc116959718b /arch/metag
parentMIPS: Octeon: Fix kernel panic on startup from memory corruption (diff)
downloadkernel-qcow2-linux-d218af78492a36a4ae607c08fedfb59258440314.tar.gz
kernel-qcow2-linux-d218af78492a36a4ae607c08fedfb59258440314.tar.xz
kernel-qcow2-linux-d218af78492a36a4ae607c08fedfb59258440314.zip
MIPS: scall: Always run the seccomp syscall filters
The MIPS syscall handler code used to return -ENOSYS on invalid syscalls. Whilst this is expected, it caused problems for seccomp filters because the said filters never had the change to run since the code returned -ENOSYS before triggering them. This caused problems on the chromium testsuite for filters looking for invalid syscalls. This has now changed and the seccomp filters are always run even if the syscall is invalid. We return -ENOSYS once we return from the seccomp filters. Moreover, similar codepaths have been merged in the process which simplifies somewhat the overall syscall code. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11236/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/metag')
0 files changed, 0 insertions, 0 deletions