summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:56:16 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2003-01-21 08:56:16 +0000
commit44956c9863dc03344b03bdf6a83acf4e743f8e50 (patch)
treef16a2fb9fa7a7fbc4c19e981d278d5f6eb53234d /sys/kern/kern_fork.c
parent1326e03f7f8018164ece91fc0a3f15f9c65ff64a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 73617572dce8..f84afa89ef4b 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -306,7 +306,7 @@ fork1(td, flags, pages, procp)
}
/* Allocate new proc. */
- newproc = uma_zalloc(proc_zone, M_WAITOK);
+ newproc = uma_zalloc(proc_zone, 0);
#ifdef MAC
mac_init_proc(newproc);
#endif
@@ -431,12 +431,12 @@ again:
*/
if (flags & RFSIGSHARE) {
MALLOC(newsigacts, struct sigacts *,
- sizeof(struct sigacts), M_SUBPROC, M_WAITOK);
+ sizeof(struct sigacts), M_SUBPROC, 0);
newprocsig = NULL;
} else {
newsigacts = NULL;
MALLOC(newprocsig, struct procsig *, sizeof(struct procsig),
- M_SUBPROC, M_WAITOK);
+ M_SUBPROC, 0);
}
/*