Deleted Added
full compact
sysv_msg.c (59839) sysv_msg.c (66085)
1/* $FreeBSD: head/sys/kern/sysv_msg.c 59839 2000-05-01 13:33:56Z peter $ */
1/* $FreeBSD: head/sys/kern/sysv_msg.c 66085 2000-09-19 22:59:22Z peter $ */
2
3/*
4 * Implementation of SVID messages
5 *
6 * Author: Daniel Boulet
7 *
8 * Copyright 1993 Daniel Boulet and RTMX Inc.
9 *

--- 173 unchanged lines hidden (view full) ---

183 free_msghdrs = &msghdrs[0];
184
185 if (msqids == NULL)
186 panic("msqids is NULL");
187
188 for (i = 0; i < msginfo.msgmni; i++) {
189 msqids[i].msg_qbytes = 0; /* implies entry is available */
190 msqids[i].msg_perm.seq = 0; /* reset to a known value */
2
3/*
4 * Implementation of SVID messages
5 *
6 * Author: Daniel Boulet
7 *
8 * Copyright 1993 Daniel Boulet and RTMX Inc.
9 *

--- 173 unchanged lines hidden (view full) ---

183 free_msghdrs = &msghdrs[0];
184
185 if (msqids == NULL)
186 panic("msqids is NULL");
187
188 for (i = 0; i < msginfo.msgmni; i++) {
189 msqids[i].msg_qbytes = 0; /* implies entry is available */
190 msqids[i].msg_perm.seq = 0; /* reset to a known value */
191 msqids[i].msg_perm.mode = 0;
191 }
192}
193SYSINIT(sysv_msg, SI_SUB_SYSV_MSG, SI_ORDER_FIRST, msginit, NULL)
194
195/*
196 * Entry point for all MSG calls
197 */
198int

--- 886 unchanged lines hidden ---
192 }
193}
194SYSINIT(sysv_msg, SI_SUB_SYSV_MSG, SI_ORDER_FIRST, msginit, NULL)
195
196/*
197 * Entry point for all MSG calls
198 */
199int

--- 886 unchanged lines hidden ---