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:
2198229
)
newuidmap: partial revert
author
Robert Swiecki
<robert@swiecki.net>
Thu, 9 Feb 2017 12:37:58 +0000
(13:37 +0100)
committer
Robert Swiecki
<robert@swiecki.net>
Thu, 9 Feb 2017 12:37:58 +0000
(13:37 +0100)
user.c
patch
|
blob
|
history
diff --git
a/user.c
b/user.c
index abe1601d1e4683c6b5e5aeaf1b8744b579692726..9227d0a0f596da5140664b3f239dde363ff26106 100644
(file)
--- a/
user.c
+++ b/
user.c
@@
-69,16
+69,11
@@
static bool userUidMapSelf(struct nsjconf_t *nsjconf, pid_t pid)
(unsigned long)p->outside_id);
}
- /*
LOG_D("Writing '%s' to '%s'", map, fname);
if (utilWriteBufToFile(fname, map, strlen(map), O_WRONLY) == false) {
LOG_E("utilWriteBufToFile('%s', '%s') failed", fname, map);
return false;
}
- */
-
- utilWriteBufToFile(fname, "\0", 1, O_WRONLY);
- PLOG_E("WRITE");
return true;
}