Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2393
void
2394
setsugid(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_proc
Function · 0.85
do_jail_attach
Function · 0.85
kern_prot.c
File · 0.85
sys_seteuid
Function · 0.85
sys_setegid
Function · 0.85
kern_setgroups
Function · 0.85
sys_setreuid
Function · 0.85
sys_setregid
Function · 0.85
sys_setresuid
Function · 0.85
sys_setresgid
Function · 0.85
do_execve
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected