Searched refs:seccomp_data (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/samples/bpf/ |
D | tracex5_kern.c | 25 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/ |
D | dropper.c | 32 (offsetof(struct seccomp_data, arch))), in install_filter() 35 (offsetof(struct seccomp_data, nr))), in install_filter()
|
D | bpf-helper.h | 65 #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))
|
D | bpf-direct.c | 30 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 31 #define syscall_nr (offsetof(struct seccomp_data, nr))
|
/linux-4.4.14/kernel/ |
D | seccomp.c | 70 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/ |
D | seccomp_bpf.c | 82 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/ |
D | seccomp.h | 47 struct seccomp_data { struct
|
/linux-4.4.14/include/linux/ |
D | seccomp.h | 42 extern u32 seccomp_phase1(struct seccomp_data *sd);
|
D | filter.h | 25 struct seccomp_data;
|
/linux-4.4.14/arch/x86/entry/ |
D | common.c | 105 struct seccomp_data sd; in syscall_trace_enter_phase1()
|
/linux-4.4.14/Documentation/prctl/ |
D | seccomp_filter.txt | 52 The BPF program will be executed over struct seccomp_data
|
/linux-4.4.14/Documentation/networking/ |
D | filter.txt | 327 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/ |
D | Kconfig | 345 As an additional optimization, an arch may provide seccomp_data
|