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

Function destroy

freebsd/security/mac_portacl/mac_portacl.c:155–161  ·  view source on GitHub ↗

* Note that there is an inherent race condition in the unload of modules * and access via sysctl. */

Source from the content-addressed store, hash-verified

153 * and access via sysctl.
154 */
155static void
156destroy(struct mac_policy_conf *mpc)
157{
158
159 mtx_destroy(&rule_mtx);
160 toast_rules(&rule_head);
161}
162
163static void
164init(struct mac_policy_conf *mpc)

Callers

nothing calls this directly

Calls 1

toast_rulesFunction · 0.85

Tested by

no test coverage detected