projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873e5a7
)
selftests/seccomp: s390 shares the syscall and return value register
author
Sven Schnelle
<svens@linux.ibm.com>
Mon, 9 Mar 2020 15:56:53 +0000
(16:56 +0100)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Tue, 16 Jun 2020 11:44:04 +0000
(13:44 +0200)
s390 cannot set syscall number and reture code at the same time,
so set the appropriate flag to indicate it.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
tools/testing/selftests/seccomp/seccomp_bpf.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/seccomp/seccomp_bpf.c
b/tools/testing/selftests/seccomp/seccomp_bpf.c
index c0aa46ce14f6ce088b4c8b288b94aeeaf4e3fcac..252140a525531463cc2872a2ec3d7500fe06f4e8 100644
(file)
--- a/
tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/
tools/testing/selftests/seccomp/seccomp_bpf.c
@@
-1615,6
+1615,7
@@
TEST_F(TRACE_poke, getpid_runs_normally)
# define ARCH_REGS s390_regs
# define SYSCALL_NUM gprs[2]
# define SYSCALL_RET gprs[2]
+# define SYSCALL_NUM_RET_SHARE_REG
#elif defined(__mips__)
# define ARCH_REGS struct pt_regs
# define SYSCALL_NUM regs[2]