Skip to content
Commit 3f5be2da authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Paul Moore
Browse files

audit: move audit_get_tty to reduce scope and kabi changes



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: default avatarPaul Moore <pmoore@redhat.com>
Signed-off-by: default avatarRichard Guy Briggs <rgb@redhat.com>
[PM: line wrapped description]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 76a658c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment