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

2017-11-23 Thread Jarkko Sakkinen
On Thu, Nov 16, 2017 at 10:28:42AM +0100, Thomas Gleixner wrote: > On Mon, 13 Nov 2017, Jarkko Sakkinen wrote: > > > Implemented VMA callbacks in order to ptrace() debug enclaves. > > The amount of information in this changelog is really overwhelming. > > Please explain WHY you need that and HOW

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

2017-11-16 Thread Thomas Gleixner
On Mon, 13 Nov 2017, Jarkko Sakkinen wrote: > Implemented VMA callbacks in order to ptrace() debug enclaves. The amount of information in this changelog is really overwhelming. Please explain WHY you need that and HOW its supposed to work. > +static inline int sgx_vma_access_word(struct sgx_enc

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

2017-11-13 Thread Jarkko Sakkinen
Implemented VMA callbacks in order to ptrace() debug enclaves. Signed-off-by: Jarkko Sakkinen --- drivers/platform/x86/intel_sgx/sgx_vma.c | 115 +++ 1 file changed, 115 insertions(+) diff --git a/drivers/platform/x86/intel_sgx/sgx_vma.c b/drivers/platform/x86/intel