Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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()
179 struct seccomp_data sd_local; in seccomp_run_filters()
615 static u32 __seccomp_phase1_filter(int this_syscall, struct seccomp_data *sd) in __seccomp_phase1_filter()
689 u32 seccomp_phase1(struct seccomp_data *sd) in seccomp_phase1()
/linux-4.1.27/include/uapi/linux/
Dseccomp.h47 struct seccomp_data { struct
/linux-4.1.27/include/linux/
Dseccomp.h42 extern u32 seccomp_phase1(struct seccomp_data *sd);
Dfilter.h23 struct seccomp_data;
/linux-4.1.27/Documentation/prctl/
Dseccomp_filter.txt52 The BPF program will be executed over struct seccomp_data
/linux-4.1.27/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.1.27/arch/x86/kernel/
Dptrace.c1491 struct seccomp_data sd; in syscall_trace_enter_phase1()
/linux-4.1.27/arch/
DKconfig333 As an additional optimization, an arch may provide seccomp_data