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]>
(cherry picked from commit 24c2d28)
Signed-off-by: lifubang <[email protected]>
  • Loading branch information
lifubang committed Jun 9, 2024
1 parent 8407d3c commit 80186fe
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 @@ -1213,7 +1213,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 80186fe

Please sign in to comment.