From owner-cvs-all@FreeBSD.ORG Thu Apr 17 07:53:15 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D3AF37B40A; Thu, 17 Apr 2003 07:53:15 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2965B43FCB; Thu, 17 Apr 2003 07:53:14 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h3HEp1Z15497; Thu, 17 Apr 2003 07:51:01 -0700 Received: from btc.btc.adaptec.com ([10.100.0.52]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id HAA08480; Thu, 17 Apr 2003 07:53:06 -0700 (PDT) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA07031; Thu, 17 Apr 2003 08:52:57 -0600 (MDT) Message-ID: <3E9EC082.1030408@btc.adaptec.com> Date: Thu, 17 Apr 2003 08:56:02 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacques Vidrine References: <200304171415.h3HEFQL9020663@repoman.freebsd.org> In-Reply-To: <200304171415.h3HEFQL9020663@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/include grp.h pwd.h src/lib/libc/gen getgrent.3 getgrent.c getpwent.3 getpwent.c src/usr.sbin/pwd_mkdb pwd_mkdb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 14:53:15 -0000 Jacques Vidrine wrote: > nectar 2003/04/17 07:15:26 PDT > > FreeBSD src repository > > Modified files: > include grp.h pwd.h > lib/libc/gen getgrent.3 getgrent.c getpwent.3 > getpwent.c > usr.sbin/pwd_mkdb pwd_mkdb.c > Log: > = Implement thread-safe versions of the getpwent(3) and getgrent(3) > family of functions using the new nsdispatch(3) core. Remove > arbitrary size limits when using the thread-safe versions. > > = Re-implement the traditional getpwent(3)/getgrent(3) functions on > top of the thread-safe versions. > > = Update the on-disk format of the hashed version of the passwd(5) > databases to allow for versioned entries. The legacy version is > `3'. (Don't ask.) > > = Add support for version `4' entries in the passwd(5) database. > Entries in this format are identical to version 3 entries except > that all integers are stored as 32-bit integers in network byte > order (big endian). > > = pwd_mkdb is updated to generate both version 3 and version 4 > entries. > > Sponsored by: DARPA, Network Associates Laboratories > > Revision Changes Path > 1.18 +11 -4 src/include/grp.h > 1.14 +24 -8 src/include/pwd.h > 1.22 +88 -9 src/lib/libc/gen/getgrent.3 > 1.25 +972 -558 src/lib/libc/gen/getgrent.c > 1.22 +99 -5 src/lib/libc/gen/getpwent.3 > 1.70 +1450 -975 src/lib/libc/gen/getpwent.c > 1.40 +124 -11 src/usr.sbin/pwd_mkdb/pwd_mkdb.c Great work! Along with the manual pages that you updated, should any new documentation be written to help users start using this? Scott