| 1 | #ifndef _LINUX_MSG_H
|
| 2 | #define _LINUX_MSG_H
|
| 3 |
|
| 4 | #include <linux/list.h>
|
| 5 | #include <linux/time64.h>
|
| 6 | #include <uapi/linux/msg.h>
|
| 7 |
|
| 8 |
|
| 9 | struct msg_msg {
|
| 10 | struct list_head m_list;
|
| 11 | long m_type;
|
| 12 | size_t m_ts;
|
| 13 | struct msg_msgseg *next;
|
| 14 | void *security;
|
| 15 |
|
| 16 | };
|
| 17 |
|
| 18 |
|
| 19 | struct msg_queue {
|
| 20 | struct kern_ipc_perm q_perm;
|
| 21 | time64_t q_stime;
|
| 22 | time64_t q_rtime;
|
| 23 | time64_t q_ctime;
|
| 24 | unsigned long q_cbytes;
|
| 25 | unsigned long q_qnum;
|
| 26 | unsigned long q_qbytes;
|
| 27 | pid_t q_lspid;
|
| 28 | pid_t q_lrpid;
|
| 29 |
|
| 30 | struct list_head q_messages;
|
| 31 | struct list_head q_receivers;
|
| 32 | struct list_head q_senders;
|
| 33 | } __randomize_layout;
|
| 34 |
|
| 35 | #endif
|