projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c045d0
)
selftest/seccomp: Fix the seccomp(2) signature
author
Mickaël Salaün
<
[email protected]
>
Tue, 29 Mar 2016 18:51:49 +0000
(20:51 +0200)
committer
Shuah Khan
<
[email protected]
>
Tue, 29 Mar 2016 19:01:36 +0000
(13:01 -0600)
Signed-off-by: Mickaël Salaün <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Kees Cook <
[email protected]
>
Cc: Shuah Khan <
[email protected]
>
Cc: Will Drewry <
[email protected]
>
Acked-by: Kees Cook <
[email protected]
>
Signed-off-by: Shuah Khan <
[email protected]
>
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 9c1460f277c296f3578144c0240dee6127e88425..150829dd799876dc11a64bddff1760efb4a13066 100644
(file)
--- a/
tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/
tools/testing/selftests/seccomp/seccomp_bpf.c
@@
-1502,10
+1502,10
@@
TEST_F(TRACE_syscall, syscall_dropped)
#endif
#ifndef seccomp
-int seccomp(unsigned int op, unsigned int flags,
struct sock_fprog *filter
)
+int seccomp(unsigned int op, unsigned int flags,
void *args
)
{
errno = 0;
- return syscall(__NR_seccomp, op, flags,
filter
);
+ return syscall(__NR_seccomp, op, flags,
args
);
}
#endif