projects
/
platform
/
core
/
security
/
krate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68da83c
)
Add CLONE_NEWCGROUP in attach of krate-admin-cli
15/128515/1
author
Sungbae Yoo
<sungbae.yoo@samsung.com>
Wed, 10 May 2017 08:24:25 +0000
(17:24 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Wed, 10 May 2017 08:26:12 +0000
(17:26 +0900)
Change-Id: I29d674025f60d1fa10504da2cacab9be4458f607
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
tools/cli/krate-admin-cli.cpp
patch
|
blob
|
history
diff --git
a/tools/cli/krate-admin-cli.cpp
b/tools/cli/krate-admin-cli.cpp
index
bfd4790
..
39e65ee
100644
(file)
--- a/
tools/cli/krate-admin-cli.cpp
+++ b/
tools/cli/krate-admin-cli.cpp
@@
-60,7
+60,10
@@
std::vector<NamespacePair> namespaces = {
{"uts", CLONE_NEWUTS},
{"user", CLONE_NEWUSER},
{"ipc", CLONE_NEWIPC},
- {"pid", CLONE_NEWPID}
+ {"pid", CLONE_NEWPID},
+#ifdef CLONE_NEWCGROUP
+ {"cgroup", CLONE_NEWCGROUP},
+#endif
};
extern char** environ;