]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - vserver.patch
rediff patches
[packages/linux-libc-headers.git] / vserver.patch
1 --- linux-3.7/include/uapi/linux/capability.h~  2011-01-19 19:06:36.467207804 +0100
2 +++ linux-3.7/include/uapi/linux/capability.h   2011-01-19 19:07:14.046959978 +0100
3 @@ -356,7 +356,12 @@
4  
5  #define CAP_LAST_CAP         CAP_CHECKPOINT_RESTORE
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.155967 seconds and 3 git commands to generate.