Re: [PATCH v3 7/7] x86/ldt,ptrace: provide regset access to the LDT

2018-06-22 Thread Andy Lutomirski
On Fri, Jun 22, 2018 at 8:06 AM wrote: > > On June 22, 2018 7:49:13 AM PDT, Andy Lutomirski wrote: > >On Thu, Jun 21, 2018 at 2:18 PM H. Peter Anvin, Intel > > wrote: > >> > >> From: "H. Peter Anvin" > >> > >> Provide ptrace/regset access to the LDT, if one exists. This > >> interface provides

Re: [PATCH v3 7/7] x86/ldt,ptrace: provide regset access to the LDT

2018-06-22 Thread hpa
On June 22, 2018 7:49:13 AM PDT, Andy Lutomirski wrote: >On Thu, Jun 21, 2018 at 2:18 PM H. Peter Anvin, Intel > wrote: >> >> From: "H. Peter Anvin" >> >> Provide ptrace/regset access to the LDT, if one exists. This >> interface provides both read and write access. The write code is >> unified w

Re: [PATCH v3 7/7] x86/ldt,ptrace: provide regset access to the LDT

2018-06-22 Thread Andy Lutomirski
On Thu, Jun 21, 2018 at 2:18 PM H. Peter Anvin, Intel wrote: > > From: "H. Peter Anvin" > > Provide ptrace/regset access to the LDT, if one exists. This > interface provides both read and write access. The write code is > unified with modify_ldt(); the read code doesn't have enough > similarity

[PATCH v3 7/7] x86/ldt,ptrace: provide regset access to the LDT

2018-06-21 Thread H. Peter Anvin, Intel
From: "H. Peter Anvin" Provide ptrace/regset access to the LDT, if one exists. This interface provides both read and write access. The write code is unified with modify_ldt(); the read code doesn't have enough similarity so it has been kept made separate. Signed-off-by: H. Peter Anvin (Intel)