Updated: April 19, 2023 |
Structure that describes user and group credentials
#include <sys/neutrino.h> struct _cred_info { uid_t ruid; uid_t euid; uid_t suid; gid_t rgid; gid_t egid; gid_t sgid; uint32_t ngroups; gid_t grouplist[__NGROUPS_MAX]; };
The _cred_info structure describes user and group credentials. The members include:
This structure is defined with a fixed-sized grouplist field for backward compatibility, but it's often used with an arbitrary-sized grouplist array.