- * Change a process's real gid. * Side effects: newcred->cr_rgid will be updated. * References: newcred must be an exclusive credential reference for the * duration of the call. */
| 2454 | * duration of the call. |
| 2455 | */ |
| 2456 | void |
| 2457 | change_rgid(struct ucred *newcred, gid_t rgid) |
| 2458 | { |
| 2459 | |
| 2460 | newcred->cr_rgid = rgid; |
| 2461 | } |
| 2462 | |
| 2463 | /*- |
| 2464 | * Change a process's saved uid. |
no outgoing calls
no test coverage detected