Date: Sun, 05 Jan 2020 05:28:12 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 243103] fork fails to clone open message queue handles into the child process (in violation of POSIX std.) Message-ID: <bug-243103-99-M6svgpBUEk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243103-99@https.bugs.freebsd.org/bugzilla/> References: <bug-243103-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243103 Warner Losh <imp@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org --- Comment #1 from Warner Losh <imp@FreeBSD.org> --- Try diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index b738dbc77b4..913f03e12d5 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -229,7 +229,7 @@ static uma_zone_t mqueue_zone; static uma_zone_t mvdata_zone; static uma_zone_t mqnoti_zone; static struct vop_vector mqfs_vnodeops; -static struct fileops mqueueops; +static struct fileops mqueueops =3D {.fo_flags =3D DFLAG_PASSABLE= }; static unsigned mqfs_osd_jail_slot; /* --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243103-99-M6svgpBUEk>