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

Function mac_system_check_audit

freebsd/security/mac/mac_audit.c:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 "int");
102
103int
104mac_system_check_audit(struct ucred *cred, void *record, int length)
105{
106 int error;
107
108 MAC_POLICY_CHECK_NOSLEEP(system_check_audit, cred, record, length);
109 MAC_CHECK_PROBE3(system_check_audit, error, cred, record, length);
110
111 return (error);
112}
113
114MAC_CHECK_PROBE_DEFINE2(system_check_auditctl, "struct ucred *",
115 "struct vnode *");

Callers 1

sys_auditFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected