| 267 | "gid_t *"); |
| 268 | |
| 269 | int |
| 270 | mac_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 | |
| 280 | MAC_CHECK_PROBE_DEFINE3(cred_check_setreuid, "struct ucred *", "uid_t", |
| 281 | "uid_t"); |