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

Function change_svuid

freebsd/kern/kern_prot.c:2469–2474  ·  view source on GitHub ↗

- * Change a process's saved uid. * Side effects: newcred->cr_svuid will be updated. * References: newcred must be an exclusive credential reference for the * duration of the call. */

Source from the content-addressed store, hash-verified

2467 * duration of the call.
2468 */
2469void
2470change_svuid(struct ucred *newcred, uid_t svuid)
2471{
2472
2473 newcred->cr_svuid = svuid;
2474}
2475
2476/*-
2477 * Change a process's saved gid.

Callers 4

kern_prot.cFile · 0.85
sys_setreuidFunction · 0.85
sys_setresuidFunction · 0.85
do_execveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected