From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30166 invoked by alias); 5 Jun 2013 02:57:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 30117 invoked by uid 48); 5 Jun 2013 02:57:03 -0000 From: "aoliva at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/15576] New: sysconf may change returned value during the lifetime of a process. Date: Wed, 05 Jun 2013 02:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aoliva at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00022.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D15576 Bug ID: 15576 Summary: sysconf may change returned value during the lifetime of a process. Product: glibc Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: aoliva at redhat dot com CC: drepper.fsp at gmail dot com Posix requires =E2=80=9CThe value shall not change during the lifetime of t= he calling process, except that sysconf(_SC_OPEN_MAX) may return different values befo= re and after a call to setrlimit() which changes the RLIMIT_NOFILE soft limit.= =E2=80=9D In my code review, I noticed the returned value may change over time for TZNAME_MAX, depending on selected timezones; NPROCS, NPROCS_CONF, PHYS_PAGE= S, AVPHYS_PAGES, NGROUPS_MAX, SIGQUEUE_MAX, depending on variable values read = from /proc at each call, and from rlimit-obtained values CHILD_MAX, OPEN_MAX, ARG_MAX, SIGQUEUE_MAX. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-return-18844-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jun 05 08:29:56 2013 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16688 invoked by alias); 5 Jun 2013 08:29:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16529 invoked by uid 48); 5 Jun 2013 08:29:18 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug nscd/15577] New: nscd crashes over absent values from netgroup tuple Date: Wed, 05 Jun 2013 08:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nscd X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00023.txt.bz2 Content-length: 846 http://sourceware.org/bugzilla/show_bug.cgi?id=15577 Bug ID: 15577 Summary: nscd crashes over absent values from netgroup tuple Product: glibc Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: nscd Assignee: unassigned at sourceware dot org Reporter: schwab@linux-m68k.org CC: drepper.fsp at gmail dot com >>From : nscd crashes while processing a netgroup entry where one or more values from the (host,user,domain) triple are absent. Reproducable by adding this line to /etc/netgroup: powerusers (,miquels,) (,torvalds,) (,fubar,) and running getent netgroup powerusers. -- You are receiving this mail because: You are on the CC list for the bug.