From d5a2130164dcbad978fb23e8a888844bf75aa651 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Thu, 9 Feb 2017 13:37:58 +0100 Subject: [PATCH] newuidmap: partial revert --- user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/user.c b/user.c index abe1601..9227d0a 100644 --- 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; }