public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aoliva at redhat dot com" <sourceware-bugzilla@sourceware.org> 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 [thread overview] Message-ID: <bug-15576-131@http.sourceware.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3903 bytes --] http://sourceware.org/bugzilla/show_bug.cgi?id=15576 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 âThe value shall not change during the lifetime of the calling process, except that sysconf(_SC_OPEN_MAX) may return different values before and after a call to setrlimit() which changes the RLIMIT_NOFILE soft limit.â In my code review, I noticed the returned value may change over time for TZNAME_MAX, depending on selected timezones; NPROCS, NPROCS_CONF, PHYS_PAGES, 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. -- 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: <glibc-bugs-return-18844-listarch-glibc-bugs=sources.redhat.com@sourceware.org> 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: <glibc-bugs.sourceware.org> List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org> List-Post: <mailto:glibc-bugs@sourceware.org> List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> 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" <sourceware-bugzilla@sourceware.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: <bug-15577-131@http.sourceware.org/bugzilla/> 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\x15577 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 <https://bugzilla.novell.com/show_bug.cgi?id9524>: 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.
next reply other threads:[~2013-06-05 2:57 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-05 2:57 aoliva at redhat dot com [this message] 2013-06-11 16:06 ` [Bug libc/15576] " ondra at iuuk dot mff.cuni.cz 2014-06-13 17:31 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15576-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).