diff options
Diffstat (limited to 'include/linux/audit.h')
| -rw-r--r-- | include/linux/audit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 0c04917c2f12..c2e7e3a83965 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
| @@ -46,7 +46,7 @@ struct audit_tree; | |||
| 46 | struct sk_buff; | 46 | struct sk_buff; |
| 47 | 47 | ||
| 48 | struct audit_krule { | 48 | struct audit_krule { |
| 49 | int vers_ops; | 49 | u32 pflags; |
| 50 | u32 flags; | 50 | u32 flags; |
| 51 | u32 listnr; | 51 | u32 listnr; |
| 52 | u32 action; | 52 | u32 action; |
| @@ -64,6 +64,9 @@ struct audit_krule { | |||
| 64 | u64 prio; | 64 | u64 prio; |
| 65 | }; | 65 | }; |
| 66 | 66 | ||
| 67 | /* Flag to indicate legacy AUDIT_LOGINUID unset usage */ | ||
| 68 | #define AUDIT_LOGINUID_LEGACY 0x1 | ||
| 69 | |||
| 67 | struct audit_field { | 70 | struct audit_field { |
| 68 | u32 type; | 71 | u32 type; |
| 69 | union { | 72 | union { |
| @@ -124,7 +127,6 @@ extern void __audit_syscall_entry(int major, unsigned long a0, unsigned long a1, | |||
| 124 | extern void __audit_syscall_exit(int ret_success, long ret_value); | 127 | extern void __audit_syscall_exit(int ret_success, long ret_value); |
| 125 | extern struct filename *__audit_reusename(const __user char *uptr); | 128 | extern struct filename *__audit_reusename(const __user char *uptr); |
| 126 | extern void __audit_getname(struct filename *name); | 129 | extern void __audit_getname(struct filename *name); |
| 127 | extern void audit_putname(struct filename *name); | ||
| 128 | 130 | ||
| 129 | #define AUDIT_INODE_PARENT 1 /* dentry represents the parent */ | 131 | #define AUDIT_INODE_PARENT 1 /* dentry represents the parent */ |
| 130 | #define AUDIT_INODE_HIDDEN 2 /* audit record should be hidden */ | 132 | #define AUDIT_INODE_HIDDEN 2 /* audit record should be hidden */ |
| @@ -349,8 +351,6 @@ static inline struct filename *audit_reusename(const __user char *name) | |||
| 349 | } | 351 | } |
| 350 | static inline void audit_getname(struct filename *name) | 352 | static inline void audit_getname(struct filename *name) |
| 351 | { } | 353 | { } |
| 352 | static inline void audit_putname(struct filename *name) | ||
| 353 | { } | ||
| 354 | static inline void __audit_inode(struct filename *name, | 354 | static inline void __audit_inode(struct filename *name, |
| 355 | const struct dentry *dentry, | 355 | const struct dentry *dentry, |
| 356 | unsigned int flags) | 356 | unsigned int flags) |
