From nobody Wed Nov 20 19:49:58 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 4XtsQZ28d5z5dgpl; Wed, 20 Nov 2024 19:49:58 +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 4XtsQZ1jbGz4j9b; Wed, 20 Nov 2024 19:49:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732132198; 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=Xm61rbJgEywjLjrvfhJFjs39ZysYr1tC+hoG3qffw/0=; b=wx/ENt5xTWn2UyZDiGGGqrPqB8zSmfGzO6mJ4kPLsZfWAsqQvaG1oEcAJq0YFRIuIfLBV4 MiyolwwiG5KzM1L9Zz61TCI/E5hq/usZLM2Ugzvo6WVFom16JowhcUXW4phOqFlXEqBKPZ hR968cJo/iBASED/DA613+tT7kdMi1f2qow62FqynBedFDP9FIdoJ3TyRvuD1cH1WQK/LO Efm4xHD3x1jAhpDwcjlKwLKHewWI5835ncNbZZnTcXoYnpXxDev15x3MgiJpiZqrGHe8AC dXjhk7l8anYBt2uXYf2xj1D0oZByf2U/iCAqmjCoAy4jTCeV0LUMP79tr8jqoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732132198; 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=Xm61rbJgEywjLjrvfhJFjs39ZysYr1tC+hoG3qffw/0=; b=Pa8FVjjdPuTo6dQOVCR1X8pyjmsGYaiw70uUGJxXCBk6qAPbpiJ4Asa74i/otn9hxsnOJ2 SwWwjAA9UL6/vkS5Tw0+rJ0KQV0+F7dYzAjLd6JL2T23sTLTeoKUmhXKLoh86gAJUH0ci1 QUKWsgJ/Ovyd/aPhJHLLJwDqu3Zcv5fgaockVllrOJXc0dd3JXFqoKe/rDcYwkQloDCEn3 D/uTSOw4q+RrJexsDbX17wGhoCHtDmaID1fuDwcRc9erFu0dvCdwYBVRwapICdQIRyT6rY vnLIxn3udJavii6KYMd9eUaaT6QYP1HClmcbcFwAdbORjd1ScSW+qokZIURE7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732132198; a=rsa-sha256; cv=none; b=FEL9fmGyZpymaxRWuc/K9yS88+9iHe+M81kimYpbs9PNYYuw+KfUI3zpaBz51hzR7esBBd hswXT0Ftslvbdr2tdPRqe5fa1I263Qm6liAIp5YOWukv1ulaZ8/TJhnlVEdxDRk1REl1yA YqAmlFfhxcx4yFKknGegIW3Iwa53IJPPwSxmzZfzXTmqla6Ndk/diitIqebKkCYFundJIO 14Sy/37EZWYyvn/fuBRz7I+bbfn8ljyhkF5mL/PqbnU3D9M67b15rZ26pDIjHD7ufz1Ypl dJ4eKzpj67J8uZtiuWSRS28GmuGI+HRxtChoeVpc071WPh1DdttSrRXnMXxGJQ== 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 4XtsQZ1KsXz172b; Wed, 20 Nov 2024 19:49:58 +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 4AKJnwQs006626; Wed, 20 Nov 2024 19:49:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AKJnwH2006623; Wed, 20 Nov 2024 19:49:58 GMT (envelope-from git) Date: Wed, 20 Nov 2024 19:49:58 GMT Message-Id: <202411201949.4AKJnwH2006623@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: 780f28929782 - main - stand: drop inttypes.h from safe list 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: 780f28929782a104eefbc81f031836bf1febb6de Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=780f28929782a104eefbc81f031836bf1febb6de commit 780f28929782a104eefbc81f031836bf1febb6de Author: Warner Losh AuthorDate: 2024-11-20 19:37:08 +0000 Commit: Warner Losh CommitDate: 2024-11-20 19:49:48 +0000 stand: drop inttypes.h from safe list Nothing uses it anymore, so drop it from the 'safe' list. Also, move stand/efi/loader/main.c to using machine/_inttypes.h which is all it really needs. Sponsored by: Netflix --- stand/efi/loader/main.c | 2 +- stand/libsa/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 500fcba20938..213089961704 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -45,7 +45,7 @@ #include #include #include -#include +#include #include #include diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 603fee71e84a..42ef3e69c18a 100644 --- a/stand/libsa/Makefile +++ b/stand/libsa/Makefile @@ -200,7 +200,7 @@ MAN=libsa.3 # Create a subset of includes that are safe, as well as adjusting those that aren't # The lists may drive people nuts, but they are explicitly opt-in FAKE_DIRS=xlocale arpa ssp -SAFE_INCS=a.out.h assert.h elf.h inttypes.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h +SAFE_INCS=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 STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h unistd.h OTHER_INC=stdarg.h errno.h stdint.h