[PATCH] switch audit_get_loginuid() to task_struct *

all callers pass something->audit_context

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2008-01-10 04:20:52 -05:00
parent 24e1c13c93
commit 0c11b9428f
10 changed files with 21 additions and 21 deletions

View File

@ -105,8 +105,7 @@ static void tty_audit_buf_push(struct task_struct *tsk, uid_t loginuid,
*/
static void tty_audit_buf_push_current(struct tty_audit_buf *buf)
{
tty_audit_buf_push(current, audit_get_loginuid(current->audit_context),
buf);
tty_audit_buf_push(current, audit_get_loginuid(current), buf);
}
/**