diff options
author | Eric Paris <eparis@redhat.com> | 2012-01-03 14:23:08 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-17 16:17:00 -0500 |
commit | 0a300be6d5be8f66cd96609334710c268d0bfdce (patch) | |
tree | 253d0d1e0aa28a6bdf883bb92e4b62fafe263563 /fs | |
parent | 54d3218b31aee5bc9c859ae60fbde933d922448b (diff) | |
download | linux-0a300be6d5be8f66cd96609334710c268d0bfdce.tar.gz linux-0a300be6d5be8f66cd96609334710c268d0bfdce.tar.bz2 linux-0a300be6d5be8f66cd96609334710c268d0bfdce.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 8173dfd89cb2..e3cbebbabebd 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -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; |