cvs commit: src/include nsswitch.h src/lib/libc/gen getgrent.c getgrouplist.c src/lib/libc/net nsdispatch.c

Michael Bushkov bushman at FreeBSD.org
Wed Dec 12 02:08:03 PST 2007


bushman     2007-12-12 10:08:03 UTC

  FreeBSD src repository

  Modified files:
    include              nsswitch.h 
    lib/libc/gen         getgrent.c getgrouplist.c 
    lib/libc/net         nsdispatch.c 
  Log:
  Implementing 'fallback' nsswitch source. 'fallback' source is used
  when particular function can't be found in nsswitch-module. For
  example, getgrouplist(3) will use module-supplied 'getgroupmembership'
  function (which can work in an optimal way for such source as LDAP) and
  will fall back to the stanard iterate-through-all-groups implementation
  otherwise.
  
  PR:             ports/114655
  Submitted by:   Michael Hanselmann <freebsd AT hansmi DOT ch>
  Reviewed by:    brooks (mentor)
  
  Revision  Changes    Path
  1.5       +3 -1      src/include/nsswitch.h
  1.37      +190 -74   src/lib/libc/gen/getgrent.c
  1.16      +4 -39     src/lib/libc/gen/getgrouplist.c
  1.15      +26 -3     src/lib/libc/net/nsdispatch.c


More information about the cvs-src mailing list