diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/audit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h index 9eddf2ca614f..05e5e8fc2ac4 100644 --- a/include/uapi/linux/audit.h +++ b/include/uapi/linux/audit.h | |||
| @@ -386,7 +386,8 @@ struct audit_features { | |||
| 386 | __u32 lock; /* which features to lock */ | 386 | __u32 lock; /* which features to lock */ |
| 387 | }; | 387 | }; |
| 388 | 388 | ||
| 389 | #define AUDIT_LAST_FEATURE -1 | 389 | #define AUDIT_FEATURE_ONLY_UNSET_LOGINUID 0 |
| 390 | #define AUDIT_LAST_FEATURE AUDIT_FEATURE_ONLY_UNSET_LOGINUID | ||
| 390 | 391 | ||
| 391 | #define audit_feature_valid(x) ((x) >= 0 && (x) <= AUDIT_LAST_FEATURE) | 392 | #define audit_feature_valid(x) ((x) >= 0 && (x) <= AUDIT_LAST_FEATURE) |
| 392 | #define AUDIT_FEATURE_TO_MASK(x) (1 << ((x) & 31)) /* mask for __u32 */ | 393 | #define AUDIT_FEATURE_TO_MASK(x) (1 << ((x) & 31)) /* mask for __u32 */ |
