diff options
author | Helge Deller <deller@gmx.de> | 2016-03-30 14:14:31 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-03-31 12:28:38 +0200 |
commit | 910cd32e552ea09caa89cdbe328e468979b030dd (patch) | |
tree | 02cc8c1d9d0202d76f988ae242ccbc328a8e43cd /fs/crypto | |
parent | parisc: Fix SIGSYS signals in compat case (diff) | |
download | linux-910cd32e552ea09caa89cdbe328e468979b030dd.tar.xz linux-910cd32e552ea09caa89cdbe328e468979b030dd.zip |
parisc: Fix and enable seccomp filter support
The seccomp filter support requires careful handling of task registers. This
includes reloading of the return value (%r28) and proper syscall exit if
secure_computing() returned -1.
Additionally we need to sign-extend the syscall number from signed 32bit to
signed 64bit in do_syscall_trace_enter() since the ptrace interface only allows
storing 32bit values in compat mode.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v4.5
Diffstat (limited to 'fs/crypto')
0 files changed, 0 insertions, 0 deletions