Files
linux/kernel
Richard Guy Briggs 545853704b audit: add tty field to LOGIN event
commit db0a6fb5d9 upstream.

The tty field was missing from AUDIT_LOGIN events.

Refactor code to create a new function audit_get_tty(), using it to
replace the call in audit_log_task_info() and to add it to
audit_log_set_loginuid().  Lock and bump the kref to protect it, adding
audit_put_tty() alias to decrement it.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-08 11:51:57 +02:00
..
2018-01-23 19:50:10 +01:00
2018-04-08 11:51:57 +02:00
2015-11-04 08:23:51 -05:00
2018-04-08 11:51:57 +02:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2017-05-20 14:27:02 +02:00
2017-07-05 14:37:19 +02:00
2017-08-24 17:02:36 -07:00
2015-11-05 19:34:48 -08:00