| /linux-6.15/Documentation/translations/zh_CN/userspace-api/ |
| H A D | seccomp_filter.rst | 50 BPF程序将在反应系统调用号、参数和其他元数据的seccomp_data结构体之上执行。 178 __u16 seccomp_data; 185 struct seccomp_data data; 196 ``struct seccomp_data`` 的大小可能未来会改变,所以需要使用下面的代码: 229 值得注意的是, ``struct seccomp_data`` 包含了系统调用寄存器参数的值,但是不包含指向
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | seccomp.h | 62 struct seccomp_data { struct 72 __u16 seccomp_data; member 79 struct seccomp_data data;
|
| /linux-6.15/include/uapi/linux/ |
| H A D | seccomp.h | 62 struct seccomp_data { struct 72 __u16 seccomp_data; argument 79 struct seccomp_data data;
|
| /linux-6.15/samples/seccomp/ |
| H A 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))
|
| H A D | dropper.c | 32 (offsetof(struct seccomp_data, arch))), in install_filter() 35 (offsetof(struct seccomp_data, nr))), in install_filter()
|
| 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)), in user_trap_syscall()
|
| /linux-6.15/samples/bpf/ |
| H A D | tracex5.bpf.c | 48 struct seccomp_data sd; in PROG() 61 struct seccomp_data sd; in PROG()
|
| /linux-6.15/kernel/ |
| H A D | seccomp.c | 73 const struct seccomp_data *data; 178 const struct seccomp_data *sd) in seccomp_cache_check_allow() 295 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 299 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 368 const struct seccomp_data *sd) in seccomp_cache_check_allow() 751 struct seccomp_data *sd) in seccomp_is_const_allow() 777 case offsetof(struct seccomp_data, nr): in seccomp_is_const_allow() 837 struct seccomp_data sd; in seccomp_cache_prepare_bitmap() 1147 const struct seccomp_data *sd) in seccomp_do_user_notification() 1246 struct seccomp_data sd; in __seccomp_filter() [all …]
|
| /linux-6.15/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 102 struct seccomp_data { struct 224 struct seccomp_data data; 237 __u16 seccomp_data; member 681 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 709 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 749 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 822 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 834 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 1067 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP() 1186 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP() [all …]
|
| H A D | seccomp_benchmark.c | 169 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in main() 177 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])), in main()
|
| /linux-6.15/include/linux/ |
| H A D | seccomp.h | 50 struct seccomp_data;
|
| H A D | ptrace.h | 17 struct seccomp_data data;
|
| H A D | filter.h | 34 struct seccomp_data;
|
| /linux-6.15/tools/perf/bench/ |
| H A D | sched-seccomp-notify.c | 53 offsetof(struct seccomp_data, nr)), in user_notif_syscall()
|
| /linux-6.15/Documentation/userspace-api/ |
| H A 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-6.15/Documentation/networking/ |
| H A D | filter.rst | 345 ld [4] /* offsetof(struct seccomp_data, arch) */ 347 ld [0] /* offsetof(struct seccomp_data, nr) */
|
| /linux-6.15/Documentation/bpf/ |
| H A D | classic_vs_extended.rst | 208 to seccomp_data, for converted BPF filters R1 points to a skb.
|