mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Move Unix domain socket creation to libutil
Also drop multithread-unfriendly hacks like doing a temporary chmod/umask.
This commit is contained in:
parent
2d37e88319
commit
63b99af85a
3 changed files with 38 additions and 41 deletions
|
@ -553,4 +553,8 @@ typedef std::function<bool(const Path & path)> PathFilter;
|
|||
extern PathFilter defaultPathFilter;
|
||||
|
||||
|
||||
/* Create a Unix domain socket in listen mode. */
|
||||
AutoCloseFD createUnixDomainSocket(const Path & path, mode_t mode);
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue