Home
last modified time | relevance | path

Searched refs:q_perm (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/ipc/
Dmsg.c72 #define msg_unlock(msq) ipc_unlock(&(msq)->q_perm)
154 return container_of(ipcp, struct msg_queue, q_perm); in msg_lock()
165 return container_of(ipcp, struct msg_queue, q_perm); in msg_lock_check()
170 ipc_rmid(&msg_ids(ns), &s->q_perm); in msg_rmid()
191 msq->q_perm.mode = msgflg & S_IRWXUGO; in newque()
192 msq->q_perm.key = key; in newque()
194 msq->q_perm.security = NULL; in newque()
204 id = ipc_addid(&msg_ids(ns), &msq->q_perm, ns->msg_ctlmni); in newque()
222 return msq->q_perm.id; in newque()
282 struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm); in freeque()
[all …]
/linux-2.6.39/include/linux/
Dmsg.h89 struct kern_ipc_perm q_perm; member
/linux-2.6.39/security/selinux/
Dhooks.c4801 rc = ipc_alloc_security(current, &msq->q_perm, SECCLASS_MSGQ); in selinux_msg_queue_alloc_security()
4805 isec = msq->q_perm.security; in selinux_msg_queue_alloc_security()
4808 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_alloc_security()
4813 ipc_free_security(&msq->q_perm); in selinux_msg_queue_alloc_security()
4821 ipc_free_security(&msq->q_perm); in selinux_msg_queue_free_security()
4830 isec = msq->q_perm.security; in selinux_msg_queue_associate()
4833 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_associate()
4863 err = ipc_has_perm(&msq->q_perm, perms); in selinux_msg_queue_msgctl()
4875 isec = msq->q_perm.security; in selinux_msg_queue_msgsnd()
4893 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_msgsnd()
[all …]
/linux-2.6.39/security/smack/
Dsmack_lsm.c2314 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_alloc_security()
2328 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_free_security()
2341 return (char *)msq->q_perm.security; in smack_of_msq()
2358 ad.a.u.ipc_id = msq->q_perm.id; in smk_curacc_msq()