aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h8
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;
46struct sk_buff; 46struct sk_buff;
47 47
48struct audit_krule { 48struct 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
67struct audit_field { 70struct 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,
124extern void __audit_syscall_exit(int ret_success, long ret_value); 127extern void __audit_syscall_exit(int ret_success, long ret_value);
125extern struct filename *__audit_reusename(const __user char *uptr); 128extern struct filename *__audit_reusename(const __user char *uptr);
126extern void __audit_getname(struct filename *name); 129extern void __audit_getname(struct filename *name);
127extern 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}
350static inline void audit_getname(struct filename *name) 352static inline void audit_getname(struct filename *name)
351{ } 353{ }
352static inline void audit_putname(struct filename *name)
353{ }
354static inline void __audit_inode(struct filename *name, 354static 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)