]>
Commit | Line | Data |
---|---|---|
d3addd79 JB |
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 | |
68c59615 | 3 | @@ -356,7 +356,12 @@ |
5ea1f6b9 | 4 | |
25e33390 | 5 | #define CAP_LAST_CAP CAP_CHECKPOINT_RESTORE |
5ea1f6b9 | 6 | |
68c59615 AM |
7 | -#define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) |
8 | +/* Allow context manipulations */ | |
9 | +/* Allow changing context info on files */ | |
5ea1f6b9 | 10 | + |
68c59615 AM |
11 | +#define CAP_CONTEXT 63 |
12 | + | |
13 | +#define cap_valid(x) ((x) >= 0 && ((x) <= CAP_LAST_CAP || (x) == CAP_CONTEXT)) | |
5ea1f6b9 | 14 | |
68c59615 AM |
15 | /* |
16 | * Bit location of each capability (used by user-space library and kernel) |