diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-10-27 07:56:29 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-10-27 07:56:29 +0000 |
commit | 1691111ad60eba52ce586a07d639efeac20f3023 (patch) | |
tree | d2cdddd099776016378695c8cd7d4b91a2a9ece2 /sys/compat | |
parent | 466edb6579b47a5bcb8b66fed24fbd70781bdfbd (diff) |
Allow segments to be used even after they were marked for deletion with
the IPC_RMID flag.
This is permitted as an extension beyond the standards and this is similar
to what other operating systems like linux do.
Because compat_linux(8) was emulating this already, remove that code
since now this is the default.
input from oga@, guenther@, jmc@, deraadt@
ok deraadt@
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ipc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_ipc.c b/sys/compat/linux/linux_ipc.c index 328777b0b45..ac296d0e082 100644 --- a/sys/compat/linux/linux_ipc.c +++ b/sys/compat/linux/linux_ipc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_ipc.c,v 1.14 2011/09/19 23:35:22 pirofti Exp $ */ +/* $OpenBSD: linux_ipc.c,v 1.15 2011/10/27 07:56:28 robert Exp $ */ /* $NetBSD: linux_ipc.c,v 1.10 1996/04/05 00:01:44 christos Exp $ */ /* @@ -595,8 +595,6 @@ linux_shmget(p, v, retval) SCARG(&bsa, size) = SCARG(uap, a2); SCARG(&bsa, shmflg) = SCARG(uap, a3); - SCARG(&bsa, shmflg) |= _SHM_RMLINGER; - return sys_shmget(p, &bsa, retval); } |