Various fixes related to mountfsd (#40564)

This commit is contained in:
Daan De Meyer
2026-02-05 16:39:28 +01:00
committed by GitHub
4 changed files with 219 additions and 125 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ int userns_enter_and_pin(int userns_fd, PidRef *ret) {
"(sd-pinuserns)",
/* stdio_fds= */ NULL,
(int[]) { pfd[1], userns_fd }, 2,
FORK_CLOSE_ALL_FDS|FORK_DEATHSIG_SIGKILL,
FORK_CLOSE_ALL_FDS|FORK_REOPEN_LOG|FORK_DEATHSIG_SIGKILL,
&pidref);
if (r < 0)
return r;