patch-2.3.22 linux/include/linux/capability.h

Next file: linux/include/linux/console.h
Previous file: linux/include/linux/adb_mouse.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/include/linux/capability.h linux/include/linux/capability.h
@@ -193,7 +193,6 @@
 
 /* Allow configuration of the secure attention key */
 /* Allow administration of the random device */
-/* Allow device administration (mknod)*/
 /* Allow examination and configuration of disk quotas */
 /* Allow configuring the kernel's syslog (printk behaviour) */
 /* Allow setting the domainname */
@@ -265,6 +264,10 @@
 /* Allow vhangup() of tty */
 
 #define CAP_SYS_TTY_CONFIG   26
+
+/* Allow the privileged aspects of mknod() */
+
+#define CAP_MKNOD            27
 
 #ifdef __KERNEL__
 /* 

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