projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c316a1d
)
Fix cgroup: Add generic cgroup subsystem permission checks.
author
Colin Cross
<ccross@android.com>
Mon, 22 Mar 2010 18:28:03 +0000
(11:28 -0700)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:18 +0000
(17:49 -0700)
Change-Id: Ib82f6a716686a3ebb4592112400fc5e4a2ce066c
Signed-off-by: Colin Cross <ccross@android.com>
kernel/cgroup.c
patch
|
blob
|
history
diff --git
a/kernel/cgroup.c
b/kernel/cgroup.c
index f3d6f30c8cd181059f23296ea9731cd1a417a030..b90316504417760433c2b6e1d76961e5d3c7e651 100644
(file)
--- a/
kernel/cgroup.c
+++ b/
kernel/cgroup.c
@@
-1723,6
+1723,7
@@
int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk)
*/
failed_ss = ss;
goto out;
+ }
} else if (!capable(CAP_SYS_ADMIN)) {
const struct cred *cred = current_cred(), *tcred;