Searched refs:seccomp_data (Results 1 – 16 of 16) sorted by relevance
/linux-5.19.10/include/uapi/linux/ |
D | seccomp.h | 62 struct seccomp_data { struct 72 __u16 seccomp_data; argument 79 struct seccomp_data data;
|
/linux-5.19.10/include/linux/ |
D | seccomp.h | 43 extern int __secure_computing(const struct seccomp_data *sd); 68 struct seccomp_data; 72 static inline int __secure_computing(const struct seccomp_data *sd) { return 0; } in __secure_computing()
|
D | ptrace.h | 17 struct seccomp_data data;
|
D | filter.h | 33 struct seccomp_data;
|
/linux-5.19.10/samples/seccomp/ |
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 | dropper.c | 32 (offsetof(struct seccomp_data, arch))), in install_filter() 35 (offsetof(struct seccomp_data, nr))), in install_filter()
|
D | bpf-direct.c | 31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 32 #define syscall_nr (offsetof(struct seccomp_data, nr))
|
D | user-trap.c | 90 offsetof(struct seccomp_data, nr)), in user_trap_syscall()
|
/linux-5.19.10/kernel/ |
D | seccomp.c | 75 const struct seccomp_data *data; 175 const struct seccomp_data *sd) in seccomp_cache_check_allow() 241 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data() 287 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter() 292 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 296 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 365 const struct seccomp_data *sd) in seccomp_cache_check_allow() 401 static u32 seccomp_run_filters(const struct seccomp_data *sd, in seccomp_run_filters() 721 struct seccomp_data *sd) in seccomp_is_const_allow() 738 case offsetof(struct seccomp_data, nr): in seccomp_is_const_allow() [all …]
|
/linux-5.19.10/samples/bpf/ |
D | tracex5_kern.c | 48 struct seccomp_data sd; in PROG() 61 struct seccomp_data sd; in PROG()
|
/linux-5.19.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 95 struct seccomp_data { struct 207 struct seccomp_data data; 220 __u16 seccomp_data; member 287 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 289 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) 662 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 690 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 730 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 803 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 815 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() [all …]
|
D | seccomp_benchmark.c | 125 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in main() 133 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])), in main()
|
/linux-5.19.10/Documentation/userspace-api/ |
D | seccomp_filter.rst | 53 The BPF program will be executed over struct seccomp_data 220 __u16 seccomp_data; 227 struct seccomp_data data; 239 seccomp_data`` may change in the future, so code should use: 284 It is worth noting that ``struct seccomp_data`` contains the values of register
|
/linux-5.19.10/Documentation/networking/ |
D | filter.rst | 345 ld [4] /* offsetof(struct seccomp_data, arch) */ 347 ld [0] /* offsetof(struct seccomp_data, nr) */
|
/linux-5.19.10/arch/mips/kernel/ |
D | ptrace.c | 1327 struct seccomp_data sd; in syscall_trace_enter()
|
/linux-5.19.10/Documentation/bpf/ |
D | classic_vs_extended.rst | 208 to seccomp_data, for converted BPF filters R1 points to a skb.
|