sysfs.txt: add note on available attribute macros
[sfrench/cifs-2.6.git] / include / linux / seccomp.h
index e5320f6c865439c0b8910afc17fcfd1598bcc4fb..84868d37b35d0c26219ed9a6e2182e7c91cb13b1 100644 (file)
@@ -4,9 +4,10 @@
 
 #include <uapi/linux/seccomp.h>
 
-#define SECCOMP_FILTER_FLAG_MASK       (SECCOMP_FILTER_FLAG_TSYNC      | \
-                                        SECCOMP_FILTER_FLAG_LOG        | \
-                                        SECCOMP_FILTER_FLAG_SPEC_ALLOW)
+#define SECCOMP_FILTER_FLAG_MASK       (SECCOMP_FILTER_FLAG_TSYNC | \
+                                        SECCOMP_FILTER_FLAG_LOG | \
+                                        SECCOMP_FILTER_FLAG_SPEC_ALLOW | \
+                                        SECCOMP_FILTER_FLAG_NEW_LISTENER)
 
 #ifdef CONFIG_SECCOMP
 
@@ -43,7 +44,7 @@ extern void secure_computing_strict(int this_syscall);
 #endif
 
 extern long prctl_get_seccomp(void);
-extern long prctl_set_seccomp(unsigned long, char __user *);
+extern long prctl_set_seccomp(unsigned long, void __user *);
 
 static inline int seccomp_mode(struct seccomp *s)
 {