Re: [PATCH v6 07/11] intel_sgx: ptrace() support

From: Joe Perches
Date: Sun Nov 26 2017 - 10:50:26 EST


On Sun, 2017-11-26 at 17:44 +0200, Jarkko Sakkinen wrote:
> On Sat, Nov 25, 2017 at 09:29:24PM +0200, Jarkko Sakkinen wrote:
> > + ptr = sgx_get_page(page->epc_page);
> > + ret = __edbgrd((unsigned long)ptr + offset, data);
^^^^^^

> > + sgx_put_page(ptr);
> > + if (ret) {
> > + sgx_dbg(encl, "EDBGRD returned %d\n", ret);
> ~~~~~~
> EDBGWR

?