Home
last modified time | relevance | path

Searched refs:seccomp_data (Results 1 – 18 of 18) sorted by relevance

/linux/Documentation/translations/zh_CN/userspace-api/
H A Dseccomp_filter.rst50 BPF程序将在反应系统调用号、参数和其他元数据的seccomp_data结构体之上执行。
178 __u16 seccomp_data;
185 struct seccomp_data data;
196 ``struct seccomp_data`` 的大小可能未来会改变,所以需要使用下面的代码:
229 值得注意的是, ``struct seccomp_data`` 包含了系统调用寄存器参数的值,但是不包含指向
/linux/tools/include/uapi/linux/
H A Dseccomp.h62 struct seccomp_data { struct
72 __u16 seccomp_data; argument
79 struct seccomp_data data;
/linux/include/uapi/linux/
H A Dseccomp.h62 struct seccomp_data { struct
72 __u16 seccomp_data; member
79 struct seccomp_data data;
/linux/arch/um/kernel/skas/
H A Dstub_exe.c137 (offsetof(struct seccomp_data, instruction_pointer) + 4)), in real_init()
144 (offsetof(struct seccomp_data, instruction_pointer))), in real_init()
157 offsetof(struct seccomp_data, arch)), in real_init()
166 offsetof(struct seccomp_data, nr)), in real_init()
/linux/samples/seccomp/
H A Dbpf-helper.h66 #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 Ddropper.c32 (offsetof(struct seccomp_data, arch))), in install_filter()
35 (offsetof(struct seccomp_data, nr))), in install_filter()
H A Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
32 #define syscall_nr (offsetof(struct seccomp_data, nr))
H A Duser-trap.c94 offsetof(struct seccomp_data, nr)), in user_trap_syscall()
/linux/kernel/
H A Dseccomp.c73 const struct seccomp_data *data;
178 const struct seccomp_data *sd) in seccomp_cache_check_allow()
244 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data()
290 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter()
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()
404 static u32 seccomp_run_filters(const struct seccomp_data *sd, in seccomp_run_filters()
744 static bool seccomp_uprobe_exception(struct seccomp_data *sd) in seccomp_uprobe_exception()
771 struct seccomp_data *sd) in seccomp_is_const_allow()
[all …]
/linux/samples/bpf/
H A Dtracex5.bpf.c48 struct seccomp_data sd; in PROG()
61 struct seccomp_data sd; in PROG()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c111 struct seccomp_data { struct
233 struct seccomp_data data;
246 __u16 seccomp_data; member
313 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
315 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))
690 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
718 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
758 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
831 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
843 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
[all …]
H A Dseccomp_benchmark.c169 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/tools/perf/bench/
H A Dsched-seccomp-notify.c53 offsetof(struct seccomp_data, nr)), in user_notif_syscall()
/linux/Documentation/userspace-api/
H A Dseccomp_filter.rst53 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/include/linux/
H A Dptrace.h17 struct seccomp_data data;
/linux/arch/um/os-Linux/
H A Dstart_up.c258 offsetof(struct seccomp_data, nr)), in seccomp_helper()
/linux/Documentation/networking/
H A Dfilter.rst345 ld [4] /* offsetof(struct seccomp_data, arch) */
347 ld [0] /* offsetof(struct seccomp_data, nr) */
/linux/Documentation/bpf/
H A Dclassic_vs_extended.rst208 to seccomp_data, for converted BPF filters R1 points to a skb.