From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8484 invoked by alias); 26 Aug 2014 18:31:28 -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 8442 invoked by uid 48); 26 Aug 2014 18:31:24 -0000 From: "sstewartgallus00 at mylangara dot bc.ca" To: glibc-bugs@sourceware.org Subject: [Bug nptl/17214] Expose a function to reset the PID cache Date: Tue, 26 Aug 2014 18:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sstewartgallus00 at mylangara dot bc.ca X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: 2014-08/txt/msg00109.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17214 --- Comment #8 from Steven Stewart-Gallus --- If I use the GLibc wrapper around clone that resets the PID cache right? So if people are loathe to expose a function to reset the PID cache can they make clone or a variation of clone more convenient for the fork style cases? Maybe my problem can be solved by simply making clone(NULL, NULL, etc..) behave like fork or doing something else similar? Because I was calling the system call directly because I didn't want to create a new stack and function for no reason. -- You are receiving this mail because: You are on the CC list for the bug.