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

Function mac_policy_fastpath_disable

freebsd/security/mac/mac_framework.c:462–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462static void
463mac_policy_fastpath_disable(struct mac_policy_fastpath_elem *mpfe)
464{
465
466 MPASS(mpfe->count >= 1);
467 mpfe->count--;
468 if (mpfe->count == 0) {
469 MPASS(*mpfe->flag == true);
470 *mpfe->flag = false;
471 }
472}
473
474static void
475mac_policy_fastpath_register(struct mac_policy_conf *mpc)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected