]> git.pld-linux.org Git - packages/util-vserver.git/blame - util-vserver-more-caps.patch
- added util-vserver init script
[packages/util-vserver.git] / util-vserver-more-caps.patch
CommitLineData
e58d73ac 1--- util-vserver-0.30.215/lib/bcaps-v13.c~ 2008-03-17 09:59:48.000000000 +0100
2+++ util-vserver-0.30.215/lib/bcaps-v13.c 2008-06-18 14:35:03.461451575 +0200
3@@ -39,6 +39,19 @@
4 # define CAP_AUDIT_CONTROL 30
5 #endif
6
7+#ifndef CAP_SETFCAP
8+# define CAP_SETFCAP 31
9+#endif
10+
11+#ifndef CAP_MAC_OVERRIDE
12+# define CAP_MAC_OVERRIDE 32
13+#endif
14+
15+#ifndef CAP_MAC_ADMIN
16+# define CAP_MAC_ADMIN 33
17+#endif
18+
19+
20 static struct Mapping_uint64 const VALUES[] = {
21 DECL(CHOWN),
22 DECL(DAC_OVERRIDE),
23@@ -71,6 +84,9 @@
24 DECL(LEASE),
25 DECL(AUDIT_WRITE),
26 DECL(AUDIT_CONTROL),
27+ DECL(SETFCAP),
28+ DECL(MAC_OVERRIDE),
29+ DECL(MAC_ADMIN),
30 };
31
32 inline static char const *
This page took 0.033144 seconds and 4 git commands to generate.