cvs commit: src/lib/libc/gen getpwent.c

Jacques A. Vidrine nectar at FreeBSD.org
Mon Apr 21 07:05:01 PDT 2003


On Mon, Apr 21, 2003 at 06:57:58AM -0700, Jacques A. Vidrine wrote:
> nectar      2003/04/21 06:57:58 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/gen         getpwent.c 
>   Log:
>   Don't try to access the NIS `master' maps unless we have superuser
>   privileges.  To do so may cause the NIS server to log spurious and
>   annoying `access denied' messages.
>   
>   Reported by:    Philip Paeps <philip at paeps.cx>
>   Sponsored by:   DARPA, Network Associates Laboratories
>   
>   Revision  Changes    Path
>   1.77      +9 -7      src/lib/libc/gen/getpwent.c


I had originally left this test out, because it is a silly test :-)
The access control, such as it is, is done based on the source port
number.

Cheers,
-- 
Jacques A. Vidrine <nectar at celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine at verio.net     .  nectar at FreeBSD.org  .          nectar at kth.se


More information about the cvs-src mailing list