Re: [PATCH 7/7] x86/sgx: Add a reserved field to sgx_enclave_add_region to drop 'packed'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/5/19 12:48 PM, Sean Christopherson wrote:
>  struct sgx_enclave_add_region {
>  	__u64	addr;
> @@ -51,7 +52,8 @@ struct sgx_enclave_add_region {
>  	__u64	secinfo;
>  	__u32	flags;
>  	__u16	mrmask;
> -} __attribute__((__packed__));
> +	__u16	reserved;
> +};

Without __packed__ do we have strong enough guarantees from the compiler
for a stable ABI?



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux