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]
Date:	Sun, 14 Oct 2012 11:38:10 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	mingo@...nel.org
Cc:	torvalds@...ux-foundation.org, dhowells@...hat.com,
	paulus@...ba.org, jaxboe@...ionio.com, tj@...nel.org,
	viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
	acme@...radead.org, a.p.zijlstra@...llo.nl, tglx@...utronix.de,
	hpa@...or.com
Subject: Re: [PATCH] perf: Fix UAPI fallout

From: Ingo Molnar <mingo@...nel.org>
Date: Sun, 14 Oct 2012 10:56:17 +0200

> Find below a stab at that, lightly tested.

Thanks for doing this.

> diff --git a/tools/perf/perf.h b/tools/perf/perf.h
> index a89cbbb..2762877 100644
> --- a/tools/perf/perf.h
> +++ b/tools/perf/perf.h
> @@ -112,7 +112,7 @@ void get_term_dimensions(struct winsize *ws);
>  #include <sys/types.h>
>  #include <sys/syscall.h>
>  
> -#include "../../include/linux/perf_event.h"
> +#include "../../include/uapi/linux/perf_event.h"
>  #include "util/types.h"
>  #include <stdbool.h>
>  

Each arch stanza in this header will also need the asm/unistd.h header
path adjusted to the UAPI one.

In fact, that's the only thing that broke the build for me.
--
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