Home
last modified time | relevance | path

Searched refs:seccomp_data (Results 1 – 16 of 16) sorted by relevance

/external/minijail/
Dbpf.h55 struct seccomp_data { struct
62 #define syscall_nr (offsetof(struct seccomp_data, nr)) argument
63 #define arch_nr (offsetof(struct seccomp_data, arch))
78 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
94 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
95 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
/external/openssh/
Dsandbox-seccomp-filter.c97 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
102 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
108 offsetof(struct seccomp_data, nr))
114 offsetof(struct seccomp_data, arch)),
119 offsetof(struct seccomp_data, nr)),
DChangeLog235 seccomp_data, but we were only inspecting the bottom 32 bits and not
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c76 struct seccomp_data { struct
84 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) argument
264 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
288 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
318 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
367 offsetof(struct seccomp_data, nr)), in TEST()
391 offsetof(struct seccomp_data, nr)), in TEST()
419 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
527 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
534 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
[all …]
Dresumption.c93 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
105 offsetof(struct seccomp_data, instruction_pointer)), in FIXTURE_SETUP()
109 offsetof(struct seccomp_data, instruction_pointer)+sizeof(int)), in FIXTURE_SETUP()
Dsigsegv.c69 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
/external/strace/tests-m32/
Dprctl-seccomp-filter-v.c78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
109 (unsigned) offsetof(struct seccomp_data, nr)); in main()
Dseccomp-filter-v.c79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
188 (unsigned) offsetof(struct seccomp_data, nr)); in main()
/external/strace/tests/
Dprctl-seccomp-filter-v.c78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
109 (unsigned) offsetof(struct seccomp_data, nr)); in main()
Dseccomp-filter-v.c79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
188 (unsigned) offsetof(struct seccomp_data, nr)); in main()
/external/strace/tests-mx32/
Dprctl-seccomp-filter-v.c78 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
109 (unsigned) offsetof(struct seccomp_data, nr)); in main()
Dseccomp-filter-v.c79 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
188 (unsigned) offsetof(struct seccomp_data, nr)); in main()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c82 struct seccomp_data { struct
91 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) argument
93 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))
410 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
438 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
478 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
548 offsetof(struct seccomp_data, nr)), in TEST()
575 offsetof(struct seccomp_data, nr)), in TEST()
602 offsetof(struct seccomp_data, nr)), in TEST()
633 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
[all …]
/external/seccomp-tests/linux/
Dseccomp_bpf.c82 struct seccomp_data { struct
91 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) argument
93 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))
410 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
438 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
478 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
548 offsetof(struct seccomp_data, nr)), in TEST()
575 offsetof(struct seccomp_data, nr)), in TEST()
602 offsetof(struct seccomp_data, nr)), in TEST()
633 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
[all …]
/external/kernel-headers/original/uapi/linux/
Dseccomp.h47 struct seccomp_data { struct
/external/compiler-rt/test/asan/TestCases/Linux/
Dread_binary_name_regtest.c21 #define syscall_nr (offsetof(struct seccomp_data, nr))