aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2018-04-19 17:11:30 +0200
committerRoel Janssen <roel@gnu.org>2018-04-19 19:06:26 +0200
commit5cefb13ddd4d51a63a387e74c138035b7b8b8537 (patch)
treed98bd60a2a5465f58853da7c224810497ebb5ec9 /gnu
parent7c16af4646fac789000495064a13284691dbeb75 (diff)
downloadpatches-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')
0 files changed, 0 insertions, 0 deletions