Skip site navigation (1)Skip section navigation (2)
Date:      	Sat, 5 Dec 1998 01:52:49 -0500
From:      David Holland <dholland@cs.toronto.edu>
To:        eivind@yes.no (Eivind Eklund)
Cc:        dillon@apollo.backplane.com, freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG
Subject:   Re: kmem, tty, bind security enhancements commit.
Message-ID:  <98Dec5.015255edt.37814-15902@qew.cs.toronto.edu>
In-Reply-To: <19981201195028.A21015@follo.net> from "Eivind Eklund" at Dec 1, 98 01:50:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
 > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98Dec5.015255edt.37814-15902>