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: <20110104154439.GA26167@ghostprotocols.net>
Date:	Tue, 4 Jan 2011 13:44:39 -0200
From:	Arnaldo Carvalho de Melo <acme@...hat.com>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
	paulus@...ba.org, davem@...emloft.net, fweisbec@...il.com,
	perfmon2-devel@...ts.sf.net, eranian@...il.com,
	robert.richter@....com
Subject: Re: [PATCH] perf: fix perf_event.h header usage

Em Tue, Jan 04, 2011 at 04:30:01PM +0200, Stephane Eranian escreveu:
> This patch fixes the usage of the perf_event.h header file
> between command modules and the supporting code in util.
> 
> It is necessary to ensure that ALL files use the SAME
> perf_event.h header from the kernel source tree.
> 
> There were a couple of #include <linux/perf_event.h> mixed
> with #include "../../perf_event.h".
> 
> This caused issues on some distros because of mismatch
> in the layout of struct perf_event_attr. That eventually
> led perf stat to segfault.
> 
> Signed-off-by: Stephane Eranian <eranian@...gle.com>

Thanks, applying.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ