projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e883819
)
Remove reduntant check
author
Jagger
<robert@swiecki.net>
Fri, 4 Mar 2016 00:30:56 +0000
(
01:30
+0100)
committer
Jagger
<robert@swiecki.net>
Fri, 4 Mar 2016 00:30:56 +0000
(
01:30
+0100)
user.c
patch
|
blob
|
history
diff --git
a/user.c
b/user.c
index a5d5101f6e60c622a0c9dc4034c0e4b4f5abc69c..01505f5b39f4ea9a59c4b75e885938e5e35d21d1 100644
(file)
--- a/
user.c
+++ b/
user.c
@@
-56,10
+56,6
@@
static bool userSetGroups(pid_t pid)
static bool userUidGidMap(struct nsjconf_t *nsjconf, pid_t pid)
{
- if (nsjconf->clone_newuser == false) {
- return true;
- }
-
char fname[PATH_MAX];
char map[128];