Re: [PATCH] audit: move audit_get_tty to reduce scope and kabi changes

2016-06-28 Thread Paul Moore
On Tue, Jun 28, 2016 at 12:07 PM, Richard Guy Briggs wrote: > The only users of audit_get_tty and audit_put_tty are internal to audit, > so move it out of include/linux/audit.h to kernel.h and create a proper > function rather than inlining it. This also reduces kABI changes. > > Suggested-by: Pa

[PATCH] audit: move audit_get_tty to reduce scope and kabi changes

2016-06-28 Thread Richard Guy Briggs
The only users of audit_get_tty and audit_put_tty are internal to audit, so move it out of include/linux/audit.h to kernel.h and create a proper function rather than inlining it. This also reduces kABI changes. Suggested-by: Paul Moore Signed-off-by: Richard Guy Briggs --- include/linux/audit.