Richard Guy Briggs
545853704b
audit: add tty field to LOGIN event
...
commit db0a6fb5d97afe01fd9c47d37c6daa82d4d4001d 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-03-28 18:40:17 +02:00
2016-09-24 10:07:42 +02:00
2017-12-16 10:33:49 +01:00
2018-04-08 11:51:56 +02:00
2018-01-23 19:50:10 +01:00
2018-04-08 11:51:57 +02:00
2018-01-17 09:35:27 +01:00
2017-10-12 11:27:35 +02:00
2018-03-22 09:23:23 +01:00
2017-10-18 09:20:41 +02:00
2018-03-22 09:23:27 +01:00
2018-03-24 10:58:40 +01:00
2018-03-28 18:40:15 +02:00
2018-01-10 09:27:08 +01:00
2018-02-16 20:09:45 +01:00
2017-08-24 17:02:35 -07:00
2018-04-08 11:51:57 +02:00
2018-04-08 11:51:57 +02:00
2017-01-06 11:16:14 +01:00
2015-12-03 10:18:21 -05:00
2017-04-21 09:30:04 +02:00
2017-01-12 11:22:48 +01:00
2017-10-12 11:27:35 +02:00
2016-09-15 08:27:49 +02:00
2016-06-07 18:14:35 -07:00
2017-07-21 07:44:56 +02:00
2018-01-05 15:44:23 +01:00
2016-02-25 12:01:16 -08:00
2018-01-23 19:50:14 +01:00
2018-01-10 09:27:10 +01:00
2017-12-16 10:33:55 +01:00
2016-02-25 12:01:16 -08:00
2016-09-24 10:07:36 +02:00
2018-04-08 11:51:56 +02:00
2017-04-21 09:30:04 +02:00
2017-03-12 06:37:26 +01:00
2017-01-19 20:17:18 +01:00
2018-02-25 11:03:52 +01:00
2017-05-20 14:27:02 +02:00
2017-07-05 14:37:19 +02:00
2017-05-25 14:30:11 +02:00
2017-08-24 17:02:36 -07:00
2018-02-25 11:03:44 +01:00
2017-06-14 13:16:20 +02:00
2017-08-06 19:19:42 -07:00
2017-10-05 09:41:46 +02:00
2018-01-10 09:27:11 +01:00
2015-12-12 10:15:34 -08:00
2016-02-25 12:01:25 -08:00
2016-04-12 09:08:58 -07:00
2017-10-05 09:41:47 +02:00
2018-01-10 09:27:10 +01:00
2017-01-06 11:16:16 +01:00
2017-11-15 17:13:11 +01:00
2018-03-18 11:17:48 +01:00