From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C5E583858D33; Thu, 9 Nov 2023 21:51:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5E583858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699566706; bh=UHtqZxMFCT4yHoK4ASw+qvp1eoUgtn8GDMg2/90hjjo=; h=From:To:Subject:Date:From; b=ieK2v27+dU1NdwF8mKrS2Ig401SsbIK114pYmgZuYpVrZnxShnyfAbwMd4+Ulg4oP xZdZL1O1nUKlqdL9p0Zax9L5AnadsPKP2fk13n9RmPBP02gYEjuK8SgLHnH4rtNRr8 W46sdIx4qh3laakue/cDAXKr5UEmShCJy71sJYgs= From: "tavianator at tavianator dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/31049] New: Feature request: posix_spawnattr_setrlimit_np() Date: Thu, 09 Nov 2023 21:51:46 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tavianator at tavianator dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 target_milestone 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31049 Bug ID: 31049 Summary: Feature request: posix_spawnattr_setrlimit_np() Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: tavianator at tavianator dot com CC: drepper.fsp at gmail dot com Target Milestone: --- I have a program that raises its soft RLIMIT_NOFILE, but wants to spawn processes with the original value (in case they use select(), for example).= =20 There seems to be no nice way to do this with posix_spawn(). I can tempora= rily lower the rlimit in the parent, but that interferes with other threads. --=20 You are receiving this mail because: You are on the CC list for the bug.=