Home
last modified time | relevance | path

Searched refs:seccomp (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/os/jni/seccomp-tests/
DREADME.android1 This is the kernel unittest for seccomp-bpf sandboxing.
3 URL: https://github.com/redpig/seccomp
DREADME1 seccomp
/cts/tests/tests/os/jni/
DAndroid.mk56 LOCAL_SRC_FILES += seccomp-tests/tests/seccomp_bpf_tests.c \
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c1275 #ifndef seccomp
1276 int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter) in seccomp() function
1297 ret = seccomp(-1, 0, &prog); in TEST()
1303 ret = seccomp(SECCOMP_SET_MODE_STRICT, -1, NULL); in TEST()
1307 ret = seccomp(SECCOMP_SET_MODE_STRICT, 0, &prog); in TEST()
1313 ret = seccomp(SECCOMP_SET_MODE_FILTER, -1, &prog); in TEST()
1317 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, NULL); in TEST()
1322 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog); in TEST()
1342 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog); in TEST()
1353 ret = seccomp(SECCOMP_SET_MODE_STRICT, 0, NULL); in TEST()
[all …]