Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/ucred.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct proc; | struct proc; | ||||
struct thread; | struct thread; | ||||
void change_egid(struct ucred *newcred, gid_t egid); | void change_egid(struct ucred *newcred, gid_t egid); | ||||
void change_euid(struct ucred *newcred, struct uidinfo *euip); | void change_euid(struct ucred *newcred, struct uidinfo *euip); | ||||
void change_rgid(struct ucred *newcred, gid_t rgid); | void change_rgid(struct ucred *newcred, gid_t rgid); | ||||
void change_ruid(struct ucred *newcred, struct uidinfo *ruip); | void change_ruid(struct ucred *newcred, struct uidinfo *ruip, int do_chgproccnt); | ||||
void change_svgid(struct ucred *newcred, gid_t svgid); | void change_svgid(struct ucred *newcred, gid_t svgid); | ||||
void change_svuid(struct ucred *newcred, uid_t svuid); | void change_svuid(struct ucred *newcred, uid_t svuid); | ||||
void crcopy(struct ucred *dest, struct ucred *src); | void crcopy(struct ucred *dest, struct ucred *src); | ||||
struct ucred *crcopysafe(struct proc *p, struct ucred *cr); | struct ucred *crcopysafe(struct proc *p, struct ucred *cr); | ||||
struct ucred *crdup(struct ucred *cr); | struct ucred *crdup(struct ucred *cr); | ||||
void crextend(struct ucred *cr, int n); | void crextend(struct ucred *cr, int n); | ||||
void proc_set_cred_init(struct proc *p, struct ucred *cr); | void proc_set_cred_init(struct proc *p, struct ucred *cr); | ||||
struct ucred *proc_set_cred(struct proc *p, struct ucred *cr); | struct ucred *proc_set_cred(struct proc *p, struct ucred *cr); | ||||
Show All 9 Lines |