]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When using `compat' mode, be sure to re-dispatch setpwent, endpwent,
authorJacques Vidrine <nectar@FreeBSD.org>
Fri, 25 Apr 2003 18:25:19 +0000 (18:25 +0000)
committerJacques Vidrine <nectar@FreeBSD.org>
Fri, 25 Apr 2003 18:25:19 +0000 (18:25 +0000)
commitc14d379de1a9574c22bb688908b8a508e3fc0c5b
tree16a502b8967eefd6af591d13cc4b3e5e25158acc
parentc40586c87d5327f9f10d39435da80f80d2dc3dff
When using `compat' mode, be sure to re-dispatch setpwent, endpwent,
setgrent, and endgrent also.  (The previous NSS implementation used to
simply twiddle the internal data of the various modules directly.)

A symptom (group list set incorrectly in sshd) was
Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>

Sponsored by: DARPA, Network Associates Laboratories
lib/libc/gen/getgrent.c
lib/libc/gen/getpwent.c