UbixOS
2.0
|
#include <ubixos/access.h>
Go to the source code of this file.
Functions | |
int | in_group_p (gid_t grp) |
int | sys_getEUID (struct thread *td, void *uap) |
int | sys_getGID (struct thread *td, void *uap) |
int | sys_getUID (struct thread *td, void *uap) |
int | sys_setGID (struct thread *td, struct sys_setGID_args *uap) |
int | sys_setUID (struct thread *td, struct sys_setUID_args *args) |
int in_group_p | ( | gid_t | grp | ) |
Definition at line 76 of file access.c.
References _current, taskStruct::egid, taskStruct::groups, NO_GROUP, and NR_GROUPS.
Referenced by permission().
int sys_getEUID | ( | struct thread * | td, |
void * | uap | ||
) |
Definition at line 55 of file access.c.
References _current, and taskStruct::uid.
int sys_getGID | ( | struct thread * | td, |
void * | uap | ||
) |
Definition at line 59 of file access.c.
References _current, and taskStruct::gid.
int sys_getUID | ( | struct thread * | td, |
void * | uap | ||
) |
Definition at line 51 of file access.c.
References _current, and taskStruct::uid.
int sys_setGID | ( | struct thread * | td, |
struct sys_setGID_args * | uap | ||
) |
Definition at line 63 of file access.c.
References _current, taskStruct::gid, and sys_setGID_args::gid.
int sys_setUID | ( | struct thread * | td, |
struct sys_setUID_args * | args | ||
) |
Definition at line 43 of file access.c.
References _current, taskStruct::uid, and sys_setUID_args::uid.