Home
last modified time | relevance | path

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

/linux-4.4.14/samples/bpf/
Dtracex5_kern.c25 struct seccomp_data sd = {}; in bpf_prog1()
43 struct seccomp_data sd = {}; in PROG()
56 struct seccomp_data sd = {}; in PROG()
/linux-4.4.14/samples/seccomp/
Ddropper.c32 (offsetof(struct seccomp_data, arch))), in install_filter()
35 (offsetof(struct seccomp_data, nr))), in install_filter()
Dbpf-helper.h65 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
67 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
89 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
92 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
241 offsetof(struct seccomp_data, nr))
Dbpf-direct.c30 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
31 #define syscall_nr (offsetof(struct seccomp_data, nr))
/linux-4.4.14/kernel/
Dseccomp.c70 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data()
112 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter()
117 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
121 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
176 static u32 seccomp_run_filters(struct seccomp_data *sd) in seccomp_run_filters()
178 struct seccomp_data sd_local; in seccomp_run_filters()
577 static u32 __seccomp_phase1_filter(int this_syscall, struct seccomp_data *sd) in __seccomp_phase1_filter()
651 u32 seccomp_phase1(struct seccomp_data *sd) in seccomp_phase1()
/linux-4.4.14/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 …]
/linux-4.4.14/include/uapi/linux/
Dseccomp.h47 struct seccomp_data { struct
/linux-4.4.14/include/linux/
Dseccomp.h42 extern u32 seccomp_phase1(struct seccomp_data *sd);
Dfilter.h25 struct seccomp_data;
/linux-4.4.14/arch/x86/entry/
Dcommon.c105 struct seccomp_data sd; in syscall_trace_enter_phase1()
/linux-4.4.14/Documentation/prctl/
Dseccomp_filter.txt52 The BPF program will be executed over struct seccomp_data
/linux-4.4.14/Documentation/networking/
Dfilter.txt327 ld [4] /* offsetof(struct seccomp_data, arch) */
329 ld [0] /* offsetof(struct seccomp_data, nr) */
806 to seccomp_data, for converted BPF filters R1 points to a skb.
/linux-4.4.14/arch/
DKconfig345 As an additional optimization, an arch may provide seccomp_data