Searched refs:seccomp_data (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/include/linux/ |
D | seccomp.h | 34 extern int __secure_computing(const struct seccomp_data *sd); 35 static inline int secure_computing(const struct seccomp_data *sd) in secure_computing() 61 static inline int secure_computing(struct seccomp_data *sd) { return 0; } in secure_computing()
|
D | filter.h | 31 struct seccomp_data;
|
/Linux-v4.19/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 | 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))
|
D | bpf-direct.c | 31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 32 #define syscall_nr (offsetof(struct seccomp_data, nr))
|
/Linux-v4.19/samples/bpf/ |
D | tracex5_kern.c | 47 struct seccomp_data sd; in PROG() 60 struct seccomp_data sd; in PROG()
|
/Linux-v4.19/kernel/ |
D | seccomp.c | 78 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data() 120 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter() 125 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 129 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 188 static u32 seccomp_run_filters(const struct seccomp_data *sd, in seccomp_run_filters() 191 struct seccomp_data sd_local; in seccomp_run_filters() 655 static int __seccomp_filter(int this_syscall, const struct seccomp_data *sd, in __seccomp_filter() 771 static int __seccomp_filter(int this_syscall, const struct seccomp_data *sd, in __seccomp_filter() 778 int __secure_computing(const struct seccomp_data *sd) in __secure_computing()
|
/Linux-v4.19/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 80 struct seccomp_data { struct 166 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 168 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) 507 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 535 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 575 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 641 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 652 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 755 offsetof(struct seccomp_data, nr)), \ 862 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP() [all …]
|
/Linux-v4.19/include/uapi/linux/ |
D | seccomp.h | 56 struct seccomp_data { struct
|
/Linux-v4.19/arch/x86/entry/ |
D | common.c | 96 struct seccomp_data sd; in syscall_trace_enter()
|
/Linux-v4.19/Documentation/userspace-api/ |
D | seccomp_filter.rst | 53 The BPF program will be executed over struct seccomp_data
|
/Linux-v4.19/arch/mips/kernel/ |
D | ptrace.c | 1271 struct seccomp_data sd; in syscall_trace_enter()
|
/Linux-v4.19/Documentation/networking/ |
D | filter.txt | 327 ld [4] /* offsetof(struct seccomp_data, arch) */ 329 ld [0] /* offsetof(struct seccomp_data, nr) */ 811 to seccomp_data, for converted BPF filters R1 points to a skb.
|