diff options
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index ca019bb74da3..12367cbadfe1 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -527,7 +527,7 @@ static inline void audit_ptrace(struct task_struct *t) | |||
527 | extern unsigned int audit_serial(void); | 527 | extern unsigned int audit_serial(void); |
528 | extern int auditsc_get_stamp(struct audit_context *ctx, | 528 | extern int auditsc_get_stamp(struct audit_context *ctx, |
529 | struct timespec *t, unsigned int *serial); | 529 | struct timespec *t, unsigned int *serial); |
530 | extern int audit_set_loginuid(uid_t loginuid); | 530 | extern int audit_set_loginuid(kuid_t loginuid); |
531 | #define audit_get_loginuid(t) ((t)->loginuid) | 531 | #define audit_get_loginuid(t) ((t)->loginuid) |
532 | #define audit_get_sessionid(t) ((t)->sessionid) | 532 | #define audit_get_sessionid(t) ((t)->sessionid) |
533 | extern void audit_log_task_context(struct audit_buffer *ab); | 533 | extern void audit_log_task_context(struct audit_buffer *ab); |
@@ -639,7 +639,7 @@ extern int audit_signals; | |||
639 | #define audit_core_dumps(i) do { ; } while (0) | 639 | #define audit_core_dumps(i) do { ; } while (0) |
640 | #define audit_seccomp(i,s,c) do { ; } while (0) | 640 | #define audit_seccomp(i,s,c) do { ; } while (0) |
641 | #define auditsc_get_stamp(c,t,s) (0) | 641 | #define auditsc_get_stamp(c,t,s) (0) |
642 | #define audit_get_loginuid(t) (-1) | 642 | #define audit_get_loginuid(t) (INVALID_UID) |
643 | #define audit_get_sessionid(t) (-1) | 643 | #define audit_get_sessionid(t) (-1) |
644 | #define audit_log_task_context(b) do { ; } while (0) | 644 | #define audit_log_task_context(b) do { ; } while (0) |
645 | #define audit_ipc_obj(i) ((void)0) | 645 | #define audit_ipc_obj(i) ((void)0) |
@@ -705,7 +705,7 @@ extern int audit_update_lsm_rules(void); | |||
705 | extern int audit_filter_user(void); | 705 | extern int audit_filter_user(void); |
706 | extern int audit_filter_type(int type); | 706 | extern int audit_filter_type(int type); |
707 | extern int audit_receive_filter(int type, int pid, int seq, | 707 | extern int audit_receive_filter(int type, int pid, int seq, |
708 | void *data, size_t datasz, uid_t loginuid, | 708 | void *data, size_t datasz, kuid_t loginuid, |
709 | u32 sessionid, u32 sid); | 709 | u32 sessionid, u32 sid); |
710 | extern int audit_enabled; | 710 | extern int audit_enabled; |
711 | #else | 711 | #else |