aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 05:40:05 +0000
committerSam James <sam@gentoo.org>2023-01-29 05:56:32 +0000
commit755a512e6a3c2b015b8d54dc98f2f48bb9dd3971 (patch)
treedb89c83c7bf0972b80df309bb8f04bb14d08fd73 /security.c
parent.github: add Alpine CI (diff)
downloadpax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.tar.gz
pax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.tar.bz2
pax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.zip
Undo IWYU fixes
I wasn't paying enough attention, it's better to just fold the needed bits into porting.h. This reverts commit ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee. This reverts commit f8287200aec0ca33ef07fafcdd5aef0aa6eb1306. This reverts commit aa907a42d89ddfd5a7e64d8182a1da35277f2f6e. Bug: https://github.com/gentoo/pax-utils/pull/11#issuecomment-1407566344 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'security.c')
-rw-r--r--security.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/security.c b/security.c
index f1a34df..19bf78f 100644
--- a/security.c
+++ b/security.c
@@ -5,21 +5,8 @@
* Copyright 2015 Mike Frysinger - <vapier@gentoo.org>
*/
-#include <errno.h>
-
-#ifdef WANT_SECCOMP
-#include <linux/seccomp.h>
-#include <linux/securebits.h>
-#endif
-
-#include <sched.h>
-#include <stdbool.h>
-#include <sys/prctl.h>
-#include <unistd.h>
-
#include "paxinc.h"
#include "seccomp-bpf.h"
-#include "security.h"
#ifdef __linux__