diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-22 06:05:46 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-22 06:05:46 +0000 |
commit | 58e167147475b8367a25672642fd1841a7c4c1e6 (patch) | |
tree | 39517e7dd439b7734c981f57eb67360f7c017e46 /sys/kern/init_main.c | |
parent | 187690a3e0724e51c20a94a626cc80a07134107c (diff) |
Move p_sigacts from struct proc to struct process.
testing help mpi@
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 3e485ff18db..0e104a417f0 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.204 2014/02/12 05:47:36 guenther Exp $ */ +/* $OpenBSD: init_main.c,v 1.205 2014/03/22 06:05:45 guenther Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -299,8 +299,8 @@ main(void *framep) /* Initialize signal state for process 0. */ signal_init(); - p->p_sigacts = &sigacts0; - siginit(p); + pr->ps_sigacts = &sigacts0; + siginit(pr); /* Create the file descriptor table. */ p->p_fd = fdinit(NULL); @@ -604,7 +604,7 @@ start_init(void *arg) check_console(p); /* process 0 ignores SIGCHLD, but we can't */ - p->p_sigacts->ps_flags = 0; + p->p_p->ps_sigacts->ps_flags = 0; /* * Need just enough stack to hold the faked-up "execve()" arguments. |