Go to the documentation of this file.
17#include <kernel/types.h>
18#include <kernel/refcnt.h>
33static inline bool creds_is_root(
const struct user_creds *creds)
35 return creds->
ruid == UID_ROOT;
uid_t egid
Definition: user.h:26
uid_t sgid
Definition: user.h:28
uid_t ruid
Definition: user.h:23
uid_t suid
Definition: user.h:27
uid_t rgid
Definition: user.h:24
uid_t euid
Definition: user.h:25
An atomic value.
Definition: atomic.h:22
User credentials.
Definition: user.h:21