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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160914114606.GD21691@naverao1-tp.localdomain>
Date:   Wed, 14 Sep 2016 17:16:06 +0530
From:   "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
To:     Wang Nan <wangnan0@...wei.com>
Cc:     acme@...nel.org, linux-kernel@...r.kernel.org, lizefan@...wei.com,
        pi3orama@....com, Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: [PATCH 2/2] tools include: Add mman macros needed by perf for
 all arch

On 2016/09/14 10:57AM, Wang Nan wrote:
> Some macros required by tools/perf/trace/beauty/mmap.c is not support
> for all architectures. For example, MAP_32BIT is defined on x86 only,
> alpha doesn't define MADV_HWPOISON and MADV_SOFT_OFFLINE.
> 
> This patch regenerates mman.h for each archs, defines these missing
> macros for perf. For missing MADV_*, fall back to asm-generic/mman-common
> because they are in 'case ...' statement. For flags, define to 0.

This resolves the build issue on powerpc, thanks!

Tested-by: Naveen N. Rao <naveen.n.rao@...ux.vnet.ibm.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ