This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nss/19693] New: Make non-_r NSS functions thread-safe


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]