]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
= Implement thread-safe versions of the getpwent(3) and getgrent(3)
authorJacques Vidrine <nectar@FreeBSD.org>
Thu, 17 Apr 2003 14:15:26 +0000 (14:15 +0000)
committerJacques Vidrine <nectar@FreeBSD.org>
Thu, 17 Apr 2003 14:15:26 +0000 (14:15 +0000)
commit05f98035ee9621a9dc87e02ab9536390aa9025cb
tree194a658195371c8a28e5f3ecbd1d1b1e2dfe5588
parent46d93063837e3149b3834e488ddef3befd03b601
= 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
include/grp.h
include/pwd.h
lib/libc/gen/getgrent.3
lib/libc/gen/getgrent.c
lib/libc/gen/getpwent.3
lib/libc/gen/getpwent.c
usr.sbin/pwd_mkdb/pwd_mkdb.c