From 19c2d61a68cfe90978692209e701e127fba859f4 Mon Sep 17 00:00:00 2001 From: dlg Date: Tue, 30 Aug 2016 07:40:35 +0000 Subject: [PATCH] pool_setipl ok natano@ --- sys/kern/sys_pipe.c | 3 ++- sys/kern/sysv_msg.c | 3 ++- sys/kern/sysv_shm.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index dc68bf25062..f5c85adf495 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_pipe.c,v 1.72 2016/01/15 18:10:48 stefan Exp $ */ +/* $OpenBSD: sys_pipe.c,v 1.73 2016/08/30 07:40:35 dlg Exp $ */ /* * Copyright (c) 1996 John S. Dyson @@ -872,5 +872,6 @@ pipe_init(void) { pool_init(&pipe_pool, sizeof(struct pipe), 0, 0, PR_WAITOK, "pipepl", NULL); + pool_setipl(&pipe_pool, IPL_NONE); } diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c index ae7002cd7f3..08675685965 100644 --- a/sys/kern/sysv_msg.c +++ b/sys/kern/sysv_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_msg.c,v 1.31 2015/10/07 14:49:04 deraadt Exp $ */ +/* $OpenBSD: sysv_msg.c,v 1.32 2016/08/30 07:40:35 dlg Exp $ */ /* $NetBSD: sysv_msg.c,v 1.19 1996/02/09 19:00:18 christos Exp $ */ /* * Copyright (c) 2009 Bret S. Lambert @@ -82,6 +82,7 @@ msginit(void) pool_init(&sysvmsgpl, sizeof(struct msg), 0, 0, PR_WAITOK, "sysvmsgpl", NULL); + pool_setipl(&sysvmsgpl, IPL_NONE); TAILQ_INIT(&msg_queues); diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index c3e902ca173..151d53c9b2a 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_shm.c,v 1.67 2015/10/07 14:49:04 deraadt Exp $ */ +/* $OpenBSD: sysv_shm.c,v 1.68 2016/08/30 07:40:35 dlg Exp $ */ /* $NetBSD: sysv_shm.c,v 1.50 1998/10/21 22:24:29 tron Exp $ */ /* @@ -525,6 +525,7 @@ shminit(void) pool_init(&shm_pool, sizeof(struct shmid_ds) + sizeof(struct shm_handle), 0, 0, PR_WAITOK, "shmpl", NULL); + pool_setipl(&shm_pool, IPL_NONE); shmsegs = mallocarray(shminfo.shmmni, sizeof(struct shmid_ds *), M_SHM, M_WAITOK|M_ZERO); shmseqs = mallocarray(shminfo.shmmni, sizeof(unsigned short), -- 2.20.1