[PATCH v24 12/24] x86/sgx: Linux Enclave Driver

Haitao Huang haitao.huang at linux.intel.com
Mon Dec 2 15:48:43 UTC 2019


On Fri, 29 Nov 2019 17:13:14 -0600, Jarkko Sakkinen  
<jarkko.sakkinen at linux.intel.com> wrote:


> +
> +	for (c = 0 ; c < addp.length; c += PAGE_SIZE) {
> +		if (signal_pending(current)) {
> +			ret = -ERESTARTSYS;
> +			break;
> +		}

This IOC is not idempotent as pages EADDed at this point can not be  
re-EADDed again. So we can't return ERESTARTSYS

Haitao



More information about the Linux-security-module-archive mailing list