Searched refs:msqptr (Results 1 - 4 of 4) sorted by relevance
/xnu-2782.1.97/security/ |
H A D | mac_sysv_msg.c | 109 mac_sysvmsq_label_init(struct msqid_kernel *msqptr) argument 112 msqptr->label = mac_sysv_msgqueue_label_alloc(); 116 mac_sysvmsg_label_associate(kauth_cred_t cred, struct msqid_kernel *msqptr, argument 120 MAC_PERFORM(sysvmsg_label_associate, cred, msqptr, msqptr->label, 125 mac_sysvmsq_label_associate(kauth_cred_t cred, struct msqid_kernel *msqptr) argument 128 MAC_PERFORM(sysvmsq_label_associate, cred, msqptr, msqptr->label); 139 mac_sysvmsq_label_recycle(struct msqid_kernel *msqptr) argument 142 MAC_PERFORM(sysvmsq_label_recycle, msqptr 146 mac_sysvmsq_check_enqueue(kauth_cred_t cred, struct msg *msgptr, struct msqid_kernel *msqptr) argument 187 mac_sysvmsq_check_msqget(kauth_cred_t cred, struct msqid_kernel *msqptr) argument 200 mac_sysvmsq_check_msqsnd(kauth_cred_t cred, struct msqid_kernel *msqptr) argument 213 mac_sysvmsq_check_msqrcv(kauth_cred_t cred, struct msqid_kernel *msqptr) argument 226 mac_sysvmsq_check_msqctl(kauth_cred_t cred, struct msqid_kernel *msqptr, int cmd) argument [all...] |
H A D | mac_framework.h | 416 struct msqid_kernel *msqptr, struct msg *msgptr); 420 struct msqid_kernel *msqptr); 424 struct msqid_kernel *msqptr, int cmd); 426 struct msqid_kernel *msqptr); 428 struct msqid_kernel *msqptr); 430 struct msqid_kernel *msqptr); 432 struct msqid_kernel *msqptr); 433 void mac_sysvmsq_label_init(struct msqid_kernel *msqptr); 434 void mac_sysvmsq_label_recycle(struct msqid_kernel *msqptr);
|
H A D | mac_policy.h | 3859 struct msqid_kernel *msqptr, 3915 struct msqid_kernel *msqptr, 3957 @param msqptr The message queue 3967 struct msqid_kernel *msqptr, 3974 @param msqptr The message queue requested 3986 struct msqid_kernel *msqptr, 3992 @param msqptr The message queue to receive from 4003 struct msqid_kernel *msqptr, 4009 @param msqptr The message queue to send to 4020 struct msqid_kernel *msqptr, [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | sysv_msg.c | 395 struct msqid_kernel *msqptr; local 421 msqptr = &msqids[msqid]; 423 if (msqptr->u.msg_qbytes == 0) { 430 if (msqptr->u.msg_perm._seq != IPCID_TO_SEQ(uap->msqid)) { 438 eval = mac_sysvmsq_check_msqctl(kauth_cred_get(), msqptr, cmd); 451 if ((eval = ipcperm(cred, &msqptr->u.msg_perm, IPC_M))) 463 for (msghdr = msqptr->u.msg_first; msghdr != NULL; 471 msghdr = msqptr->u.msg_first; 476 msqptr->u.msg_cbytes -= msghdr->msg_ts; 477 msqptr 594 struct msqid_kernel *msqptr = NULL; local 722 struct msqid_kernel *msqptr; local 945 mac_sysvmsg_label_associate(kauth_cred_get(), msqptr, msghdr); local 1138 struct msqid_kernel *msqptr; local [all...] |
Completed in 37 milliseconds