diff options
Diffstat (limited to 'kernel/audit.h')
| -rw-r--r-- | kernel/audit.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 816766803371..9eb3d79482b6 100644 --- a/kernel/audit.h +++ b/kernel/audit.h | |||
| @@ -76,6 +76,8 @@ static inline int audit_hash_ino(u32 ino) | |||
| 76 | 76 | ||
| 77 | extern int audit_match_class(int class, unsigned syscall); | 77 | extern int audit_match_class(int class, unsigned syscall); |
| 78 | extern int audit_comparator(const u32 left, const u32 op, const u32 right); | 78 | extern int audit_comparator(const u32 left, const u32 op, const u32 right); |
| 79 | extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); | ||
| 80 | extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right); | ||
| 79 | extern int audit_compare_dname_path(const char *dname, const char *path, | 81 | extern int audit_compare_dname_path(const char *dname, const char *path, |
| 80 | int *dirlen); | 82 | int *dirlen); |
| 81 | extern struct sk_buff * audit_make_reply(int pid, int seq, int type, | 83 | extern struct sk_buff * audit_make_reply(int pid, int seq, int type, |
| @@ -144,7 +146,7 @@ extern void audit_kill_trees(struct list_head *); | |||
| 144 | extern char *audit_unpack_string(void **, size_t *, size_t); | 146 | extern char *audit_unpack_string(void **, size_t *, size_t); |
| 145 | 147 | ||
| 146 | extern pid_t audit_sig_pid; | 148 | extern pid_t audit_sig_pid; |
| 147 | extern uid_t audit_sig_uid; | 149 | extern kuid_t audit_sig_uid; |
| 148 | extern u32 audit_sig_sid; | 150 | extern u32 audit_sig_sid; |
| 149 | 151 | ||
| 150 | #ifdef CONFIG_AUDITSYSCALL | 152 | #ifdef CONFIG_AUDITSYSCALL |
