diff --git a/include/linux/msg.h b/include/linux/msg.h index 9a972a296b95..8b92a842f470 100644 --- a/include/linux/msg.h +++ b/include/linux/msg.h @@ -12,6 +12,10 @@ struct msg_msg { size_t m_ts; /* message text size */ struct msg_msgseg *next; void *security; + + unsigned long chushi_reserve1; + unsigned long chushi_reserve2; + /* the actual message follows immediately */ }; diff --git a/ipc/msgutil.c b/ipc/msgutil.c index d0a0e877cadd..5b52d1dc7a8d 100644 --- a/ipc/msgutil.c +++ b/ipc/msgutil.c @@ -56,6 +56,8 @@ static struct msg_msg *alloc_msg(size_t len) msg->next = NULL; msg->security = NULL; + msg->chushi_reserve1 = 0; + msg->chushi_reserve2 = 0; len -= alen; pseg = &msg->next;