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

Function mac_policy_xlock

freebsd/security/mac/mac_framework.c:272–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272static void
273mac_policy_xlock(void)
274{
275
276 WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
277 "mac_policy_xlock()");
278
279#ifndef MAC_STATIC
280 if (!mac_late)
281 return;
282
283 rms_wlock(&mac_policy_rms);
284 rm_wlock(&mac_policy_rm);
285#endif
286}
287
288static void
289mac_policy_xunlock(void)

Callers 2

mac_policy_registerFunction · 0.85
mac_policy_unregisterFunction · 0.85

Calls 1

rms_wlockFunction · 0.85

Tested by

no test coverage detected