Re: [PATCH 1/2] vfs: Define new syscall getumask.

From: Cyrill Gorcunov
Date: Wed Apr 13 2016 - 08:40:49 EST


On Wed, Apr 13, 2016 at 02:21:35PM +0200, Florian Weimer wrote:
> * Richard W. M. Jones:
>
> > +SYSCALL_DEFINE0(getumask)
> > +{
> > + return current->fs->umask;
> > +}
>
> The convention seems to be to call current_umask(), instead of
> inlining its contents.

Yes, please use existing.