diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2016-06-28 12:07:50 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-06-28 15:48:48 -0400 |
commit | 3f5be2da8565c1cce5655bb0948fcc957c6eb6c6 (patch) | |
tree | 114b88bf2c039380ce333b5bca2265ebf9c4fa8c /kernel/auditsc.c | |
parent | 76a658c20efd541a62838d9ff68ce94170d7a549 (diff) |
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: Paul Moore <pmoore@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: line wrapped description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 33dafa70229d..60a354eed2fa 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -63,7 +63,6 @@ #include <asm/unistd.h> #include <linux/security.h> #include <linux/list.h> -#include <linux/tty.h> #include <linux/binfmts.h> #include <linux/highmem.h> #include <linux/syscalls.h> |