lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1630644046-8853-1-git-send-email-sagarmp@cs.unc.edu>
Date:   Fri,  3 Sep 2021 00:40:46 -0400
From:   Sagar Patel <sagarmp@...unc.edu>
To:     linux-kernel@...r.kernel.org
Cc:     mingo@...hat.com, Sagar Patel <sagarmp@...unc.edu>
Subject: [PATCH] x86: remove unneeded personality.h includes

Signed-off-by: Sagar Patel <sagarmp@...unc.edu>
---
 arch/x86/ia32/ia32_signal.c  | 1 -
 arch/x86/kernel/process_32.c | 1 -
 arch/x86/kernel/signal.c     | 1 -
 arch/x86/kernel/sys_ia32.c   | 1 -
 arch/x86/kernel/sys_x86_64.c | 1 -
 arch/x86/um/signal.c         | 1 -
 6 files changed, 6 deletions(-)

diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c
index 5e3d9b7..9b424a6 100644
--- a/arch/x86/ia32/ia32_signal.c
+++ b/arch/x86/ia32/ia32_signal.c
@@ -18,7 +18,6 @@
 #include <linux/wait.h>
 #include <linux/unistd.h>
 #include <linux/stddef.h>
-#include <linux/personality.h>
 #include <linux/compat.h>
 #include <linux/binfmts.h>
 #include <linux/syscalls.h>
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 4f2f54e..1868b19 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -30,7 +30,6 @@
 #include <linux/export.h>
 #include <linux/kallsyms.h>
 #include <linux/ptrace.h>
-#include <linux/personality.h>
 #include <linux/percpu.h>
 #include <linux/prctl.h>
 #include <linux/ftrace.h>
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index f4d21e47..1968dee 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -20,7 +20,6 @@
 #include <linux/tracehook.h>
 #include <linux/unistd.h>
 #include <linux/stddef.h>
-#include <linux/personality.h>
 #include <linux/uaccess.h>
 #include <linux/user-return-notifier.h>
 #include <linux/uprobes.h>
diff --git a/arch/x86/kernel/sys_ia32.c b/arch/x86/kernel/sys_ia32.c
index 6cf6539..5478c5c 100644
--- a/arch/x86/kernel/sys_ia32.c
+++ b/arch/x86/kernel/sys_ia32.c
@@ -32,7 +32,6 @@
 #include <linux/mm.h>
 #include <linux/uio.h>
 #include <linux/poll.h>
-#include <linux/personality.h>
 #include <linux/stat.h>
 #include <linux/rwsem.h>
 #include <linux/compat.h>
diff --git a/arch/x86/kernel/sys_x86_64.c b/arch/x86/kernel/sys_x86_64.c
index 660b788..76c62f8 100644
--- a/arch/x86/kernel/sys_x86_64.c
+++ b/arch/x86/kernel/sys_x86_64.c
@@ -14,7 +14,6 @@
 #include <linux/mman.h>
 #include <linux/file.h>
 #include <linux/utsname.h>
-#include <linux/personality.h>
 #include <linux/random.h>
 #include <linux/uaccess.h>
 #include <linux/elf.h>
diff --git a/arch/x86/um/signal.c b/arch/x86/um/signal.c
index 7c11c9e..8ff849f 100644
--- a/arch/x86/um/signal.c
+++ b/arch/x86/um/signal.c
@@ -5,7 +5,6 @@
  */
 
 
-#include <linux/personality.h>
 #include <linux/ptrace.h>
 #include <linux/kernel.h>
 #include <asm/unistd.h>
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ