1
0
Fork 0
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:
Eelco Dolstra 2018-09-25 12:36:11 +02:00
parent 2d37e88319
commit 63b99af85a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 38 additions and 41 deletions

View file

@ -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);
}