[PATCH] system.c (capabilities): Add more capability values

Dmitry V. Levin ldv at altlinux.org
Tue Nov 11 00:36:31 UTC 2008


I installed this obvious patch:

--- system.c
+++ system.c
@@ -1507,6 +1507,21 @@ static const struct xlat capabilities[] = {
 	{ 1<<CAP_SYS_RESOURCE,	"CAP_SYS_RESOURCE"},
 	{ 1<<CAP_SYS_TIME,	"CAP_SYS_TIME"	},
 	{ 1<<CAP_SYS_TTY_CONFIG,"CAP_SYS_TTY_CONFIG"},
+#ifdef CAP_MKNOD
+	{ 1<<CAP_MKNOD,		"CAP_MKNOD"	},
+#endif
+#ifdef CAP_LEASE
+	{ 1<<CAP_LEASE,		"CAP_LEASE"	},
+#endif
+#ifdef CAP_AUDIT_WRITE
+	{ 1<<CAP_AUDIT_WRITE,	"CAP_AUDIT_WRITE"},
+#endif
+#ifdef CAP_AUDIT_CONTROL
+	{ 1<<CAP_AUDIT_CONTROL,	"CAP_AUDIT_CONTROL"},
+#endif
+#ifdef CAP_SETFCAP
+	{ 1<<CAP_SETFCAP,	"CAP_SETFCAP"	},
+#endif
 	{ 0,                    NULL            },
 };
 

-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20081111/96fc16dc/attachment.bin>


More information about the Strace-devel mailing list