Deleted Added
full compact
freebsd32_ipc.h (174380) freebsd32_ipc.h (174381)
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/compat/freebsd32/freebsd32_ipc.h 174380 2007-12-06 23:23:16Z jhb $
26 * $FreeBSD: head/sys/compat/freebsd32/freebsd32_ipc.h 174381 2007-12-06 23:35:29Z jhb $
27 */
28
29#ifndef _COMPAT_FREEBSD32_FREEBSD32_IPC_H_
30#define _COMPAT_FREEBSD32_FREEBSD32_IPC_H_
31
32struct ipc_perm32 {
33 uint16_t cuid;
34 uint16_t cgid;
35 uint16_t uid;
36 uint16_t gid;
37 uint16_t mode;
38 uint16_t seq;
39 uint32_t key;
40};
41
27 */
28
29#ifndef _COMPAT_FREEBSD32_FREEBSD32_IPC_H_
30#define _COMPAT_FREEBSD32_FREEBSD32_IPC_H_
31
32struct ipc_perm32 {
33 uint16_t cuid;
34 uint16_t cgid;
35 uint16_t uid;
36 uint16_t gid;
37 uint16_t mode;
38 uint16_t seq;
39 uint32_t key;
40};
41
42struct semid_ds32 {
43 struct ipc_perm32 sem_perm;
44 uint32_t sem_base;
45 unsigned short sem_nsems;
46 int32_t sem_otime;
47 int32_t sem_pad1;
48 int32_t sem_ctime;
49 int32_t sem_pad2;
50 int32_t sem_pad3[4];
51};
52
53union semun32 {
54 int val;
55 uint32_t buf;
56 uint32_t array;
57};
58
59struct msqid_ds32 {
60 struct ipc_perm32 msg_perm;
61 uint32_t msg_first;
62 uint32_t msg_last;
63 uint32_t msg_cbytes;
64 uint32_t msg_qnum;
65 uint32_t msg_qbytes;
66 pid_t msg_lspid;
67 pid_t msg_lrpid;
68 int32_t msg_stime;
69 int32_t msg_pad1;
70 int32_t msg_rtime;
71 int32_t msg_pad2;
72 int32_t msg_ctime;
73 int32_t msg_pad3;
74 int32_t msg_pad4[4];
75};
76
42struct shmid_ds32 {
43 struct ipc_perm32 shm_perm;
44 int32_t shm_segsz;
45 int32_t shm_lpid;
46 int32_t shm_cpid;
47 int16_t shm_nattch;
48 int32_t shm_atime;
49 int32_t shm_dtime;

--- 22 unchanged lines hidden ---
77struct shmid_ds32 {
78 struct ipc_perm32 shm_perm;
79 int32_t shm_segsz;
80 int32_t shm_lpid;
81 int32_t shm_cpid;
82 int16_t shm_nattch;
83 int32_t shm_atime;
84 int32_t shm_dtime;

--- 22 unchanged lines hidden ---