diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-12 14:08:17 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-09-19 11:00:08 +0300 |
commit | 46138329faeac3598f5a4dc991a174386b6de833 (patch) | |
tree | 9b93daa0f9430be4efde9c208c45fdb22c414653 /lib/cpu_rmap.c | |
parent | f04cf78bbfcd1fa5b1819613a5f354b228f36e03 (diff) | |
download | linux-46138329faeac3598f5a4dc991a174386b6de833.tar.xz |
selftests/seccomp: powerpc: Fix seccomp return value testing
On powerpc, the errno is not inverted, and depends on ccr.so being
set. Add this to a powerpc definition of SYSCALL_RET_SET().
Co-developed-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Link: https://lore.kernel.org/linux-kselftest/20200911181012.171027-1-cascardo@canonical.com/
Fixes: 5d83c2b37d43 ("selftests/seccomp: Add powerpc support")
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/lkml/20200912110820.597135-13-keescook@chromium.org
Reviewed-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions