🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.kern
Article #27

Re: [PATCH] Add posix_spawn_file_actions_addclosefrom_np

#27
From: Chris Hanson
Date: Sun, 29 Nov 2026 05:49
24 lines
3200 bytes
On May 10, 2026, at 2:26 PM, Chris Hanson <cmhanson@eschatologist.net> wrote:
> 
> Here’s my final updated patch that also ensures the posix_spawn_file_actions_addclosefrom_np symbol is appropriately weak, guarded by _NETBSD_SOURCE, the libc version is updated, etc.
> 
> It should apply cleanly to trunk and (modulo the libc versioning) should also pull back to NetBSD 11 trivially if it’s desired there. (I’d certainly like it to go into 11 if possible, but 11 is producing release candidates, so...)

Any chance anyone could take a look at my work here with an eye towards getting it into mainline?

I think this is an important addition to posix_spawn, and NetBSD is one of the only platforms without something like it.

  -- Chris


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <562EC312-475A-4341-8222-4BC52F8AE045@eschatologist.net>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <8D2A061A-1CC6-4432-B274-40FDC9B6D52E@eschatologist.net> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Chris Hanson <cmhanson@eschatologist.net>
Newsgroups: muc.lists.netbsd.tech.kern
Subject: Re: [PATCH] Add posix_spawn_file_actions_addclosefrom_np
Date: Sat, 28 Nov 2026 21:49:59 -0800
Organization: Newsgate at muc.de e.V.
Sender: tech-kern-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <562EC312-475A-4341-8222-4BC52F8AE045@eschatologist.net>
References: <8D2A061A-1CC6-4432-B274-40FDC9B6D52E@eschatologist.net> <>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\))
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="57114"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=eschatologist.net
X-Sender-Id: dreamhost|x-authsender|cmhanson@eschatologist.net
X-Sender-Id: dreamhost|x-authsender|cmhanson@eschatologist.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|cmhanson@eschatologist.net
X-MailChannels-Auth-Id: dreamhost
X-Hook-Obese: 1d5ceb2d0cf2fefa_1795931410400_974190180
X-MC-Loop-Signature: 1795931410400:1801416308
X-MC-Ingress-Time: 1795931410400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eschatologist.net;
	s=dreamhost; t=1795931410;
	bh=yASWBy6vpHy2tUFrhX1pR2tPxg+jeXU9UnCSZSJdxLE=;
	h=From:Content-Type:Content-Transfer-Encoding:Subject:Date:To;
	b=iUcOBvnk9QGaz4nYyqGmx7ATw3tsy7EbofLsiEkzn8ICmXAjLIRQoF5MGlSDGg7r6
	 n7LIFGOej+by1ai6PgSeYQUrLYxk6IP/twKU4hTtwIhdevROze4IlfnYjArmk6DX4V
	 FM5JPY8UOTJgQOAZYhu9XT7XIrdAhC/7vRuiaefT3LRML/PDeVYc7BJGSXAxDdLiHn
	 A6H4cT9dnD4AF/9KSXfMtd9oRIIc0NFFHqcIhdFN57ES2BnYZvXSDhuXfyRokNGEdk
	 RdqI/rnOY2WnQNDGkKorgQpP2w8Xl2MsmuvMZKxfDeGxQP8UQPGn+FlaWog96bBW1S
	 p+Y6WNUSigOnQ==
In-Reply-To: <8D2A061A-1CC6-4432-B274-40FDC9B6D52E@eschatologist.net>
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes