Re: [patch V4 10/15] x86/entry: Use generic syscall entry function

2020-07-22 Thread Thomas Gleixner
Kees, Kees Cook writes: > On Tue, Jul 21, 2020 at 12:57:16PM +0200, Thomas Gleixner wrote: > > This doesn't look very expensive, and they certain indicate really bad > conditions. Does this need to be behind a CONFIG? (Whatever the answer, > we can probably make those changes in a later series --

Re: [patch V4 10/15] x86/entry: Use generic syscall entry function

2020-07-21 Thread Kees Cook
On Tue, Jul 21, 2020 at 12:57:16PM +0200, Thomas Gleixner wrote: > Replace the syscall entry work handling with the generic version. Provide > the necessary helper inlines to handle the real architecture specific > parts, e.g. ptrace. > > Use a temporary define for idtentry_enter_user which will b

[patch V4 10/15] x86/entry: Use generic syscall entry function

2020-07-21 Thread Thomas Gleixner
Replace the syscall entry work handling with the generic version. Provide the necessary helper inlines to handle the real architecture specific parts, e.g. ptrace. Use a temporary define for idtentry_enter_user which will be cleaned up seperately. Signed-off-by: Thomas Gleixner --- V4: Drop the