]> git.pld-linux.org Git - packages/libcap.git/blob - libcap-vserver.patch
- updated to 2.21
[packages/libcap.git] / libcap-vserver.patch
1 --- libcap-2.20/libcap/include/linux/capability.h~      2011-01-19 06:00:55.000000000 +0100
2 +++ libcap-2.20/libcap/include/linux/capability.h       2011-01-20 23:34:36.261352242 +0100
3 @@ -362,7 +362,12 @@
4  
5  #define CAP_LAST_CAP         CAP_SYSLOG
6  
7 -#define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
8 +/* Allow context manipulations */
9 +/* Allow changing context info on files */
10 +
11 +#define CAP_CONTEXT         63
12 +
13 +#define cap_valid(x) ((x) >= 0 && ((x) <= CAP_LAST_CAP || (x) == CAP_CONTEXT))
14  
15  /*
16   * Bit location of each capability (used by user-space library and kernel)
This page took 0.039711 seconds and 3 git commands to generate.