Re: [PATCH v2 16/36] fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}()

From: Christoph Hellwig
Date: Fri Mar 16 2018 - 04:48:41 EST


On Thu, Mar 15, 2018 at 08:05:09PM +0100, Dominik Brodowski wrote:
> Using ksys_dup() and ksys_dup3() as helper functions allows us to
> avoid the in-kernel calls to the sys_dup() and sys_dup3() syscalls.

do_dup/dup3 or kern_dup/dup3, please.