Re: [PATCH] syscalls: define and explain goal to not call syscalls in the kernel

2018-03-30 Thread Dominik Brodowski
Jon, On Fri, Mar 30, 2018 at 09:35:18AM -0600, Jonathan Corbet wrote: > On Sun, 25 Mar 2018 18:25:27 +0200 > Dominik Brodowski wrote: > > > As there have been multiple inquiries on the rationale of my patchsets > > removing in-kernel calls to sys_xyzzy(), here is an

Re: [PATCH] syscalls: define and explain goal to not call syscalls in the kernel

2018-03-30 Thread Jonathan Corbet
On Sun, 25 Mar 2018 18:25:27 +0200 Dominik Brodowski wrote: > As there have been multiple inquiries on the rationale of my patchsets > removing in-kernel calls to sys_xyzzy(), here is an updated patch 01/NN > which I will push upstream for v4.17-rc1. I will also

[PATCH] syscalls: define and explain goal to not call syscalls in the kernel

2018-03-25 Thread Dominik Brodowski
The syscall entry points to the kernel defined by SYSCALL_DEFINEx() and COMPAT_SYSCALL_DEFINEx() should only be called from userspace through kernel entry points, but not from the kernel itself. This will allow cleanups and optimizations to the entry paths *and* to the parts of the kernel code