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  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, 13 Apr 2017 16:35:36 -0300
From:   Arnaldo Carvalho de Melo <>
To:     Ingo Molnar <>
        David Carrillo-Cisneros <>,
        Alexander Shishkin <>,
        Andi Kleen <>, He Kuang <>,
        Masami Hiramatsu <>,
        Paul Turner <>,
        Peter Zijlstra <>,
        Simon Que <>,
        Stephane Eranian <>,
        Wang Nan <>,
        Arnaldo Carvalho de Melo <>
Subject: [PATCH 7/7] Revert "perf tools: Fix include of linux/mman.h"

From: David Carrillo-Cisneros <>

In I reported a build error that I
believed was caused by wrong uapi includes. The synthom was fixed by
Arnaldo in:

 commit 2f7db5557994 ("perf tools: Fix include of linux/mman.h")

but I was wrong attributing the problem to the uapi include.

The root cause was that I was using ARCH=x86_64, hence using the wrong
uapi include path. This explains why no one else ran into this build

Signed-off-by: David Carrillo-Cisneros <>
Acked-by: Jiri Olsa <>
Cc: Alexander Shishkin <>
Cc: Andi Kleen <>
Cc: He Kuang <>
Cc: Masami Hiramatsu <>
Cc: Paul Turner <>
Cc: Peter Zijlstra <>
Cc: Simon Que <>
Cc: Stephane Eranian <>
Cc: Wang Nan <>
Signed-off-by: Arnaldo Carvalho de Melo <>
 tools/perf/util/event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 8255a26ac255..4d7e65fa9d86 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -1,5 +1,5 @@
 #include <linux/types.h>
-#include <linux/mman.h> /* To get things like MAP_HUGETLB even on older libc headers */
+#include <uapi/linux/mman.h> /* To get things like MAP_HUGETLB even on older libc headers */
 #include <api/fs/fs.h>
 #include "event.h"
 #include "debug.h"

Powered by blists - more mailing lists