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: Separate task security context from task_struct
[linux-2.6-block.git]
/
kernel
/
capability.c
diff --git
a/kernel/capability.c
b/kernel/capability.c
index 58b00519624a3533800eb0ffe4dcc4d60b523c6d..a404b980b1bd8362ba519fcd4cf4086e32d82f76 100644
(file)
--- a/
kernel/capability.c
+++ b/
kernel/capability.c
@@
-171,8
+171,8
@@
kernel_cap_t cap_set_effective(const kernel_cap_t pE_new)
spin_lock(&task_capability_lock);
- pE_old = current->cap_effective;
- current->cap_effective = pE_new;
+ pE_old = current->c
red->c
ap_effective;
+ current->c
red->c
ap_effective = pE_new;
spin_unlock(&task_capability_lock);