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

Function mac_cred_check_setgroups

freebsd/security/mac/mac_cred.c:269–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 "gid_t *");
268
269int
270mac_cred_check_setgroups(struct ucred *cred, int ngroups, gid_t *gidset)
271{
272 int error;
273
274 MAC_POLICY_CHECK_NOSLEEP(cred_check_setgroups, cred, ngroups, gidset);
275 MAC_CHECK_PROBE3(cred_check_setgroups, error, cred, ngroups, gidset);
276
277 return (error);
278}
279
280MAC_CHECK_PROBE_DEFINE3(cred_check_setreuid, "struct ucred *", "uid_t",
281 "uid_t");

Callers 1

kern_setgroupsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected