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
| ||
|
Date: Tue, 21 Sep 2021 12:29:02 +0200 From: Paolo Bonzini <pbonzini@...hat.com> To: Dave Hansen <dave.hansen@...el.com>, Kai Huang <kai.huang@...el.com> Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org, x86@...nel.org, linux-sgx@...r.kernel.org, jarkko@...nel.org, dave.hansen@...ux.intel.com, yang.zhong@...el.com Subject: Re: [PATCH 2/2] x86: sgx_vepc: implement SGX_IOC_VEPC_REMOVE_ALL ioctl On 21/09/21 01:09, Dave Hansen wrote: >> Maybe also worth to mention userspace should guarantee there's no vcpu running >> inside guest enclave when resetting guest's virtual EPC. > Why, specifically? > > Is it because EREMOVE will also fail if there is a CPU running in the > enclave? Yes, and SGX_ENCLAVE_ACT would cause a WARN. Good catch, Kai, I'll fix it. Paolo
Powered by blists - more mailing lists