/linux-master/include/linux/ |
H A D | seccomp.h | 26 extern int __secure_computing(const struct seccomp_data *sd); 49 struct seccomp_data; 53 static inline int __secure_computing(const struct seccomp_data *sd) { return 0; }
|
H A D | ptrace.h | 14 /* Add sp to seccomp_data, as seccomp is user API, we don't want to modify it */ 17 struct seccomp_data data;
|
H A D | filter.h | 34 struct seccomp_data;
|
/linux-master/include/uapi/linux/ |
H A D | seccomp.h | 54 * struct seccomp_data - the format the BPF program executes over. 62 struct seccomp_data { struct 72 __u16 seccomp_data; member in struct:seccomp_notif_sizes 79 struct seccomp_data data;
|
/linux-master/tools/include/uapi/linux/ |
H A D | seccomp.h | 54 * struct seccomp_data - the format the BPF program executes over. 62 struct seccomp_data { struct 72 __u16 seccomp_data; member in struct:seccomp_notif_sizes 79 struct seccomp_data data;
|
/linux-master/samples/seccomp/ |
H A D | dropper.c | 32 (offsetof(struct seccomp_data, arch))), 35 (offsetof(struct seccomp_data, nr))),
|
H A D | bpf-helper.h | 21 #include <linux/seccomp.h> /* for seccomp_data */ 66 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) 68 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) 90 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) 93 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) 261 offsetof(struct seccomp_data, nr))
|
H A D | bpf-direct.c | 31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 32 #define syscall_nr (offsetof(struct seccomp_data, nr))
|
H A D | user-trap.c | 94 offsetof(struct seccomp_data, nr)),
|
/linux-master/samples/bpf/ |
H A D | tracex5.bpf.c | 48 struct seccomp_data sd; 61 struct seccomp_data sd;
|
/linux-master/kernel/ |
H A D | seccomp.c | 75 const struct seccomp_data *data; 180 const struct seccomp_data *sd) 246 static void populate_seccomp_data(struct seccomp_data *sd) 292 if (k >= sizeof(struct seccomp_data) || k & 3) 297 ftest->k = sizeof(struct seccomp_data); 301 ftest->k = sizeof(struct seccomp_data); 367 * Returns true if the seccomp_data is cached and allowed. 370 const struct seccomp_data *sd) 406 static u32 seccomp_run_filters(const struct seccomp_data *sd, 730 struct seccomp_data *s [all...] |
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 169 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), 177 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])),
|
H A D | seccomp_bpf.c | 95 struct seccomp_data { struct 211 struct seccomp_data data; 224 __u16 seccomp_data; member in struct:seccomp_notif_sizes 291 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 293 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) 668 offsetof(struct seccomp_data, nr)), 696 offsetof(struct seccomp_data, nr)), 736 offsetof(struct seccomp_data, nr)), 809 offsetof(struct seccomp_data, nr)), 821 offsetof(struct seccomp_data, n [all...] |
/linux-master/tools/perf/bench/ |
H A D | sched-seccomp-notify.c | 53 offsetof(struct seccomp_data, nr)),
|
/linux-master/arch/mips/kernel/ |
H A D | ptrace.c | 1332 struct seccomp_data sd;
|