From nobody Sun Oct 11 13:16:12 2026 X-Original-To: dev-commits-src-main@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 4j2h1n3CQ5z6vnRt; Sun, 11 Oct 2026 13:16:13 +0000 (UTC) (envelope-from jhb@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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j2h1n2jtjz4jbS; Sun, 11 Oct 2026 13:16:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791724573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8w9Z43fdEbzssWDhYJL2ewkOiQA2smPXaGWHLaSEvJA=; b=FemvJfLxq3XaUOUe/0Rkt6zbSS+rK0RVbIHCixYBd/F26+LaCtf+NNoEGAYhpBOV6TyEe0 xor0Jj5JNWHEJOV1bwK4Q8uFVmhd9jIqpGjmmXdAvecqihEW1nCZqIatVbjqoXZcaI7EZR Y4sLjc5LSNlZvBQblw/qWqdsL+mQiSs5sxi1vfSGeEmRcNsXnHWSlR6+5RyVLS8KFFXdcG 12kpgXy65ruiPzrxd54IXdMQZeg9GAJafdybSWVhIRTw0V98B3JkqjnSnFWTWuh8yTsIsP 00Oma1nWoGipdZQoPjYOty9KAjr+TEdHyUozeYF/3BQ6GoMugE82YDjt1zJl5g== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791724573; b=mlekjrlF/ubMuoe2YHGSEMRzdEWq5TrszdkZbQNuvz+KPyNI1jYrSKARaHko4sqDbrZw1G AJCKhNTCJLHFqEJhHaJZU6SGXSUgmG64fLanAtPK20mzM09E5Qfd5kjuAhOzIfFGHh8F6b nnZj3Wysm55b4VX8fQoxMXh642goQfp4219XCwYjtmcK2C9doJFIqAJ0pS02uKfvStEfep 6uMmmpAsMGQu6nFWYfKiIl0/K8LG1cYoulzRiITpxhg2fBZuCDkhsZupRvW0iyYqynyBvd FaC8Jm222nwY1BXeiIIaulP5mbHhWdVRiZN+ECyrVllvoZYkkih9ohDDRZ7uow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791724573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8w9Z43fdEbzssWDhYJL2ewkOiQA2smPXaGWHLaSEvJA=; b=yi5bHDNS259MHG8sRpO83n+Fhr672AXq87971p+CFko0CyCd0CW+QEr8wCFpufPC9G5O5Z s/0ycJeV4+/we2XE7NeKnjbLRtH2wPajXCTMIS3rrD50WOdqgfOgTIKdOPFuQgqi4mUHSK UMJg/JsZ8I6QGb15wcnz/d7et4z6pSKK54ABf4YLoDLSKOM2+qbjpjg9Lg7cToFWa2dgRp IIMvTKExQjwTrBeh7cEQ7NuHjU1xWBSwEJB4hKg7AHawbtbnaXYkRLGGgpLnYR+f85l2hk q8nRm0zGGsfw58N4bPBJbDk7oyX5/mH8t7fvRrnoNORQtOY099N2a/6Mm5WXFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [IPV6:2601:5cc:4480:1036:fd7c:a5e1:60e4:91b4] (unknown [IPv6:2601:5cc:4480:1036:fd7c:a5e1:60e4:91b4]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4j2h1n0Qt6zkx4; Sun, 11 Oct 2026 13:16:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <66ef8ab5-959d-4a12-8360-a33296163ea7@FreeBSD.org> Date: Sun, 11 Oct 2026 09:16:12 -0400 List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 24d5194306b5 - main - build: Emit a warning for build targets run as root Content-Language: en-US To: Ed Maste , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <6ac9028e.3a17d.35333feb@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <6ac9028e.3a17d.35333feb@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/9/26 11:04, Ed Maste wrote: > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=24d5194306b573bf3396858b4c0aa5d420c37c91 > > commit 24d5194306b573bf3396858b4c0aa5d420c37c91 > Author: Ed Maste > AuthorDate: 2025-05-14 15:23:42 +0000 > Commit: Ed Maste > CommitDate: 2026-10-09 15:02:30 +0000 > > build: Emit a warning for build targets run as root > > Build targets should generally be run as an unprivileged user. Even > though building as root is discouraged many users do so, so just start > with a warning. > > Reviewed by: brooks > Differential Revision: https://reviews.freebsd.org/D50352 Eh, please give a way to turn this off (in particular, if you are intending to go further down the road and eventually turn this into an error, I'm a hard no on that though can live with putting something in /etc/src.conf). Lots of my test VMs and test machines I use only have root accounts because there isn't a need for another user. Yes, people should not build as root on their laptop, but not all FreeBSD installs are laptops or desktops. -- John Baldwin