socketplate ~master (2023-07-02T15:38:39.8213007)
Dub
Repo
Privileges
socketplate
privdrop
version(Posix)
@
safe
nothrow
struct
Privileges {
Nullable
!
uid_t
user
;
Nullable
!
gid_t
group
;
static
bool
resolve
(string username, string groupname, Privileges result);
}
Members
Static functions
resolve
bool
resolve
(string username, string groupname, Privileges result)
Variables
group
Nullable
!
gid_t
group
;
user
Nullable
!
uid_t
user
;
Meta
Source
See Implementation
socketplate
privdrop
functions
currentPrivileges
dropPrivileges
resolveGroupname
resolveUsername
structs
Privileges