From: Alan T. DeKok Date: Thu, 11 Jan 2024 14:06:27 +0000 (-0500) Subject: unix sockets need permissions, uid, and gid X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563adac851fe599dbdc2204aed98294fb076bd13;p=thirdparty%2Ffreeradius-server.git unix sockets need permissions, uid, and gid --- diff --git a/src/lib/util/socket.h b/src/lib/util/socket.h index cdd05d8c3dc..1c80c5e2443 100644 --- a/src/lib/util/socket.h +++ b/src/lib/util/socket.h @@ -72,7 +72,10 @@ typedef struct { } inet; struct { - char const *path; //!< Unix socket path. + char const *path; //!< Unix socket path. + mode_t perm; + uid_t uid; + gid_t gid; } unix; }; int af; //!< AF_INET, AF_INET6, or AF_UNIX