summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-02-14 22:58:16 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-02-14 22:58:16 +0000
commit482b0bbc343bdf56092134379e2aeed8918e025b (patch)
treed18d1c25884411ec6422c866ac8218ae85fdb282 /sys
parent9509cfe7812910c8cda8dca0cf10a97a47698d07 (diff)
No more RFORK_FDSAHRE option, always allow FORK_SHAREFILES.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_fork.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 797b49535c6..6c8c72c04e5 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.50 2002/02/05 15:41:24 art Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.51 2002/02/14 22:58:15 art Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -154,13 +154,6 @@ fork1(p1, exitsig, flags, stack, stacksize, func, arg, retval)
extern void endtsleep __P((void *));
extern void realitexpire __P((void *));
-#ifndef RFORK_FDSHARE
- /* XXX - Too dangerous right now. */
- if (flags & FORK_SHAREFILES) {
- return (EOPNOTSUPP);
- }
-#endif
-
/*
* Although process entries are dynamically created, we still keep
* a global limit on the maximum number we will create. We reserve