Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Share everything with proc0.



details:   https://anonhg.NetBSD.org/src/rev/dff10d2ee327
branches:  trunk
changeset: 472510:dff10d2ee327
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Apr 30 21:40:30 1999 +0000

description:
Share everything with proc0.

diffstat:

 sys/kern/kern_kthread.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 1999b52f8aba -r dff10d2ee327 sys/kern/kern_kthread.c
--- a/sys/kern/kern_kthread.c   Fri Apr 30 21:39:51 1999 +0000
+++ b/sys/kern/kern_kthread.c   Fri Apr 30 21:40:30 1999 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: kern_kthread.c,v 1.4 1999/04/12 00:24:17 gwr Exp $     */
+/*     $NetBSD: kern_kthread.c,v 1.5 1999/04/30 21:40:30 thorpej Exp $ */
 
 /*-
- * Copyright (c) 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
@@ -75,7 +75,8 @@
        va_list ap;
 
        /* First, create the new process. */
-       error = fork1(&proc0, FORK_SHAREVM, NULL, &p2);
+       error = fork1(&proc0, FORK_SHAREVM | FORK_SHARECWD | FORK_SHAREFILES |
+           FORK_SHARESIGS, NULL, &p2);
        if (error)
                return (error);
 



Home | Main Index | Thread Index | Old Index