From owner-cvs-src@FreeBSD.ORG Thu Apr 17 07:15:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D0FA37B401; Thu, 17 Apr 2003 07:15:27 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 228A643F75; Thu, 17 Apr 2003 07:15:27 -0700 (PDT) (envelope-from nectar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3HEFQ0U020664; Thu, 17 Apr 2003 07:15:26 -0700 (PDT) (envelope-from nectar@repoman.freebsd.org) Received: (from nectar@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3HEFQL9020663; Thu, 17 Apr 2003 07:15:26 -0700 (PDT) Message-Id: <200304171415.h3HEFQL9020663@repoman.freebsd.org> From: Jacques Vidrine Date: Thu, 17 Apr 2003 07:15:26 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: 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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 14:15:28 -0000 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