fs: Initial VFS port
This commit is contained in:
@@ -15,3 +15,7 @@ bool ident_in_group(const struct ident* identity, gid_t gid, bool use_real) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ident_is_privileged(const struct ident* identity, bool use_real) {
|
||||
return (use_real ? identity->uid : identity->euid) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user