diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 1509b86825d8..4f6c59a5fb79 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -575,7 +575,7 @@ extern void tty_audit_fork(struct signal_struct *sig); | |||
575 | extern void tty_audit_tiocsti(struct tty_struct *tty, char ch); | 575 | extern void tty_audit_tiocsti(struct tty_struct *tty, char ch); |
576 | extern void tty_audit_push(struct tty_struct *tty); | 576 | extern void tty_audit_push(struct tty_struct *tty); |
577 | extern int tty_audit_push_task(struct task_struct *tsk, | 577 | extern int tty_audit_push_task(struct task_struct *tsk, |
578 | uid_t loginuid, u32 sessionid); | 578 | kuid_t loginuid, u32 sessionid); |
579 | #else | 579 | #else |
580 | static inline void tty_audit_add_data(struct tty_struct *tty, | 580 | static inline void tty_audit_add_data(struct tty_struct *tty, |
581 | unsigned char *data, size_t size) | 581 | unsigned char *data, size_t size) |
@@ -594,7 +594,7 @@ static inline void tty_audit_push(struct tty_struct *tty) | |||
594 | { | 594 | { |
595 | } | 595 | } |
596 | static inline int tty_audit_push_task(struct task_struct *tsk, | 596 | static inline int tty_audit_push_task(struct task_struct *tsk, |
597 | uid_t loginuid, u32 sessionid) | 597 | kuid_t loginuid, u32 sessionid) |
598 | { | 598 | { |
599 | return 0; | 599 | return 0; |
600 | } | 600 | } |