From nobody Mon Nov 17 04:13:21 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 4d8vWb1Y77z6GTNG; Mon, 17 Nov 2025 04:14:03 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4d8vWZ6XCGz3Cr5; Mon, 17 Nov 2025 04:14:02 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 8ACF5240865; Mon, 17 Nov 2025 05:13:51 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id ACBF0240123; Mon, 17 Nov 2025 05:13:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1763352829; 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=9FsiUrv9R8QnFDKWlnD8ByiK6/EE06kkqiO6qAgjHXQ=; b=pUORBkZolB4IEU5hSghdtBtSlL1/r3ZRHIRg5A4ueXL/dLj+xhCTjzSIjkRKgchIQfOVuh f/6tbdO66MDP6B7IYoJRMNGtkAqvAzQRFitWHiVkbQKOPbWGW3t4wE+Hbo65CIT4NQeEHU 5EQwm17OmmewkphvdPXCh/SnHW8WYFSeMAiiLxiLyhZGAspxoUwDwqnU5youtLx+HGXT36 2eAV2Y41C1ZUnTh+vvKV/Y05PlKVSwOigdv9jiB89c9RWt9tvbRXv0fWzd5PZ4k8coXHaj MeGHx2U4l1oyVq9qoK8xbLUs/QbhEJZ/11MMiKnaWwbvRCke7vVhTSDrSP7Rgw== Received: from thor.sb211.local (dynamic-2a02-3100-2ea1-7002-c9ce-c40c-ca26-229b.310.pool.telefonica.de [IPv6:2a02:3100:2ea1:7002:c9ce:c40c:ca26:229b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 5F9A424003C; Mon, 17 Nov 2025 05:13:49 +0100 (CET) Date: Mon, 17 Nov 2025 05:13:21 +0100 From: A FreeBSD User To: Warner Losh Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 44fb9f2701c7 - main - sys/efi_map.h: This is a kernel-only file Message-ID: <20251117051144.3d0c31d9@thor.sb211.local> In-Reply-To: <202511170018.5AH0ITWK063891@gitrepo.freebsd.org> References: <202511170018.5AH0ITWK063891@gitrepo.freebsd.org> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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/signed; boundary="Sig_/osyfs5hVvPgne4ewuVDG6BP"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: d2b04c X-Rspamd-UID: 0361a7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d8vWZ6XCGz3Cr5 --Sig_/osyfs5hVvPgne4ewuVDG6BP Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Tage des Herren Mon, 17 Nov 2025 00:18:29 GMT Warner Losh schrieb: > The branch main has been updated by imp: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D44fb9f2701c71ce6bba75810fc= 6b7e735ecd5868 >=20 > commit 44fb9f2701c71ce6bba75810fc6b7e735ecd5868 > Author: Warner Losh > AuthorDate: 2025-11-16 23:58:37 +0000 > Commit: Warner Losh > CommitDate: 2025-11-17 00:16:26 +0000 >=20 > sys/efi_map.h: This is a kernel-only file > =20 > Slap a #ifdef _KERNEL around it all since it's useless to userland. > =20 > Fixes: 43b8edb32051 > Sponsored by: Netflix > --- > sys/sys/efi_map.h | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/sys/sys/efi_map.h b/sys/sys/efi_map.h > index 8b458cd08b00..d2206056b1f8 100644 > --- a/sys/sys/efi_map.h > +++ b/sys/sys/efi_map.h > @@ -7,6 +7,8 @@ > #ifndef _SYS_EFI_MAP_H_ > #define _SYS_EFI_MAP_H_ > =20 > +#ifdef _KERNEL > + > #include > #include > =20 > @@ -21,4 +23,6 @@ void efi_map_add_entries(struct efi_map_header *efihdr); > void efi_map_exclude_entries(struct efi_map_header *efihdr); > void efi_map_print_entries(struct efi_map_header *efihdr); > =20 > +#endif > + > #endif /* !_SYS_EFI_MAP_H_ */ >=20 Hello, tried a buildworld just now and it fails, something seems missing: [...] =3D=3D=3D> stand/libsa (all) mkdir -p xlocale arpa ssp; for i in a.out.h assert.h elf.h limits.h nlist.= h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h; do ln -sf /usr/src/include/$i = $i; done; ln -sf /usr/src/sys/sys/errno.h errno.h; ln -sf /usr/src/sys/sys/stdarg.h stdarg.= h; ln -sf /usr/src/sys/sys/stdint.h stdint.h; ln -sf /usr/src/include/arpa/inet.h ar= pa/inet.h; ln -sf /usr/src/include/arpa/tftp.h arpa/tftp.h; ln -sf /usr/src/include/ssp/ssp.= h ssp/ssp.h; for i in _time.h _strings.h _string.h; do [ -f xlocale/$i ] = || :> xlocale/$i; done; for i in ctype.h fcntl.h signal.h stdio.h stdlib.h unis= td.h; do ln -sf /usr/src/stand/libsa/stand.h $i; done cc -target x86_64-unknown-freebsd16.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64= /tmp/usr/bin -O2 -pipe -fno-common -nostdinc -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=3Djagged-littl= e-pill -Dfloat=3Dfloaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_G= ELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -= mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -DLOADER_VERIEXEC -I/usr/src/lib/libsecureboot/h -DLOADER_VERIEXEC_VECTX -Iinclude -I/usr/src/contrib/bearssl/inc -Wno-deprecated-non-prototype -I/usr/src/con= trib/bearssl/src -I/usr/src/lib/libsecureboot/h -DHAVE_BR_X509_TIME_CHECK -DNO_STDIO -I/usr/src/contrib/bearssl/tools -I. -DTRUST_ANCHOR_STR=3Dta_PEM -DVE_SHA25= 6_SUPPORT -DVE_SHA384_SUPPORT -DVE_RSA_SUPPORT -DVE_PCR_SUPPORT -I/usr/src/stand/efi= /include -I/usr/src/lib/libsecureboot/efi/include -I/usr/src/stand/efi/include/amd6= 4 -DNDEBUG -MD -MF.depend.efi_variables.o -MTefi_variables.o -std=3Dgnu17 -Wno-format-zero= -length -Wsystem-headers -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-= plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Wno-error=3Dcast-function-type-mismatch -Wno-tautological-compare -Wno-unu= sed-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-un= used-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promote= d-parameter -Wno-parentheses -Oz -Qunused-arguments -c /usr/src/lib/libsecureboot/= efi/efi_variables.c -o efi_variables.o In file included from /usr/src/lib/libsecureboot/efi/efi= _variables.c:31: /usr/src/stand/efi/include/efi.h:47:10: fatal error: 'Uefi.h' file not foun= d 47 | #include [...] Greetings, oh --=20 A FreeBSD user --Sig_/osyfs5hVvPgne4ewuVDG6BP Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaRqg/AAKCRCxzvs8Oqok r/+0AQCeI1TIZdNcsmm52SvhHi4sEkFTNv6SuIU+fMgB82XiwAD+Lpr1gd4DL1SK LAbM8GVefhccpmDADDgqUCvnu147LwA= =z653 -----END PGP SIGNATURE----- --Sig_/osyfs5hVvPgne4ewuVDG6BP--