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