From nobody Thu Aug 21 07:02:50 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4c6vR22sDRz65v2Q; Thu, 21 Aug 2025 07:02:54 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c6vR22BCtz3wX7; Thu, 21 Aug 2025 07:02:54 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755759774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HFCQLQGsp6XUpil3Ak+XaWYoWBy9XDYyozBMcBF96Ro=; b=TCcRLSuyu4f8g/LqZjtTI0urDuj79ZBhCLDZ8TzP+Pe8/Ke4oYeNcIHZ4+vBHkv0fC8JlR h5HIbuzHpyAZYzbvLD0zQPZ9vDju737QpUjpqajeDUe6VbKss3LGYHHMwe/rslJr8fIz5M QdVWlj0jNrzlxuDolUyZ7KLoEDYe4fvW2wogxk/WSNhKROUHgZVloPjFM0S5zMvFTGKnsC bizjCPgoig+qECdbzFC+tWlPgnhGPKRiwcpkazYVPuiI/6GHZcO5nw7SdUJZ/yrAod+tye ti1jk9jLUpCDZD09JEL6W7IiZtp9piklLAceXLngPqU9/9zZr3XXfan0mhQrDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755759774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HFCQLQGsp6XUpil3Ak+XaWYoWBy9XDYyozBMcBF96Ro=; b=jpZ8QPH0BqVRQjC0vGUQscy+34yd2g7V+mZPbeTz3Q+7Q+yfrVGINmID1KqMWTIbknn/L9 M+gc/RsFJma4Rdup5mqfDL7XD1JL7LnqvOLewMNEGqmVS6+JEkgkB1zgtqPdd1+o03aJ5j m5fpMe8jq9xv7QnyJoAs10ULTx2q/CC0PeEIa3ap5yT5lUcPv6EjBwX7Q9wfd+kIfX/kaH jBgF4BnjoAYL2riaG2dyLNj+xRcD18pFrDl7tA6SDnt2V1Aq62gBB5AZqSDXNVX0HSEL9R l5vOZYsEhr24djCmw+gBuZKJy/NpSYh4kzDYarqvL7LAoPldSzGcEaZWDB3TTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755759774; a=rsa-sha256; cv=none; b=qTbMrdNDbm40onU8DdzdtPn7YO4fTExDbhEwcXB053TI3Lgyxj3SjmnGJtTULMDU1A694m wKbAWjQ1RAzYFLG65wTrZKnp/ppsZRcnOFjiXjenBooxccD8FiDE9AtJK5RDBidfnAwDiM cEqFMkSoOsABIwDWVcjH3wZcWpDSaaDR/oLeD+I6OKCZIE5AcAC/kngJT4g8NMzP2EmaXA I6w21VkRAe332SKl1r/Ti1irFTaiAdmE6StmeNwRJdh8+zgOTvEYCLxE04JdSX0dS2BP3Q cqZBxrcMlu0wCrlQhELwmxhAJ4AUItYxSf+RZMQJ6TVrfZZvPKakmtLtVKCggg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E6" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c6vR20BvVz18Yb; Thu, 21 Aug 2025 07:02:54 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 0741EA64805; Thu, 21 Aug 2025 07:02:44 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 721B32D029E1; Thu, 21 Aug 2025 07:02:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id 1LwxCYzQK79Z; Thu, 21 Aug 2025 07:02:50 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8ADBA2D029D8; Thu, 21 Aug 2025 07:02:50 +0000 (UTC) Date: Thu, 21 Aug 2025 07:02:50 +0000 (UTC) From: "Bjoern A. Zeeb" To: Toomas Soome cc: A FreeBSD User , "Simon J. Gerraty" , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Subject: Re: git: b44cc1b479fe - main - loader: do not try to open directories with TFTP In-Reply-To: <9EEDE524-1ED3-4F41-9584-460DCBF61D81@me.com> Message-ID: References: <202508202248.57KMmcTO016280@gitrepo.freebsd.org> <20250821060752.001c9599@thor.sb211.local> <8006s3o4-3nns-509q-n89q-oq88r8o09sn8@SerrOFQ.bet> <9EEDE524-1ED3-4F41-9584-460DCBF61D81@me.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1251459429-1755759770=:4606" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1251459429-1755759770=:4606 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 21 Aug 2025, Toomas Soome wrote: >> shot in the dark (haven't checked that LOADER_NET_SUPPORT would be defined for these files): > > > I do not think it is the approach you want to take there, because this means you would need to build all those variants to build different components… > > I would think of having weak is_tftp() implementation returning false for case the dev_net.c is not built or move dev_net.c into libsa. I’m not quite sure why dev_net.c is outside libsa anyhow;) Even just moving is_tftp into stand.h would work. -- Bjoern A. Zeeb r15:7 --1098556516-1251459429-1755759770=:4606--