Skip to content

Commit

Permalink
fixup! Support idmap mounts on volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
rata committed Feb 9, 2023
1 parent 1131223 commit 39913c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libcontainer/nsenter/nsexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,6 @@ void receive_idmapsources(int sockfd)
receive_fd_sources(sockfd, "_LIBCONTAINER_IDMAP_FDS");
}


void nsexec(void)
{
int pipenum;
Expand Down Expand Up @@ -1169,7 +1168,7 @@ void nsexec(void)
case SYNC_MOUNT_IDMAP_PLS:
write_log(DEBUG, "stage-1 requested to open idmap sources");
send_idmapsources(syncfd, stage1_pid, config.idmapsources,
config.idmapsources_len);
config.idmapsources_len);
s = SYNC_MOUNT_IDMAP_ACK;
write_log(DEBUG, "idmap sources done, sending SYNC_MOUNT_IDMAP_ACK");
if (write(syncfd, &s, sizeof(s)) != sizeof(s)) {
Expand Down

0 comments on commit 39913c4

Please sign in to comment.