audit: remove task argument to audit_set_loginuid

The function always deals with current.  Don't expose an option
pretending one can use it for something.  You can't.

Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
Eric Paris
2012-01-03 14:23:08 -05:00
committed by Al Viro
parent 54d3218b31
commit 0a300be6d5
3 changed files with 5 additions and 5 deletions

View File

@ -1228,7 +1228,7 @@ static ssize_t proc_loginuid_write(struct file * file, const char __user * buf,
goto out_free_page;
}
length = audit_set_loginuid(current, loginuid);
length = audit_set_loginuid(loginuid);
if (likely(length == 0))
length = count;