1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_SECCOMP_TYPES_H
3 #define _LINUX_SECCOMP_TYPES_H
5 #include <linux/types.h>
11 * struct seccomp - the state of a seccomp'ed process
13 * @mode: indicates one of the valid values above for controlled
14 * system calls available to a process.
15 * @filter_count: number of seccomp filters
16 * @filter: must always point to a valid seccomp-filter or NULL as it is
17 * accessed without locking during system call entry.
19 * @filter must only be accessed from the context of current as there
24 atomic_t filter_count
;
25 struct seccomp_filter
*filter
;
31 struct seccomp_filter
{ };
35 #endif /* _LINUX_SECCOMP_TYPES_H */