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

Function mac_sysvmsq_check_msgrcv

freebsd/security/mac/mac_sysv_msg.c:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 "struct msg *");
190
191int
192mac_sysvmsq_check_msgrcv(struct ucred *cred, struct msg *msgptr)
193{
194 int error;
195
196 MAC_POLICY_CHECK_NOSLEEP(sysvmsq_check_msgrcv, cred, msgptr,
197 msgptr->label);
198 MAC_CHECK_PROBE2(sysvmsq_check_msgrcv, error, cred, msgptr);
199
200 return (error);
201}
202
203MAC_CHECK_PROBE_DEFINE2(sysvmsq_check_msgrmid, "struct ucred *",
204 "struct msg *");

Callers 1

kern_msgrcvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected