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

Function mac_kld_check_stat

freebsd/security/mac/mac_system.c:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141MAC_CHECK_PROBE_DEFINE1(kld_check_stat, "struct ucred *");
142
143int
144mac_kld_check_stat(struct ucred *cred)
145{
146 int error;
147
148 MAC_POLICY_CHECK_NOSLEEP(kld_check_stat, cred);
149 MAC_CHECK_PROBE1(kld_check_stat, error, cred);
150
151 return (error);
152}
153
154MAC_CHECK_PROBE_DEFINE2(system_check_acct, "struct ucred *",
155 "struct vnode *");

Callers 6

sys_kldfindFunction · 0.85
sys_kldnextFunction · 0.85
kern_kldstatFunction · 0.85
sys_kldfirstmodFunction · 0.85
sys_kldsymFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected