aboutsummaryrefslogtreecommitdiff
path: root/include/linux/seccomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/seccomp.h')
-rw-r--r--include/linux/seccomp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h
index 9687691799f..6f19cfd1840 100644
--- a/include/linux/seccomp.h
+++ b/include/linux/seccomp.h
@@ -3,8 +3,6 @@
#include <uapi/linux/seccomp.h>
-#define SECCOMP_FILTER_FLAG_MASK (SECCOMP_FILTER_FLAG_TSYNC)
-
#ifdef CONFIG_SECCOMP
#include <linux/thread_info.h>
@@ -16,11 +14,11 @@ struct seccomp_filter;
*
* @mode: indicates one of the valid values above for controlled
* system calls available to a process.
- * @filter: must always point to a valid seccomp-filter or NULL as it is
- * accessed without locking during system call entry.
+ * @filter: The metadata and ruleset for determining what system calls
+ * are allowed for a task.
*
* @filter must only be accessed from the context of current as there
- * is no read locking.
+ * is no locking.
*/
struct seccomp {
int mode;