diff options
author | Roel Janssen <roel@gnu.org> | 2018-04-19 17:11:30 +0200 |
---|---|---|
committer | Roel Janssen <roel@gnu.org> | 2018-04-19 19:06:26 +0200 |
commit | 5cefb13ddd4d51a63a387e74c138035b7b8b8537 (patch) | |
tree | d98bd60a2a5465f58853da7c224810497ebb5ec9 /gnu/bootloader | |
parent | 7c16af4646fac789000495064a13284691dbeb75 (diff) | |
download | patches-5cefb13ddd4d51a63a387e74c138035b7b8b8537.tar patches-5cefb13ddd4d51a63a387e74c138035b7b8b8537.tar.gz |
guix-daemon: Disable garbage collection for remote connections.
* nix/nix-daemon/nix-daemon.cc (isRemoteConnection): New variable.
(performOp): For wopCollectGarbage, throw an error when isRemoteConnection
is set.
(acceptConnection): Set isRemoteConnection when connection is not AF_UNIX.
* tests/guix-daemon.sh: Add a test for the new behavior.
Diffstat (limited to 'gnu/bootloader')
0 files changed, 0 insertions, 0 deletions