linux_ipc.c (9313) | linux_ipc.c (12458) |
---|---|
1/*- 2 * Copyright (c) 1994-1995 S�ren Schmidt 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1994-1995 S�ren Schmidt 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $Id: linux_ipc.c,v 1.2 1995/06/07 21:27:57 sos Exp $ | 28 * $Id: linux_ipc.c,v 1.1 1995/06/25 17:32:36 sos Exp $ |
29 */ 30 | 29 */ 30 |
31#include <i386/linux/linux.h> | |
32#include <sys/param.h> 33#include <sys/systm.h> | 31#include <sys/param.h> 32#include <sys/systm.h> |
34#include <sys/exec.h> | 33#include <sys/sysproto.h> |
35#include <sys/proc.h> | 34#include <sys/proc.h> |
36#include <sys/sem.h> | |
37#include <sys/shm.h> | 35#include <sys/shm.h> |
38#include <sys/msg.h> | |
39 | 36 |
40#include <vm/vm.h> | 37#include <i386/linux/linux.h> 38#include <i386/linux/sysproto.h> |
41 42struct linux_ipc_perm { 43 linux_key_t key; 44 unsigned short uid; 45 unsigned short gid; 46 unsigned short cuid; 47 unsigned short cgid; 48 unsigned short mode; --- 260 unchanged lines hidden --- | 39 40struct linux_ipc_perm { 41 linux_key_t key; 42 unsigned short uid; 43 unsigned short gid; 44 unsigned short cuid; 45 unsigned short cgid; 46 unsigned short mode; --- 260 unchanged lines hidden --- |