about summary refs log tree commit diff
path: root/src/libstore/fs-accessor.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-23T16·16+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-23T16·16+0100
commitc7d44bad000d5f431c05f6c27718d26d2b93bb0f (patch)
treeea88bbda61e2de9a4e7df89331be37a46419b0c6 /src/libstore/fs-accessor.hh
parent056b3ecfa4c3d185acf2d161955c92e7452cfa93 (diff)
Drop support for daemon socket path >= 108 characters
Doing a chdir() is a bad idea in multi-threaded programs, leading to
failures such as

  error: cannot connect to daemon at ‘/nix/var/nix/daemon-socket/socket’: No such file or directory

Since Linux doesn't have a connectat() syscall like FreeBSD, there is
no way we can support this in a race-free way.
Diffstat (limited to 'src/libstore/fs-accessor.hh')
0 files changed, 0 insertions, 0 deletions