forked from luck/tmp_suning_uos_patched
34b56df922
All of the users are now in ipc/msg.c so make the definition local to that file to make code maintenance easier. AKA to prevent rebuilding the entire kernel when struct msg_queue changes. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
19 lines
395 B
C
19 lines
395 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_MSG_H
|
|
#define _LINUX_MSG_H
|
|
|
|
#include <linux/list.h>
|
|
#include <uapi/linux/msg.h>
|
|
|
|
/* one msg_msg structure for each message */
|
|
struct msg_msg {
|
|
struct list_head m_list;
|
|
long m_type;
|
|
size_t m_ts; /* message text size */
|
|
struct msg_msgseg *next;
|
|
void *security;
|
|
/* the actual message follows immediately */
|
|
};
|
|
|
|
#endif /* _LINUX_MSG_H */
|