Re: [PATCH v2] MIPS: kernel: scall: Always run the seccomp syscall filters

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

 



On Fri, Sep 25, 2015 at 08:17:42AM +0100, Markos Chandras wrote:
> 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 codepath have
> been merged in the process which simplifies somewhat the overall
> syscall code.
> 
> Signed-off-by: Markos Chandras <markos.chandras@xxxxxxxxxx>
> ---
Ralf,

I didn't add CC: stable 3.15+ on this patch. Feel free to add it yourself if you
think this patch is useful for stable releases.

-- 
markos




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux