freebsd-nq/lib/libc
Bill Paul 94c53e1fb5 NIS cleanups and fixes, the next generation.
getnetgrent.c:

- Catch one bogon that snuck by: in _listmatch(), check for '\0'
  rather than '\n'; strings returned from yp_match() are terminated
  with a nul, not a newline.

getpwent.c:

- Rip out all of the +inclusion/-exclusion stuff from before and
  replace it with something a little less grotty. The main problem
  with the old mechanism was that it wasted many cycles processing
  NIS entries even after it already knew they were to be exlcuded
  (or not included, depending on your pointof view). The highlights
  of these changes include:

  o Uses an in-memory hash database table to keep track of all the
    -@netgroup, -user, and -@group exclusions.

  o Tries harder to duplicate the behavior normally obtained when using
    NIS inclusions/exclusions on a flat /etc/passwd file (meaning things
    come out in much the same order).

  o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid()
    operations instead of trying to do everything with one general
    function, which didn't work as well as I thought it would.

  o Uses both getnetgrent() and innetgr() to try to save time where
    possible.

  o Use only one special token in the local password database
    (_PW_KEYYPBYNUM) instead of seperate tokens to mark + and -
    entries (and stop using the counter tokens too). If this new
    token doesn't exist, the code will make due with the standard
    _PW_KEYBYNUM token in order to support older databases that
    won't have the new token in them.

  All this is an attempt to make this stuff work better in environments
  with large NIS passwd databases.
1996-04-16 00:22:41 +00:00
..
amd64 Put in missing '_' in call to wrapper _thread_sys_sigsetmask() function. 1996-02-17 12:25:21 +00:00
compat-43 Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
db Close PR#218. Don't reference non-existant dbm(3) and ndbm(3) manual 1996-03-03 08:53:05 +00:00
gen NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
gmon Xref clocks(7). 1996-04-05 08:53:38 +00:00
i386 rfork/minherit glue in libc 1996-02-23 19:56:55 +00:00
locale Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
net Do not install the now unsupported netns and netiso 1996-04-08 05:15:09 +00:00
nls Fixed docs/521. 1996-02-09 12:25:08 +00:00
quad Added prototypes. 1995-12-26 13:25:13 +00:00
regex 8bit clean fixes 1996-03-25 14:34:26 +00:00
rpc Work around a bug in the Sun rpc code. This fixes a problem where 1996-03-17 20:12:53 +00:00
stdio Correct a minor typo. Fixes part of PR#1000. 1996-04-09 21:48:21 +00:00
stdlib Xref sysexits(3). 1996-03-31 22:31:51 +00:00
stdtime Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
string Update the description of strncat to accurately describe how many 1996-04-09 22:00:39 +00:00
sys Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
xdr Minor cleanup of the rpc man pages to silence manck. 1996-02-12 00:02:42 +00:00
yp Don't bother trying to flock() /var/run/ypbind.lock; this breaks when 1996-03-23 22:48:19 +00:00
Makefile Remove support for OSI networking in user-land (#ifdef OSI aor CCITT) 1996-02-06 20:36:15 +00:00