diff options
author | Eric Paris <eparis@redhat.com> | 2013-04-19 13:56:11 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-04-30 15:31:28 -0400 |
commit | 152f497b9b5940f81de3205465840a5eb316458e (patch) | |
tree | fb226da0e460bb912350478cbbb87b24a6343d31 /include | |
parent | dc9eb698f441889f2d7926b1cc6f1e14f0787f00 (diff) |
audit: push loginuid and sessionid processing down
Since we are always current, we can push a lot of this stuff to the
bottom and get rid of useless interfaces and arguments.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-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 78e378b3971c..96d640b32cd8 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -517,7 +517,7 @@ extern void tty_audit_exit(void); | |||
517 | extern void tty_audit_fork(struct signal_struct *sig); | 517 | extern void tty_audit_fork(struct signal_struct *sig); |
518 | extern void tty_audit_tiocsti(struct tty_struct *tty, char ch); | 518 | extern void tty_audit_tiocsti(struct tty_struct *tty, char ch); |
519 | extern void tty_audit_push(struct tty_struct *tty); | 519 | extern void tty_audit_push(struct tty_struct *tty); |
520 | extern int tty_audit_push_task(struct task_struct *tsk); | 520 | extern int tty_audit_push_current(void); |
521 | #else | 521 | #else |
522 | static inline void tty_audit_add_data(struct tty_struct *tty, | 522 | static inline void tty_audit_add_data(struct tty_struct *tty, |
523 | unsigned char *data, size_t size, unsigned icanon) | 523 | unsigned char *data, size_t size, unsigned icanon) |
@@ -535,7 +535,7 @@ static inline void tty_audit_fork(struct signal_struct *sig) | |||
535 | static inline void tty_audit_push(struct tty_struct *tty) | 535 | static inline void tty_audit_push(struct tty_struct *tty) |
536 | { | 536 | { |
537 | } | 537 | } |
538 | static inline int tty_audit_push_task(struct task_struct *tsk) | 538 | static inline int tty_audit_push_current(void) |
539 | { | 539 | { |
540 | return 0; | 540 | return 0; |
541 | } | 541 | } |