guix-kreyren/gnu/build
Ludovic Courtès 6abdcef4a6
linux-container: 'container-excursion*' marks its FDs as FD_CLOEXEC.
Fixes <https://issues.guix.gnu.org/57827>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.

Fixes a regression introduced with the Shepherd 0.9.2 upgrade in
1ba0e38267c9ff8bb476285091be6e297bbf136e, whereby IN and OUT would no
longer be closed when 'fork+exec-command/container' would call
'exec-command*' as part of the THUNK passed to 'container-excursion*'.

This is because the Shepherd 0.9.2 assumes file descriptors are properly
marked as O_CLOEXEC and, consequently, 'exec-command' no longer run the
close(2) loop prior to 'exec'.

* gnu/build/linux-container.scm (container-excursion*): Add calls to
'fcntl'.
2022-09-20 19:24:31 +02:00
..
accounts.scm
activation.scm
bootloader.scm
chromium-extension.scm
cross-toolchain.scm
dbus-service.scm
file-systems.scm
hurd-boot.scm
image.scm
install.scm
jami-service.scm
linux-boot.scm
linux-container.scm linux-container: 'container-excursion*' marks its FDs as FD_CLOEXEC. 2022-09-20 19:24:31 +02:00
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm marionette: Avoid read error when wait-for-file file is empty. 2022-09-16 11:59:42 +02:00
secret-service.scm
shepherd.scm
svg.scm