Home
last modified time | relevance | path

Searched refs:msq (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/ipc/
H A Dmsg.c131 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free() local
133 security_msg_queue_free(&msq->q_perm); in msg_rcu_free()
134 kfree(msq); in msg_rcu_free()
146 struct msg_queue *msq; in newque() local
151 msq = kmalloc(sizeof(*msq), GFP_KERNEL_ACCOUNT); in newque()
152 if (unlikely(!msq)) in newque()
155 msq->q_perm.mode = msgflg & S_IRWXUGO; in newque()
156 msq->q_perm.key = key; in newque()
158 msq->q_perm.security = NULL; in newque()
159 retval = security_msg_queue_alloc(&msq->q_perm); in newque()
[all …]
/openbmc/linux/include/linux/
H A Dsecurity.h455 int security_msg_queue_alloc(struct kern_ipc_perm *msq);
456 void security_msg_queue_free(struct kern_ipc_perm *msq);
457 int security_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg);
458 int security_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd);
459 int security_msg_queue_msgsnd(struct kern_ipc_perm *msq,
461 int security_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg,
1262 static inline int security_msg_queue_alloc(struct kern_ipc_perm *msq) in security_msg_queue_alloc() argument
1267 static inline void security_msg_queue_free(struct kern_ipc_perm *msq) in security_msg_queue_free() argument
1270 static inline int security_msg_queue_associate(struct kern_ipc_perm *msq, in security_msg_queue_associate() argument
1276 static inline int security_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in security_msg_queue_msgctl() argument
[all …]
/openbmc/linux/security/
H A Dsecurity.c3545 int security_msg_queue_alloc(struct kern_ipc_perm *msq) in security_msg_queue_alloc() argument
3547 int rc = lsm_ipc_alloc(msq); in security_msg_queue_alloc()
3551 rc = call_int_hook(msg_queue_alloc_security, 0, msq); in security_msg_queue_alloc()
3553 security_msg_queue_free(msq); in security_msg_queue_alloc()
3563 void security_msg_queue_free(struct kern_ipc_perm *msq) in security_msg_queue_free() argument
3565 call_void_hook(msg_queue_free_security, msq); in security_msg_queue_free()
3566 kfree(msq->security); in security_msg_queue_free()
3567 msq->security = NULL; in security_msg_queue_free()
3581 int security_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in security_msg_queue_associate() argument
3583 return call_int_hook(msg_queue_associate, 0, msq, msqflg); in security_msg_queue_associate()
[all …]
/openbmc/linux/security/selinux/
H A Dhooks.c6004 static int selinux_msg_queue_alloc_security(struct kern_ipc_perm *msq) in selinux_msg_queue_alloc_security() argument
6010 isec = selinux_ipc(msq); in selinux_msg_queue_alloc_security()
6014 ad.u.ipc_id = msq->key; in selinux_msg_queue_alloc_security()
6020 static int selinux_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in selinux_msg_queue_associate() argument
6026 isec = selinux_ipc(msq); in selinux_msg_queue_associate()
6029 ad.u.ipc_id = msq->key; in selinux_msg_queue_associate()
6035 static int selinux_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in selinux_msg_queue_msgctl() argument
6060 return ipc_has_perm(msq, perms); in selinux_msg_queue_msgctl()
6063 static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg) in selinux_msg_queue_msgsnd() argument
6071 isec = selinux_ipc(msq); in selinux_msg_queue_msgsnd()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/
H A Dglibc-package.inc161 …oe_multilib_header bits/local_lim.h bits/mman.h bits/msq.h bits/pthreadtypes.h bits/pthreadtypes-a…
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt1665 -rw-r--r-- root root 2818 ./usr/include/bits/msq.h
1666 -rw-r--r-- root root 1283 ./usr/include/bits/msq-pad.h
H A Dbuildhistory_filelist1.txt1664 -rw-r--r-- root root 2818 ./usr/include/bits/msq.h
1665 -rw-r--r-- root root 1283 ./usr/include/bits/msq-pad.h