diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-09-04 16:04:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-09-04 23:10:10 +0200 |
commit | 7a2acbdc5a9eed7c5dc3fe947f54fbebd89c0892 (patch) | |
tree | 76986fb2c92589dc53d21ddd73001d72af855774 /tests/test.drv | |
parent | 2028419e30719e3f1f7aca3d4531f1686c3ebb62 (diff) | |
download | guix-7a2acbdc5a9eed7c5dc3fe947f54fbebd89c0892.tar guix-7a2acbdc5a9eed7c5dc3fe947f54fbebd89c0892.tar.gz |
store: Open daemon connections with SOCK_CLOEXEC.
Previously, 'guix shell' for example would leak the socket that's
connected to the daemon.
* guix/store.scm (open-unix-domain-socket, open-inet-socket): Pass
SOCK_CLOEXEC to 'socket'.
* tests/guix-shell.sh: Add test.
Diffstat (limited to 'tests/test.drv')
0 files changed, 0 insertions, 0 deletions