Lines Matching defs:shmsegptr
93 mac_sysvshm_label_init(struct shmid_kernel *shmsegptr)
96 shmsegptr->label = mac_sysv_shm_label_alloc();
108 mac_sysvshm_label_destroy(struct shmid_kernel *shmsegptr)
111 mac_sysv_shm_label_free(shmsegptr->label);
112 shmsegptr->label = NULL;
116 mac_sysvshm_label_associate(struct ucred *cred, struct shmid_kernel *shmsegptr)
119 MAC_PERFORM(sysvshm_label_associate, cred, shmsegptr, shmsegptr->label);
123 mac_sysvshm_label_recycle(struct shmid_kernel *shmsegptr)
126 MAC_PERFORM(sysvshm_label_recycle, shmsegptr->label);
130 mac_sysvshm_check_shmat(struct ucred *cred, struct shmid_kernel *shmsegptr,
138 MAC_CHECK(sysvshm_check_shmat, cred, shmsegptr, shmsegptr->label,
145 mac_sysvshm_check_shmctl(struct ucred *cred, struct shmid_kernel *shmsegptr,
153 MAC_CHECK(sysvshm_check_shmctl, cred, shmsegptr, shmsegptr->label,
160 mac_sysvshm_check_shmdt(struct ucred *cred, struct shmid_kernel *shmsegptr)
167 MAC_CHECK(sysvshm_check_shmdt, cred, shmsegptr, shmsegptr->label);
173 mac_sysvshm_check_shmget(struct ucred *cred, struct shmid_kernel *shmsegptr,
181 MAC_CHECK(sysvshm_check_shmget, cred, shmsegptr, shmsegptr->label,