Date: Tue, 05 Jan 2021 18:34:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252094] nss "compat": getpw(nam|uid)_r(3) inadvertently reset next entry key for getpwent_r(3) Message-ID: <bug-252094-227-zYKBpqXCzX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252094-227@https.bugs.freebsd.org/bugzilla/> References: <bug-252094-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252094 --- Comment #3 from Viktor Dukhovni <ietf-dane@dukhovni.org> --- (In reply to Mark Johnston from comment #2) Cool! Thanks. If you would in particular let me know the general approach you'd like to see taken to address the issue in the "group" case, I can wri= te the patch if you're pressed for time. I just need to know whether it'd be = OK to just open the file each time with the nam/gid calls, or whether you feel= the documented optimisation is still important, in which case, a bit more surge= ry is required in the "ent" iterator to save/restore file offsets. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252094-227-zYKBpqXCzX>