The attached patch adds the missing capabilities CAP_MKNOD and CAP_LEASE, which are the only missing as of 2.6.10.

Please apply.

Regards,
Faidon
diff -Nur lcap-0.0.6/README lcap-void/README
--- lcap-0.0.6/README   2001-03-06 00:53:57.000000000 +0200
+++ lcap-void/README    2005-08-15 09:04:08.000000000 +0300
@@ -81,7 +81,9 @@
 24  CAP_SYS_RESOURCE (setting resource limits) --+||||||||||||||||||||||||
 25  CAP_SYS_TIME (setting system time) ---------+|||||||||||||||||||||||||
 26  CAP_SYS_TTY_CONFIG (tty configuration) ----+||||||||||||||||||||||||||
-                                               |||||||||||||||||||||||||||
+27  CAP_MKNOD (mknod()) ----------------------+|||||||||||||||||||||||||||
+28  CAP_LEASE (taking leases on files) ------+||||||||||||||||||||||||||||
+                                             |||||||||||||||||||||||||||||
 kernel_cap_t                              00000000000000000000000000000000
 
 
diff -Nur lcap-0.0.6/lcap.c lcap-void/lcap.c
--- lcap-0.0.6/lcap.c   2005-08-15 09:04:31.000000000 +0300
+++ lcap-void/lcap.c    2005-08-15 08:59:37.000000000 +0300
@@ -77,6 +77,8 @@
     "CAP_SYS_RESOURCE",     "setting resource limits",
     "CAP_SYS_TIME",         "setting system time",
     "CAP_SYS_TTY_CONFIG",   "tty configuration",
+    "CAP_MKNOD",            "mknod()",
+    "CAP_LEASE",            "taking leases on files",
     NULL, NULL,
     };
 

Reply via email to