From owner-cvs-lib Mon Aug 14 16:53:04 1995 Return-Path: cvs-lib-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id QAA10652 for cvs-lib-outgoing; Mon, 14 Aug 1995 16:53:04 -0700 Received: (from wpaul@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id QAA10635 ; Mon, 14 Aug 1995 16:52:51 -0700 Date: Mon, 14 Aug 1995 16:52:51 -0700 From: Bill Paul Message-Id: <199508142352.QAA10635@freefall.FreeBSD.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/net rcmd.c Sender: cvs-lib-owner@freebsd.org Precedence: bulk wpaul 95/08/14 16:52:50 Modified: lib/libc/net rcmd.c Log: Submitted by: Bill Fenner Fix for PR #510. The original problem was that __ivaliduser() was failing to grant access to a machine listed in a +@netgroup specified in /etc/hosts.equiv, even though the host being checked was most certainly in the +@netgroup. The /etc/hosts.equiv file in question looked like this: localhost +@netgroup The reason for the failure was had to do with gethostbyaddr(). Inside the __ivaliduser() routine, we need to do a gethostbyaddr() in order to get back the actual name of the host we're trying to validate since we're only passed its IP address. The hostname returned by gethostbyaddr() is later passed as an argument to innetgr(). The problem is that __icheckhost() later does a gethostbyname() of its own, which clobbers the buffer returned by gethostbyaddr(). The fix is just to copy the hostname into a private buffer and use _that_ as the 'host' argument that gets passed to innetgr(). And here I was crawling all over the innetgr() code thinking the problem was there. *sigh* From owner-cvs-lib Tue Aug 15 12:38:06 1995 Return-Path: cvs-lib-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id MAA22082 for cvs-lib-outgoing; Tue, 15 Aug 1995 12:38:06 -0700 Received: (from joerg@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id MAA22070 ; Tue, 15 Aug 1995 12:38:02 -0700 Date: Tue, 15 Aug 1995 12:38:02 -0700 From: Joerg Wunsch Message-Id: <199508151938.MAA22070@freefall.FreeBSD.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/sys quotactl.2 Sender: cvs-lib-owner@FreeBSD.org Precedence: bulk joerg 95/08/15 12:38:02 Modified: lib/libc/sys quotactl.2 Log: There is no such file as /usr/include/ufs/quota.h. There is a file /usr/include/ufs/ufs/quota (#include ) that seems to work ok though. Closes PR # docs/670: quotactl man page incorr... Submitted by: evans@scnc.k12.mi.us (Jeffrey Evans) From owner-cvs-lib Fri Aug 18 07:22:16 1995 Return-Path: cvs-lib-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA25651 for cvs-lib-outgoing; Fri, 18 Aug 1995 07:22:16 -0700 Received: (from peter@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id HAA25631 ; Fri, 18 Aug 1995 07:22:03 -0700 Date: Fri, 18 Aug 1995 07:22:03 -0700 From: Peter Wemm Message-Id: <199508181422.HAA25631@freefall.FreeBSD.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/stdio fgets.3 Sender: cvs-lib-owner@FreeBSD.org Precedence: bulk peter 95/08/18 07:22:02 Modified: lib/libc/stdio fgets.3 Log: fgetline does not exist.. fgetln is in it's place. Correct the X-Ref. Noticed by: Brian Tao, Bruce Evans