]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
audit: kill audit_prepare_user_tty
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Sep 2012 06:31:17 +0000 (23:31 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 18 Sep 2012 01:03:59 +0000 (18:03 -0700)
commitf95732e2e0a649c148be0242b72e3c7473092687
tree3bcc942e4456bc95ac43ccdf619425aa24f00873
parent02276bda4a2bf094fcde89fb5db4d9e86347ebf4
audit: kill audit_prepare_user_tty

Now that netlink messages are processed in the context of the sender
tty_audit_push_task can be called directly and audit_prepare_user_tty
which only added looking up the task of the tty by process id is
not needed.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/audit.c