Skip to content

Commit

Permalink
fix a debug msg for user ns in nsexec
Browse files Browse the repository at this point in the history
Signed-off-by: lfbzhm <[email protected]>
  • Loading branch information
lifubang committed Jun 6, 2024
1 parent 7cce7e2 commit 24c2d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/nsenter/nsexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ void nsexec(void)
bail("failed to sync with parent: write(SYNC_USERMAP_PLS)");

/* ... wait for mapping ... */
write_log(DEBUG, "request stage-0 to map user namespace");
write_log(DEBUG, "waiting stage-0 to complete the mapping of user namespace");
if (read(syncfd, &s, sizeof(s)) != sizeof(s))
bail("failed to sync with parent: read(SYNC_USERMAP_ACK)");
if (s != SYNC_USERMAP_ACK)
Expand Down

0 comments on commit 24c2d28

Please sign in to comment.