Home
last modified time | relevance | path

Searched refs:seccomp (Results 1 - 25 of 107) sorted by relevance

12345

/kernel/linux/linux-5.10/include/linux/
H A Dseccomp.h5 #include <uapi/linux/seccomp.h>
21 #include <asm/seccomp.h>
25 * struct seccomp - the state of a seccomp'ed process
29 * @filter: must always point to a valid seccomp-filter or NULL as it is
35 struct seccomp { struct
56 static inline int seccomp_mode(struct seccomp *s) in seccomp_mode()
65 struct seccomp { }; struct
86 static inline int seccomp_mode(struct seccomp *s) in seccomp_mode()
/kernel/linux/linux-6.6/include/linux/
H A Dseccomp.h5 #include <uapi/linux/seccomp.h>
22 #include <asm/seccomp.h>
26 * struct seccomp - the state of a seccomp'ed process
30 * @filter_count: number of seccomp filters
31 * @filter: must always point to a valid seccomp-filter or NULL as it is
37 struct seccomp { struct
58 static inline int seccomp_mode(struct seccomp *s) in seccomp_mode()
67 struct seccomp { }; struct
88 static inline int seccomp_mode(struct seccomp *
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dseccomp.c3 * linux/kernel/seccomp.c
16 #define pr_fmt(fmt) "seccomp: " fmt
27 #include <linux/seccomp.h>
69 * The seccomp data. This pointer is valid the entire time this
92 * dying, a new seccomp addfd message, or changing to REPLIED
129 * struct notification - container for seccomp userspace notifications. Since
130 * most seccomp filters will not have notification listeners attached and this
147 * struct seccomp_filter - container for seccomp BPF programs
171 * with current->seccomp.filter, the most recently attached or inherited filter.
220 * seccomp_check_filter - verify seccomp filte
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dseccomp.c3 * linux/kernel/seccomp.c
16 #define pr_fmt(fmt) "seccomp: " fmt
27 #include <linux/seccomp.h>
71 * The seccomp data. This pointer is valid the entire time this
94 * dying, a new seccomp addfd message, or changing to REPLIED
138 * struct notification - container for seccomp userspace notifications. Since
139 * most seccomp filters will not have notification listeners attached and this
160 * struct action_cache - per-filter cache of seccomp actions per
191 * struct seccomp_filter - container for seccomp BPF programs
218 * with current->seccomp
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c5 * Test code for seccomp bpf.
30 #include <linux/seccomp.h>
141 # warning "seccomp syscall number unknown for this architecture"
196 /* Flags for seccomp notification fd ioctl. */
269 #ifndef seccomp
270 int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() function
766 /* This is a thread task to die via seccomp filter violation. */
820 ASSERT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, 0, in kill_thread_or_group()
829 ASSERT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog_thread)); in kill_thread_or_group()
981 * 580c57f10768 ("seccomp
[all...]
/kernel/linux/linux-6.6/tools/perf/bench/
H A Dsched-seccomp-notify.c12 #include <uapi/linux/seccomp.h>
35 "Enable the synchronious mode for seccomp notifications"),
44 static int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() function
64 return seccomp(SECCOMP_SET_MODE_FILTER, flags, &prog); in user_notif_syscall()
/kernel/linux/linux-5.10/samples/seccomp/
H A Duser-trap.c22 #include <linux/seccomp.h>
26 static int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() function
101 return seccomp(SECCOMP_SET_MODE_FILTER, flags, &prog); in user_trap_syscall()
221 perror("seccomp"); in main()
293 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main()
294 perror("seccomp(GET_NOTIF_SIZES)"); in main()
/kernel/linux/linux-6.6/samples/seccomp/
H A Duser-trap.c22 #include <linux/seccomp.h>
26 static int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() function
101 return seccomp(SECCOMP_SET_MODE_FILTER, flags, &prog); in user_trap_syscall()
221 perror("seccomp"); in main()
293 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main()
294 perror("seccomp(GET_NOTIF_SIZES)"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c5 * Test code for seccomp bpf.
30 #include <linux/seccomp.h>
146 # warning "seccomp syscall number unknown for this architecture"
201 /* Flags for seccomp notification fd ioctl. */
282 #ifndef seccomp
283 int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() function
781 /* This is a thread task to die via seccomp filter violation. */
835 ASSERT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, 0, in kill_thread_or_group()
844 ASSERT_EQ(0, seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog_thread)); in kill_thread_or_group()
996 * 580c57f10768 ("seccomp
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dseccomp.h8 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dseccomp.h9 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dseccomp.h9 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Dseccomp.h9 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dseccomp.h5 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dseccomp.h9 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/csky/include/asm/
H A Dseccomp.h5 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dseccomp.h5 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dseccomp.h9 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/xtensa/include/asm/
H A Dseccomp.h5 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dseccomp.h3 * arch/arm64/include/asm/seccomp.h
20 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dseccomp.h8 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dseccomp.h8 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dseccomp.h17 #include <asm-generic/seccomp.h>
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dseccomp.h19 #include <asm-generic/seccomp.h>
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dseccomp.h3 * arch/arm64/include/asm/seccomp.h
20 #include <asm-generic/seccomp.h>

Completed in 12 milliseconds

12345