newuidmap: partial revert
authorRobert Swiecki <robert@swiecki.net>
Thu, 9 Feb 2017 12:37:58 +0000 (13:37 +0100)
committerRobert Swiecki <robert@swiecki.net>
Thu, 9 Feb 2017 12:37:58 +0000 (13:37 +0100)
user.c

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;
 }