Re: [PATCH] audit: add tty field to LOGIN event

2016-04-18 Thread Richard Guy Briggs
On 16/04/13, Peter Hurley wrote: > Hi Richard, Hi Peter, > On 04/13/2016 04:25 PM, Richard Guy Briggs wrote: > > 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

Re: [PATCH] audit: add tty field to LOGIN event

2016-04-13 Thread Peter Hurley
Hi Richard, On 04/13/2016 04:25 PM, Richard Guy Briggs wrote: > 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(). > > Signed-off-by: R

[PATCH] audit: add tty field to LOGIN event

2016-04-13 Thread Richard Guy Briggs
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(). Signed-off-by: Richard Guy Briggs --- include/linux/audit.h | 18 ++ kern