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] [day] [month] [year] [list]
Message-ID: <54540412.4000405@linux.intel.com>
Date:	Fri, 31 Oct 2014 14:50:10 -0700
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Dave Hansen <dave@...1.net>, linux-kernel@...r.kernel.org
CC:	dave.hansen@...ux.intel.com, x86@...nel.org, qiaowei.ren@...el.com,
	fenghua.yu@...el.com
Subject: Re: [RFC][PATCH] x86 mpx: give bndX registers actual names

On 10/31/2014 02:22 PM, Dave Hansen wrote:
>  
> -struct bndregs_struct {
> -	u64 bndregs[8];
> +struct bndreg_struct {
> +	u64 lb; /* lower bound */
> +	u64 ub; /* upper bound */
>  } __packed;
>  
>  struct bndcsr_struct {
> @@ -394,7 +395,7 @@ struct xsave_struct {
>  	struct xsave_hdr_struct xsave_hdr;
>  	struct ymmh_struct ymmh;
>  	struct lwp_struct lwp;
> -	struct bndregs_struct bndregs;
> +	struct bndreg_struct bnd[4];
>  	struct bndcsr_struct bndcsr;
>  	/* new processor state extensions will go here */
>  } __attribute__ ((packed, aligned (64)));
> _
> 

How about "struct bndreg"?

	-hpa

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