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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user