| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | seccomp.h | 42 extern int __secure_computing(const struct seccomp_data *sd); 67 struct seccomp_data; 71 static inline int __secure_computing(const struct seccomp_data *sd) { return 0; } in __secure_computing()
|
| H A D | ptrace.h | 17 struct seccomp_data data;
|
| H A D | filter.h | 34 struct seccomp_data;
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | seccomp.h | 60 struct seccomp_data { struct 70 __u16 seccomp_data; argument 77 struct seccomp_data data;
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | seccomp.c | 73 const struct seccomp_data *data; 168 const struct seccomp_data *sd) in seccomp_cache_check_allow() 231 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data() 277 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter() 282 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 286 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter() 355 const struct seccomp_data *sd) in seccomp_cache_check_allow() 391 static u32 seccomp_run_filters(const struct seccomp_data *sd, in seccomp_run_filters() 708 struct seccomp_data *sd) in seccomp_is_const_allow() 725 case offsetof(struct seccomp_data, nr): in seccomp_is_const_allow() [all …]
|
| /OK3568_Linux_fs/kernel/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 | 90 offsetof(struct seccomp_data, nr)), in user_trap_syscall()
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | tracex5_kern.c | 48 struct seccomp_data sd; in PROG() 61 struct seccomp_data sd; in PROG()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 92 struct seccomp_data { struct 204 struct seccomp_data data; 217 __u16 seccomp_data; member 276 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) 278 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) 651 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 679 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 719 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL() 792 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() 804 offsetof(struct seccomp_data, nr)), in kill_thread_or_group() [all …]
|
| H A 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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | seccomp.h | 56 struct seccomp_data { struct
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | seccomp.h | 56 struct seccomp_data { struct
|
| /OK3568_Linux_fs/kernel/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: 262 It is worth noting that ``struct seccomp_data`` contains the values of register
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | ptrace.c | 1328 struct seccomp_data sd; in syscall_trace_enter()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | filter.rst | 345 ld [4] /* offsetof(struct seccomp_data, arch) */ 347 ld [0] /* offsetof(struct seccomp_data, nr) */ 849 to seccomp_data, for converted BPF filters R1 points to a skb.
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | ptrace.c | 889 struct seccomp_data sd; in do_syscall_trace_enter()
|