/linux-6.12.1/ipc/ |
D | msgutil.c | 42 #define DATALEN_MSG ((size_t)PAGE_SIZE-sizeof(struct msg_msg)) 50 sizeof(struct msg_msg), in init_msg_buckets() 57 static struct msg_msg *alloc_msg(size_t len) in alloc_msg() 59 struct msg_msg *msg; in alloc_msg() 95 struct msg_msg *load_msg(const void __user *src, size_t len) in load_msg() 97 struct msg_msg *msg; in load_msg() 129 struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst) in copy_msg() 156 struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst) in copy_msg() 161 int store_msg(void __user *dest, struct msg_msg *msg, size_t len) in store_msg() 180 void free_msg(struct msg_msg *msg) in free_msg()
|
D | util.h | 198 extern void free_msg(struct msg_msg *msg); 199 extern struct msg_msg *load_msg(const void __user *src, size_t len); 200 extern struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst); 201 extern int store_msg(void __user *dest, struct msg_msg *msg, size_t len);
|
D | msg.c | 84 struct msg_msg *r_msg; 277 struct msg_msg *msg, *t; in freeque() 794 static int testmsg(struct msg_msg *msg, long type, int mode) in testmsg() 816 static inline int pipelined_send(struct msg_queue *msq, struct msg_msg *msg, in pipelined_send() 852 struct msg_msg *msg; in do_msgsnd() 1026 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill() 1045 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() 1047 struct msg_msg *copy; in prepare_copy() 1058 static inline void free_copy(struct msg_msg *copy) in free_copy() 1064 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() [all …]
|
D | mqueue.c | 130 struct msg_msg *msg; /* ptr of loaded message */ 191 static int msg_insert(struct msg_msg *msg, struct mqueue_inode_info *info) in msg_insert() 248 static inline struct msg_msg *msg_get(struct mqueue_inode_info *info) in msg_get() 252 struct msg_msg *msg; in msg_get() 279 struct msg_msg, m_list); in msg_get() 365 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_get_inode() 516 struct msg_msg *msg, *nmsg; in mqueue_evict_inode() 541 mq_treesize = info->attr.mq_maxmsg * sizeof(struct msg_msg) + in mqueue_evict_inode() 1037 struct msg_msg *message, in pipelined_send() 1070 struct msg_msg *msg_ptr; in do_mq_timedsend() [all …]
|
/linux-6.12.1/security/selinux/include/ |
D | objsec.h | 171 selinux_msg_msg(const struct msg_msg *msg_msg) in selinux_msg_msg() argument 173 return msg_msg->security + selinux_blob_sizes.lbs_msg_msg; in selinux_msg_msg()
|
/linux-6.12.1/include/linux/ |
D | msg.h | 9 struct msg_msg { struct
|
D | security.h | 55 struct msg_msg; 486 int security_msg_msg_alloc(struct msg_msg *msg); 487 void security_msg_msg_free(struct msg_msg *msg); 493 struct msg_msg *msg, int msqflg); 494 int security_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg, 1340 static inline int security_msg_msg_alloc(struct msg_msg *msg) in security_msg_msg_alloc() 1345 static inline void security_msg_msg_free(struct msg_msg *msg) in security_msg_msg_free() 1368 struct msg_msg *msg, int msqflg) in security_msg_queue_msgsnd() 1374 struct msg_msg *msg, in security_msg_queue_msgrcv()
|
D | lsm_hook_defs.h | 261 LSM_HOOK(int, 0, msg_msg_alloc_security, struct msg_msg *msg) 262 LSM_HOOK(void, LSM_RET_VOID, msg_msg_free_security, struct msg_msg *msg) 269 struct msg_msg *msg, int msqflg) 271 struct msg_msg *msg, struct task_struct *target, long type, int mode)
|
/linux-6.12.1/Documentation/security/ |
D | lsm.rst | 83 <kern_ipc_perm>` and :c:type:`struct msg_msg 84 <msg_msg>`; additionally, the definitions for :c:type:`struct 85 msg_msg <msg_msg>`, struct msg_queue, and struct shmid_kernel
|
/linux-6.12.1/security/smack/ |
D | smack.h | 342 static inline struct smack_known **smack_msg_msg(const struct msg_msg *msg) in smack_msg_msg()
|
D | smack_lsm.c | 3088 static int smack_msg_msg_alloc_security(struct msg_msg *msg) in smack_msg_msg_alloc_security() 3386 static int smack_msg_queue_msgsnd(struct kern_ipc_perm *isp, struct msg_msg *msg, in smack_msg_queue_msgsnd() 3406 struct msg_msg *msg, in smack_msg_queue_msgrcv()
|
/linux-6.12.1/security/ |
D | security.c | 811 static int lsm_msg_msg_alloc(struct msg_msg *mp) in lsm_msg_msg_alloc() 3757 int security_msg_msg_alloc(struct msg_msg *msg) in security_msg_msg_alloc() 3775 void security_msg_msg_free(struct msg_msg *msg) in security_msg_msg_free() 3859 struct msg_msg *msg, int msqflg) in security_msg_queue_msgsnd() 3879 int security_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg, in security_msg_queue_msgrcv()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 6002 static int selinux_msg_msg_alloc_security(struct msg_msg *msg) in selinux_msg_msg_alloc_security() 6072 static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg) in selinux_msg_queue_msgsnd() 6115 static int selinux_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg, in selinux_msg_queue_msgrcv()
|