Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Don't share file descriptors betwe...
details: https://anonhg.NetBSD.org/src/rev/0ec88d317727
branches: trunk
changeset: 337501:0ec88d317727
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Apr 17 13:03:38 2015 +0000
description:
Don't share file descriptors between proc0 and local clients.
diffstat:
sys/rump/librump/rumpkern/lwproc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 468b24b386fc -r 0ec88d317727 sys/rump/librump/rumpkern/lwproc.c
--- a/sys/rump/librump/rumpkern/lwproc.c Fri Apr 17 13:02:54 2015 +0000
+++ b/sys/rump/librump/rumpkern/lwproc.c Fri Apr 17 13:03:38 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lwproc.c,v 1.33 2015/04/03 16:40:55 pooka Exp $ */
+/* $NetBSD: lwproc.c,v 1.34 2015/04/17 13:03:38 pooka Exp $ */
/*
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#define RUMP__CURLWP_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.33 2015/04/03 16:40:55 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lwproc.c,v 1.34 2015/04/17 13:03:38 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -327,7 +327,7 @@
bool newproc = false;
if (p == NULL) {
- p = lwproc_newproc(&proc0, rump_vmspace_local, 0);
+ p = lwproc_newproc(&proc0, rump_vmspace_local, RUMP_RFCFDG);
newproc = true;
}
Home |
Main Index |
Thread Index |
Old Index