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:	Thu, 10 Sep 2015 12:11:15 +0100
From:	David Howells <dhowells@...hat.com>
To:	Palmer Dabbelt <palmer@...belt.com>
Cc:	dhowells@...hat.com, arnd@...db.de, 3chas3@...il.com,
	hpa@...or.com, mingo@...hat.com, plagnioj@...osoft.com,
	jikos@...nel.org, linux-api@...r.kernel.org,
	linux-arch@...r.kernel.org,
	linux-atm-general@...ts.sourceforge.net,
	linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	netdev@...r.kernel.org, tglx@...utronix.de, tomi.valkeinen@...com,
	x86@...nel.org
Subject: Re: [PATCH 09/13] Hide bp_type_idx behind #ifdef __KERNEL__

Palmer Dabbelt <palmer@...belt.com> wrote:

> +#ifdef __KERNEL__
>  enum bp_type_idx {
>  	TYPE_INST 	= 0,
> -#ifdef CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
> +#if defined(CONFIG_HAVE_MIXED_BREAKPOINTS_REGS)
>  	TYPE_DATA	= 0,
>  #else
>  	TYPE_DATA	= 1,
>  #endif
>  	TYPE_MAX
>  };
> +#endif /* __KERNEL__ */

This should be in include/linux/hw_breakpoint.h without __KERNEL__ markings.

David
--
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