]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/prctl.h
[POWERPC] macintosh/windfarm: Fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / include / linux / prctl.h
index 52a9be41250deae36aa604664b296563ce0fcf7f..5c80b1939636ec556f775692aa5ed27aba5986b4 100644 (file)
 # define PR_ENDIAN_LITTLE      1       /* True little endian mode */
 # define PR_ENDIAN_PPC_LITTLE  2       /* "PowerPC" pseudo little endian */
 
+/* Get/set process seccomp mode */
+#define PR_GET_SECCOMP 21
+#define PR_SET_SECCOMP 22
+
+/* Get/set the capability bounding set */
+#define PR_CAPBSET_READ 23
+#define PR_CAPBSET_DROP 24
+
+/* Get/set the process' ability to use the timestamp counter instruction */
+#define PR_GET_TSC 25
+#define PR_SET_TSC 26
+# define PR_TSC_ENABLE         1       /* allow the use of the timestamp counter */
+# define PR_TSC_SIGSEGV                2       /* throw a SIGSEGV instead of reading the TSC */
+
 #endif /* _LINUX_PRCTL_H */