From owner-freebsd-bugs Wed Oct 7 07:50:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA03632 for freebsd-bugs-outgoing; Wed, 7 Oct 1998 07:50:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA03599 for ; Wed, 7 Oct 1998 07:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA29422; Wed, 7 Oct 1998 07:50:01 -0700 (PDT) Date: Wed, 7 Oct 1998 07:50:01 -0700 (PDT) Message-Id: <199810071450.HAA29422@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Subject: Re: bin/8183: Signal handlers in inetd.c are unsafe Reply-To: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/8183; it has been noted by GNATS. From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) To: gram@cdsec.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/8183: Signal handlers in inetd.c are unsafe Date: 07 Oct 1998 16:45:56 +0200 gram@cdsec.com writes: > The following inetd.c fixes the problem, by modifying the signal > > handlers to write character flags to a pipe, and having the main > > select() loop read these flags and call the original handlers. > > The code also adds a new feature to inetd, allowing services > > to be bound to specific addresses. This feature is enabled by > > using the -X flag. A manual page is appended after the inetd.c > > file. Please send unidiffs, not entire source files. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message