This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nss/19693] New: Make non-_r NSS functions thread-safe
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 20 Feb 2016 13:37:58 +0000
- Subject: [Bug nss/19693] New: Make non-_r NSS functions thread-safe
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19693
Bug ID: 19693
Summary: Make non-_r NSS functions thread-safe
Product: glibc
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: nss
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Blocks: 19692
Target Milestone: ---
Flags: security-
The _r variants of the NSS database query functions are difficult to use
correctly, and can cause excessive server load (see bug 19692). It also makes
nss_files parsing very inefficient if there are long lines. We should
investigate if we can make the non-_r variants thread-safe, like other systems
have already done.
This would likely require us to provide functions like duppwent and freepwent,
so that applications can easily make copies of the data returned by the non-_r
functions.
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=19692
[Bug 19692] Reduce recursive resolver stress for large responses
--
You are receiving this mail because:
You are on the CC list for the bug.