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. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html