Module Name: src Committed By: pooka Date: Tue May 11 14:57:20 UTC 2010
Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Initialize p_pgrp when creating a new process structure (and not only for proc0). This makes something work. I just can't remember what it was anymore. To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/rump/librump/rumpkern/rump.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpkern/rump.c diff -u src/sys/rump/librump/rumpkern/rump.c:1.170 src/sys/rump/librump/rumpkern/rump.c:1.171 --- src/sys/rump/librump/rumpkern/rump.c:1.170 Sat May 1 14:40:36 2010 +++ src/sys/rump/librump/rumpkern/rump.c Tue May 11 14:57:20 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rump.c,v 1.170 2010/05/01 14:40:36 pooka Exp $ */ +/* $NetBSD: rump.c,v 1.171 2010/05/11 14:57:20 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.170 2010/05/01 14:40:36 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.171 2010/05/11 14:57:20 pooka Exp $"); #include <sys/systm.h> #define ELFSIZE ARCH_ELFSIZE @@ -522,6 +522,7 @@ p->p_emul = &emul_netbsd; p->p_fd = fd_init(NULL); p->p_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE); + p->p_pgrp = &rump_pgrp; l->l_cred = rump_cred_suserget(); } else { p = &proc0;