Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377898
| From | Cyrill Gorcunov <gorcunov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] vfs: Define new syscall getumask. |
| Date | 2016-04-13 14:50 +0200 |
| Message-ID | <rnsp4-1ia-23@gated-at.bofh.it> (permalink) |
| References | <rnrt0-BH-11@gated-at.bofh.it> <rnrt0-BH-9@gated-at.bofh.it> <rnsp4-1ia-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/2] vfs: Define new syscall getumask. "Richard W.M. Jones" <rjones@redhat.com> - 2016-04-13 13:50 +0200
Re: [PATCH 1/2] vfs: Define new syscall getumask. Florian Weimer <fw@deneb.enyo.de> - 2016-04-13 14:50 +0200
Re: [PATCH 1/2] vfs: Define new syscall getumask. Cyrill Gorcunov <gorcunov@gmail.com> - 2016-04-13 14:50 +0200
csiph-web