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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` ppluzhnikov at google dot com 2012-02-17 23:37 ` vapier at gentoo dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ppluzhnikov at google dot com @ 2012-02-16 17:40 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13696 Paul Pluzhnikov <ppluzhnikov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot | |com -- 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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: vapier at gentoo dot org @ 2012-02-17 23:37 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13696 Mike Frysinger <vapier at gentoo dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |toolchain at gentoo dot | |org, vapier at gentoo dot | |org --- Comment #1 from Mike Frysinger <vapier at gentoo dot org> 2012-02-17 23:37:18 UTC --- might want to submit the patch to the libc-alpha mailing list too. bugzilla can be a bit slow and has less visibility. -- 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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: drepper.fsp at gmail dot com @ 2012-03-07 9:18 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13696 --- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2012-03-07 09:17:42 UTC --- Once again you want the world to pay for the convenience of Google? I haven't heard about anyone else who wants to have this. Even though some people don't use nscd for glibc, they use other implementations. Adding features which are not generally used just means introducing sources of future problems. -- 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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` (2 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: vapier at gentoo dot org @ 2012-03-07 13:25 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13696 --- Comment #3 from Mike Frysinger <vapier at gentoo dot org> 2012-03-07 13:24:54 UTC --- could you possibly keep the crap out of your comments ? this anti-google sentiment really has no business here. but on to the facts: - the feature in question is *already* in the source (this patch doesn't add the USE_NSCD define) - this patch only makes control of the -DUSE_NSCD flag into a configure option - there should be no ABI change the amount of additional "overhead" here is trivial. i'd also contend the assertion that google would be the only consumer of this. plenty of embedded devices could care less about having a daemon like nscd running. -- 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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` (3 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: roland at gnu dot org @ 2012-08-22 20:42 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13696 Roland McGrath <roland at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |roland at gnu dot org Resolution| |FIXED --- Comment #4 from Roland McGrath <roland at gnu dot org> 2012-08-22 20:42:14 UTC --- Done with a different implementation than the one here. -- 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
* [Bug nscd/13696] Add a --disable-nscd option to configure for disabling nscd implementation in glibc functions 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 ` (4 preceding siblings ...) 2012-08-22 20:42 ` roland at gnu dot org @ 2014-06-26 15:28 ` fweimer at redhat dot com 5 siblings, 0 replies; 7+ messages in thread From: fweimer at redhat dot com @ 2014-06-26 15:28 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=13696 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- 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).