patch-2.2.18 linux/include/linux/prctl.h

Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/pm.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/prctl.h linux/include/linux/prctl.h
@@ -5,5 +5,8 @@
 
 #define PR_SET_PDEATHSIG  1  /*  Second arg is a signal  */
 
+/* Get/set whether or not to drop capabilities on setuid() away from uid 0 */
+#define PR_GET_KEEPCAPS   7
+#define PR_SET_KEEPCAPS   8
 
 #endif /* _LINUX_PRCTL_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)