From owner-freebsd-current Mon Jan 26 01:03:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA28509 for current-outgoing; Mon, 26 Jan 1998 01:03:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (sf3-ppp86.well.com [206.15.84.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28504 for ; Mon, 26 Jan 1998 01:03:31 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.7) with SMTP id BAA00937 for ; Mon, 26 Jan 1998 01:05:04 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Mon, 26 Jan 1998 01:05:03 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org Reply-To: Alex To: current Subject: inetd patch/idea Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-248059714-885805503=:437" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-248059714-885805503=:437 Content-Type: TEXT/PLAIN; charset=US-ASCII I've been messing around with a little program that provides a front end for inetd.conf, and in doing so, I noticed two things: 1.) inetd.conf wasn't re-read on reception of a SIGHUP 2.) When a SIGTERM is recieved, inetd died a horrible death and didn't clean up its pid file. A little investigation proved that all the code for the re-reading of inet.conf was actually there, however, it was among the list of signals to be blocked. I haven't seen any ill effects of removing it from the list, however if there are any, it's simple enough to generate two lists of signals to be blocked. El hombre mas brillante dijo una vez "Cuidado hay NT". (it's a nerd thing) - alex --0-248059714-885805503=:437 Content-Type: APPLICATION/octet-stream; name="inetd.diff.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: H4sICExQzDQCA2luZXRkLmRpZmYAlVV/b9s2EP2b+hTXDJhlS3acH7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