From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id AD4501A1E4; Sat, 01 Nov 2025 08:38:34 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 3258E1A1D3; Sat, 01 Nov 2025 08:38:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-b4-smtp.messagingengine.com (fhigh-b4-smtp.messagingengine.com [202.12.124.155]) by atuin.qyliss.net (Postfix) with ESMTPS id 44BBE1A1D1 for ; Sat, 01 Nov 2025 08:38:30 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 21A227A0110; Sat, 1 Nov 2025 04:38:28 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sat, 01 Nov 2025 04:38:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1761986307; x=1762072707; bh=mWRwSFVckE hvKwZL5Nk9oAA5g3WcjunZIDTPXi7MyFw=; b=i/E+8p6WeoL69xdEVYQ13rgHc7 8FHQtPMymTMHtZRoOP14TQdK8VLeOWilD0x1++xBTtcJF4nUeeFm5Ifg8XwPhnky Tl+ivbpGngP0fnsx4M2htAKFMrgY6FUK1dVFfL/9J3i7agDeWkCxo37ueMbUo/i5 LG1atc2Xakl2Cr7X4uYrMTCtl5U8W8igNKmlZKxZmbawx1mtSY3zcWfG43GsfVni tDKWzDLUxi5dTiDZ1IABEjgeJMcrtVuY6hagWKshKjszuRitsV5/XftZdzVXgtgf YFpRERd37T+LpB1ddDYKsXuOcwXLkqxAnO6sKgfXtoqEr6F9TDCjVSYSWbKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1761986307; x=1762072707; bh=mWRwSFVckEhvKwZL5Nk9oAA5g3WcjunZIDT PXi7MyFw=; b=pxIzLzxtuaE5+Ncph+qQfS6Sznxbhlkp6jbEqmhnACnOCK3C2I0 4MMeTu7dWxnW1lYrIEOx/VmkDQLHZNh115nWO5uz6crk1WQjzeytIrOWHZ+iK0A+ RLbkjwZ/DFNMfV9R5SlZsnX488HVaOYzOyR+aLlQMvh+Iv8+yMJM9lm7kQq9a0JZ qvi1hcnyOC8XYGMRKB2+jlUn+MeiLze0LaDv6iqhgcvU/WvBdax3TbA6eOPkjpL7 bilQtQEkYZ0UWCNNS6Jgra0F1LVYr6LV3iPTQMrqKj3MMZdfWuohdaUcHj79ABNz 1dD6hTgYKQiuSqKXXw4YXlBnICDtxZSTN5w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeduleduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcu tfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeeiudffue eilefgtefgtddttdekkeehkefgheekudefveetgeefiefftedvteeuveenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrd hishdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohep uggvmhhiohgsvghnohhurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlse hsphgvtghtrhhumhdqohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 1 Nov 2025 04:38:27 -0400 (EDT) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 2872F559B16; Fri, 31 Oct 2025 09:54:40 +0100 (CET) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH v4 1/2] tools: Add adapter tool for services using sd_notify In-Reply-To: <037ddf36-6c5f-48ca-b7c1-4e1e0fb9c3b6@gmail.com> References: <20251003-udev-v4-0-7d7344b14d11@gmail.com> <20251003-udev-v4-1-7d7344b14d11@gmail.com> <874irikkxq.fsf@alyssa.is> <037ddf36-6c5f-48ca-b7c1-4e1e0fb9c3b6@gmail.com> Date: Fri, 31 Oct 2025 09:54:39 +0100 Message-ID: <87a517v4c0.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: JZLWLYWT5OYL46YOYTE4X2RGYF2MG7VD X-Message-ID-Hash: JZLWLYWT5OYL46YOYTE4X2RGYF2MG7VD X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Spectrum OS Development X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 10/29/25 07:26, Alyssa Ross wrote: >> Demi Marie Obenour writes: >>=20 >>> diff --git a/tools/sd-notify-adapter/meson.build b/tools/sd-notify-adap= ter/meson.build >>> new file mode 100644 >>> index 0000000000000000000000000000000000000000..6032a3a7704d49cae0655b4= 3d0189444d3b15e4d >>> --- /dev/null >>> +++ b/tools/sd-notify-adapter/meson.build >>> @@ -0,0 +1,4 @@ >>> +# SPDX-License-Identifier: ISC >>> +# SPDX-FileCopyrightText: 2025 Demi Marie Obenour >>> + >>> +executable('sd-notify-adapter', 'sd-notify-adapter.c', install: true) >>> diff --git a/tools/sd-notify-adapter/sd-notify-adapter.c b/tools/sd-not= ify-adapter/sd-notify-adapter.c >>> new file mode 100644 >>> index 0000000000000000000000000000000000000000..10f4e05eb602491540a792c= 7fb5620d66d5bb989 >>> --- /dev/null >>> +++ b/tools/sd-notify-adapter/sd-notify-adapter.c >>> @@ -0,0 +1,114 @@ >>> +// SPDX-License-Identifier: MIT >>> +// SPDX-FileCopyrightText: 2025 Demi Marie Obenour >>> + >>=20 >> One more thing: why is the meson.build file ISC? Why is the >> implementation MIT? Should I change these to the normal EUPL-1.2+ when >> applying? > I'd actually prefer ISC for the implementation, so that this can be > used in s6 if upstream ever decides to accept it. MIT is just an oops. I think there's no way s6 is going to adopt an external implementation like this that doesn't use skalibs, rather than just rewriting it, but okay, we can stick with ISC if you want. There's definitely no way it's going to take the one line Meson file, but it's unlikely to be copyrightable anyway, and I think we might as well just inline it into tools/meson.build like lseek, so I'll just do that when I apply unless you object. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQGoGac7QfI+H5ZtFCZddwkt31pFQUCaQR5TwAKCRCZddwkt31p FXO/AQDXYeX1ooNHX32xSlqg8QCtoNfTP6QuT5svlsRnL+zEVQD+OrIYtbwMm+4c lUGtKpOyH8SbfdKmQ64z+nr3n7IKbwo= =VVvB -----END PGP SIGNATURE----- --=-=-=--