public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/13696] New: Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions
@ 2012-02-15 23:24 benchan at chromium dot org
  2012-02-16 17:40 ` [Bug nscd/13696] " ppluzhnikov at google dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: benchan at chromium dot org @ 2012-02-15 23:24 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13696

             Bug #: 13696
           Summary: Add a --disable-nscd option to configure for disabling
                    nscd implementation in glibc functions
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: benchan@chromium.org
    Classification: Unclassified


Created attachment 6214
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6214
Patch to add --disable-nscd to configure

Background
----------
Although the nscd client code can fall back when it fails to contact the nscd
server, we may sometimes need to avoid that from happening (e.g. we need to
disallow the "socket" system call in a sandboxed environment) if we know that
no nscd server is enabled on a target system. Thus, we need to compile glibc
without using the nscd implementation in its functions. 

Problem
-------
The following glibc Makefiles currently hardcode -DUSE_NSCD=1 to use the nscd
implementation for certain glibc functions, which makes it inconvenient to
disable the nscd implementation.

  grp/Makefile
  inet/Makefile
  posix/Makefile
  pwd/Makefile

Proposed Solution
-----------------
It would be nicer if we have a --disable-nscd option in configure to control
whether USE_NSCD should be defined. The attached patch implements the proposed
changes on top of the current glibc master branch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-26 15:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-15 23:24 [Bug nscd/13696] New: Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions benchan at chromium dot org
2012-02-16 17:40 ` [Bug nscd/13696] " ppluzhnikov at google dot com
2012-02-17 23:37 ` vapier at gentoo dot org
2012-03-07  9:18 ` drepper.fsp at gmail dot com
2012-03-07 13:25 ` vapier at gentoo dot org
2012-08-22 20:42 ` roland at gnu dot org
2014-06-26 15:28 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).