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

From: Florian Weimer
Date: Wed Apr 13 2016 - 08:44:54 EST


* 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.