From nobody Wed Nov 20 03:35:48 2024 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 4XtRpX4MvFz5d7NJ; Wed, 20 Nov 2024 03:35:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XtRpX3hZFz44GN; Wed, 20 Nov 2024 03:35:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732073748; 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; bh=U0lq/DgjkrT8EXQFTx1ssWbIjesOr2dmsYaARoIkguU=; b=gy2A+54KlYecAfGMq7TgUxfYpp2YLy5ycLrYW9SVXUQg52yQbwacYlQx5Lc6iiM0EEXDAY DsFe8aEEqIkTgrg9cmexzKhWwCCp3CZMR6gbg+UpnnHUggRi17a+KkB758KPCL9o2I6uMZ 8eZXX30K2N8pK+MTMUSVpThPj5oOA50Uu+O2FGoJac/NDDXuupvtDTfnnnNjfProJ9Eglj xNegdlsZdZ8V79DVsRJ6PIyVL26NZmNEin7Iut3iqM/6zvTX4dT7Pnhwnm1hb/+r2DoS6q gS4H+pzAlDfD2xP6W0t6CBXNyufvsD7z3TMHauFjmEveB9nu3P5zbsCHVh3EUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732073748; 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; bh=U0lq/DgjkrT8EXQFTx1ssWbIjesOr2dmsYaARoIkguU=; b=MiHYTfaNX5fL4ocU8TKHFgNrZRrUpJBwe/2JpkleL6cMTZyA/cGHA6NXxjU3Ms9t16LjLw bM4HHsakwtt01H9dxSkQAQiEsTNe4HeJz0/zry+yRkX4V2R94UowPZ4Cds26IIgD+syanC 8ozVQRj6GQ/qohzKvdVtKwD4HBANUorYZNojZKMFQon1O6wDDqhBpCnGDtHbABRHQtQtD6 VUIa2Qz9T9KmaKp/ISXhvx4hRYJkBmyPSYCc94XRlA7byCE/QZaEqkxKeDBsjXWhLz5Hfn 824sn1M+1Eyh61+fI6iAjeCuoiRckY40DXwa6XlejkAWKfQKYACmPK8ZcYa2eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732073748; a=rsa-sha256; cv=none; b=jJ9AKexMNOSYqPZvfIj8qvoeW8e4TRn6iKIeR6JrxoyB1Nmb5mIP66XdoCPmrNGufqIKWv TX/iwW/pToH/CkCQi1noZeovlxd/t72Gotll02s+nib2EFV+U5/aPYLJxzCI1xFkY5t3rG DjLvqc8p8KAj/du684KTwRpFMk3Krsm8t9hRp7/308U+P/Lac7nQlfSDetTU7RGruCyg9U bh2nxY71Mcney/hcWbLP6DYF3gcnTXmooeRl0T1KLsmEw03WVGyED0ebnLX9upxEHucrQo Xpl57mxGckSlrr7zxQ8Okntl5GxD87nwSFDGxPFc/KTJrzcsdhKxuaU9gir0Tg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XtRpX3FZHzdbr; Wed, 20 Nov 2024 03:35:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AK3Zm3d099453; Wed, 20 Nov 2024 03:35:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AK3ZmGo099450; Wed, 20 Nov 2024 03:35:48 GMT (envelope-from git) Date: Wed, 20 Nov 2024 03:35:48 GMT Message-Id: <202411200335.4AK3ZmGo099450@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 6a88766ecdd3 - main - stand: We don't want signal definitions in the boot loader 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: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6a88766ecdd3a89439c7d21ee8e1ff5706bfde71 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6a88766ecdd3a89439c7d21ee8e1ff5706bfde71 commit 6a88766ecdd3a89439c7d21ee8e1ff5706bfde71 Author: Warner Losh AuthorDate: 2024-11-20 02:57:46 +0000 Commit: Warner Losh CommitDate: 2024-11-20 02:57:46 +0000 stand: We don't want signal definitions in the boot loader We don't support signals in the boot loader, so we don't need to include sys/signal.h there. It pollutes the namespace. Sponsored by: Netflix --- sys/sys/param.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/sys/param.h b/sys/sys/param.h index 388b3a05f718..79ecd58569a3 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -150,12 +150,10 @@ #endif #endif -#ifndef _KERNEL -#ifndef LOCORE +#if !defined(_KERNEL) && !defined(_STANDALONE) && !defined(LOCORE) /* Signals. */ #include #endif -#endif /* Machine type dependent parameters. */ #include