MCPcopy Create free account
hub / github.com/F-Stack/f-stack / setsugid

Function setsugid

freebsd/kern/kern_prot.c:2393–2399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2391}
2392
2393void
2394setsugid(struct proc *p)
2395{
2396
2397 PROC_LOCK_ASSERT(p, MA_OWNED);
2398 p->p_flag |= P_SUGID;
2399}
2400
2401/*-
2402 * Change a process's effective uid.

Callers 11

sys___mac_set_procFunction · 0.85
do_jail_attachFunction · 0.85
kern_prot.cFile · 0.85
sys_seteuidFunction · 0.85
sys_setegidFunction · 0.85
kern_setgroupsFunction · 0.85
sys_setreuidFunction · 0.85
sys_setregidFunction · 0.85
sys_setresuidFunction · 0.85
sys_setresgidFunction · 0.85
do_execveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected