projects
/
deliverable
/
linux.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 core kernel
[deliverable/linux.git]
/
kernel
/
sysctl.c
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index 9d048fa2d902ec2b768633afd4ecbaaafc01ec03..511031381c330f91ffebb59b2ab14466ddb1fd26 100644
(file)
--- a/
kernel/sysctl.c
+++ b/
kernel/sysctl.c
@@
-1641,7
+1641,7
@@
out:
static int test_perm(int mode, int op)
{
- if (!current
->euid
)
+ if (!current
_euid()
)
mode >>= 6;
else if (in_egroup_p(0))
mode >>= 3;
This page took
0.025119 seconds
and
5
git commands to generate.