From owner-freebsd-current Fri Dec 4 22:53:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA13602 for freebsd-current-outgoing; Fri, 4 Dec 1998 22:53:29 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from yonge.cs.toronto.edu (yonge.cs.toronto.edu [128.100.1.8]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA13445; Fri, 4 Dec 1998 22:53:25 -0800 (PST) (envelope-from dholland@cs.toronto.edu) Received: from qew.cs.toronto.edu ([128.100.1.13]) by yonge.cs.toronto.edu with SMTP id <86515-637>; Sat, 5 Dec 1998 01:53:07 -0500 Received: by qew.cs.toronto.edu id <37814-15902>; Sat, 5 Dec 1998 01:52:55 -0500 Subject: Re: kmem, tty, bind security enhancements commit. From: David Holland To: eivind@yes.no (Eivind Eklund) Date: Sat, 5 Dec 1998 01:52:49 -0500 Cc: dillon@apollo.backplane.com, freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG In-Reply-To: <19981201195028.A21015@follo.net> from "Eivind Eklund" at Dec 1, 98 01:50:28 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <98Dec5.015255edt.37814-15902@qew.cs.toronto.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm somewhat surprised at the getuid() test in ntalkd being there > at all - it seems like this should have been done with permissions > instead of getuid(), and shouldn't be needed anyway. It looks to me like a broken version of the test many inetd-spawned daemons have to make sure they're not accidentally run on the command line. Normally there'd be a getpeername() on stdin or something, but there isn't. -- - David A. Holland | (please continue to send non-list mail to dholland@cs.utoronto.ca | dholland@hcs.harvard.edu. yes, I moved.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message