]>
Commit | Line | Data |
---|---|---|
81305d82 AM |
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 @@ | |
98641b76 | 4 | |
81305d82 | 5 | #define CAP_LAST_CAP CAP_SYSLOG |
98641b76 | 6 | |
81305d82 AM |
7 | -#define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) |
8 | +/* Allow context manipulations */ | |
9 | +/* Allow changing context info on files */ | |
98641b76 | 10 | + |
81305d82 AM |
11 | +#define CAP_CONTEXT 63 |
12 | + | |
13 | +#define cap_valid(x) ((x) >= 0 && ((x) <= CAP_LAST_CAP || (x) == CAP_CONTEXT)) | |
98641b76 | 14 | |
81305d82 AM |
15 | /* |
16 | * Bit location of each capability (used by user-space library and kernel) |