freebsd-skq/lib
wpaul 24c5b47bb2 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
..
csu/i386 Changed the dimensions of __CTOR_LIST__ and __DTOR_LIST__ from 0 1996-02-20 04:07:26 +00:00
libc NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
libc_r keep the libc_r makefiles in step with those from libc 1996-03-20 03:05:34 +00:00
libcom_err Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libcompat Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
libcrypt Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libcurses Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libdisk Make libdisk C++ aware: 1996-03-24 18:55:39 +00:00
libedit recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libf2c Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libF77 This commit was generated by cvs2svn to compensate for changes in r13122, 1995-12-30 19:02:48 +00:00
libfakegnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libforms recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libgnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libI77 Update to the 1995/09/20 version. Previous version was 1993/12/17. 1995-09-28 20:49:15 +00:00
libipx Do not install the now unsupported netns and netiso 1996-04-08 05:15:09 +00:00
libkse Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libkvm From Lite2: proc and file LIST changes 1996-03-11 05:34:46 +00:00
libm Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libmd Don't install mdX.3, it's the template used to build the other pages. 1996-02-09 22:44:44 +00:00
libmytinfo This commit was generated by cvs2svn to compensate for changes in r13122, 1995-12-30 19:02:48 +00:00
libncurses Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libpam/modules #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
libpcap Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libpthread Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libresolv BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
librpcsvc If we are going to set the OBJS target, don't add to the old target. This 1995-03-04 17:39:24 +00:00
libscsi Add a couple more man page links and some minor formatting fixes. 1996-02-09 02:49:14 +00:00
libskey recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libss Install non-source files with the optional flag ${COPY}, not with the flag -c. 1995-08-06 12:41:07 +00:00
libtelnet recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
libtermcap Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libutil If the two recently added sysctl variables exist, use those rather than 1996-02-24 14:37:30 +00:00
libxpg4 Add more stuff moved out from XPG3 1995-11-03 09:03:00 +00:00
liby BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
msun Don't trash %ebp. 1996-02-25 20:29:46 +00:00
ncurses/ncurses Added some missing MLINKS for section 3 man pages. 1996-02-09 00:45:45 +00:00
Makefile Add libdisk. 1996-03-18 18:59:08 +00:00
Makefile.inc From 1.1.5: define default shared library versions. For 2.0, use version 1994-08-04 22:44:00 +00:00