projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRED: Wrap task credential accesses in the filesystem subsystem
[linux-2.6-block.git]
/
fs
/
fcntl.c
diff --git
a/fs/fcntl.c
b/fs/fcntl.c
index ac4f7db9f13452790e4d41daa8e6fc9633506259..bf049a805e590a0223c4c41b7c0ee7cb46f75b38 100644
(file)
--- a/
fs/fcntl.c
+++ b/
fs/fcntl.c
@@
-211,7
+211,7
@@
int __f_setown(struct file *filp, struct pid *pid, enum pid_type type,
if (err)
return err;
- f_modown(filp, pid, type, current
->uid, current->euid
, force);
+ f_modown(filp, pid, type, current
_uid(), current_euid()
, force);
return 0;
}
EXPORT_SYMBOL(__f_setown);