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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu,  2 May 2019 20:25:33 -0400
From:   Arnaldo Carvalho de Melo <>
To:     Ingo Molnar <>,
        Thomas Gleixner <>
Cc:     Jiri Olsa <>, Namhyung Kim <>,
        Clark Williams <>,,,
        Arnaldo Carvalho de Melo <>,
        Adrian Hunter <>,
        Arnaldo Carvalho de Melo <>,
        Arnd Bergmann <>, Rich Felker <>,
        Vineet Gupta <>
Subject: [PATCH 11/11] perf tools: Remove needless asm/unistd.h include fixing build in some places

From: Arnaldo Carvalho de Melo <>

We were including sys/syscall.h and asm/unistd.h, since sys/syscall.h
includes asm/unistd.h, sometimes this leads to the redefinition of
defines, breaking the build.

Noticed on ARC with uCLibc.

Cc: Adrian Hunter <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Arnd Bergmann <>
Cc: Jiri Olsa <>
Cc: Namhyung Kim <>
Cc: Rich Felker <>
Cc: Vineet Gupta <>
Signed-off-by: Arnaldo Carvalho de Melo <>
 tools/perf/util/cloexec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/perf/util/cloexec.c b/tools/perf/util/cloexec.c
index ca0fff6272be..06f48312c5ed 100644
--- a/tools/perf/util/cloexec.c
+++ b/tools/perf/util/cloexec.c
@@ -7,7 +7,6 @@
 #include "asm/bug.h"
 #include "debug.h"
 #include <unistd.h>
-#include <asm/unistd.h>
 #include <sys/syscall.h>
 static unsigned long flag = PERF_FLAG_FD_CLOEXEC;

Powered by blists - more mailing lists