}
int
-mac_posixshm_check_open(kauth_cred_t cred, struct pshminfo *shm)
+mac_posixshm_check_open(kauth_cred_t cred, struct pshminfo *shm, int fflags)
{
int error = 0;
if (!mac_posixshm_enforce)
return 0;
- MAC_CHECK(posixshm_check_open, cred, shm, shm->pshm_label);
+ MAC_CHECK(posixshm_check_open, cred, shm, shm->pshm_label, fflags);
return (error);
}
int
mac_posixshm_check_truncate(kauth_cred_t cred, struct pshminfo *shm,
- size_t size)
+ off_t size)
{
int error = 0;