summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-12-19 05:59:21 +0000
committertedu <tedu@openbsd.org>2014-12-19 05:59:21 +0000
commitfbab5b6cdee93fd0818b09c6201db020bd35a0fd (patch)
tree39a72a7aa63cbcbc57b980b1f4d8b345ffcbc99b /sys/kern/kern_sig.c
parentif you really must look inside the pool to decide if you've called (diff)
downloadwireguard-openbsd-fbab5b6cdee93fd0818b09c6201db020bd35a0fd.tar.xz
wireguard-openbsd-fbab5b6cdee93fd0818b09c6201db020bd35a0fd.zip
start retiring the nointr allocator. specify PR_WAITOK as a flag as a
marker for which pools are not interrupt safe. ok dlg
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index bd6d1dcdba4..dfbab676fd4 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.176 2014/12/16 18:30:04 tedu Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.177 2014/12/19 05:59:21 tedu Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -147,8 +147,8 @@ signal_init(void)
{
timeout_set(&proc_stop_to, proc_stop_sweep, NULL);
- pool_init(&sigacts_pool, sizeof(struct sigacts), 0, 0, 0, "sigapl",
- &pool_allocator_nointr);
+ pool_init(&sigacts_pool, sizeof(struct sigacts), 0, 0, PR_WAITOK,
+ "sigapl", NULL);
}
/*