From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF07615800F for ; Sun, 29 Jan 2023 03:36:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A15BE08A0; Sun, 29 Jan 2023 03:36:56 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 03AE4E08A0 for ; Sun, 29 Jan 2023 03:36:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 9B93C3404AD for ; Sun, 29 Jan 2023 03:36:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 442E7828 for ; Sun, 29 Jan 2023 03:36:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1674900886.aa907a42d89ddfd5a7e64d8182a1da35277f2f6e.sam@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: paxelf.h paxldso.h paxmacho.h seccomp-bpf.h security.h xfuncs.h X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aa907a42d89ddfd5a7e64d8182a1da35277f2f6e X-VCS-Branch: master Date: Sun, 29 Jan 2023 03:36:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8eb0faeb-fbfe-4746-b572-6026fba4b3b3 X-Archives-Hash: 87e1938d373373cb36f17172a3ca895f commit: aa907a42d89ddfd5a7e64d8182a1da35277f2f6e Author: Sam James gentoo org> AuthorDate: Sat Jan 28 10:14:46 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 28 10:14:46 2023 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=aa907a42 Make headers standalone (missing includes, prep for clang-tidy) Signed-off-by: Sam James gentoo.org> paxelf.h | 5 +++++ paxldso.h | 4 ++++ paxmacho.h | 2 ++ seccomp-bpf.h | 2 ++ security.h | 2 ++ xfuncs.h | 2 ++ 6 files changed, 17 insertions(+) diff --git a/paxelf.h b/paxelf.h index f252969..ac41a64 100644 --- a/paxelf.h +++ b/paxelf.h @@ -11,6 +11,11 @@ #ifndef _PAX_ELF_H #define _PAX_ELF_H +#include +#include +#include +#include + typedef struct { const void *phdr; const void *shdr; diff --git a/paxldso.h b/paxldso.h index 91c7eed..fd9f344 100644 --- a/paxldso.h +++ b/paxldso.h @@ -9,6 +9,10 @@ #ifndef _PAX_LDSO_H #define _PAX_LDSO_H +#include "paxelf.h" +#include "porting.h" +#include "xfuncs.h" + /* * ld.so.cache logic */ diff --git a/paxmacho.h b/paxmacho.h index 48ac854..c32ccbb 100644 --- a/paxmacho.h +++ b/paxmacho.h @@ -12,6 +12,8 @@ #ifndef _PAX_MACHO_H #define _PAX_MACHO_H +#include + #include "macho.h" #define MGET(swapped, value) (swapped ? (__typeof__(value))bswap_32(value) : value) diff --git a/seccomp-bpf.h b/seccomp-bpf.h index 80d6d94..21499f7 100644 --- a/seccomp-bpf.h +++ b/seccomp-bpf.h @@ -4,6 +4,8 @@ * See seccomp-bpf.c for details. */ #undef SECCOMP_BPF_AVAILABLE +#include + #if defined(__aarch64__) /* AARCH64 */ #define SECCOMP_BPF_AVAILABLE diff --git a/security.h b/security.h index 65e1ad5..ef2e82a 100644 --- a/security.h +++ b/security.h @@ -9,6 +9,8 @@ #ifndef _PAX_SECURITY_H #define _PAX_SECURITY_H +#include + /* Whether to enable features that significantly impact speed. */ #ifdef SLOW_SECURITY # define USE_SLOW_SECURITY 1 diff --git a/xfuncs.h b/xfuncs.h index 61577ec..5781d61 100644 --- a/xfuncs.h +++ b/xfuncs.h @@ -9,6 +9,8 @@ #ifndef __XFUNCS_H__ #define __XFUNCS_H__ +#include + char *xstrdup(const char *s); void *xmalloc(size_t size); void *xzalloc(size_t size);