Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1381626
| From | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/2] vfs: Define new syscall getumask. |
| Date | 2016-04-18 13:50 +0200 |
| Message-ID | <rpfQK-4Ut-21@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <rp5Rn-55Q-1@gated-at.bofh.it> <rp6X8-66A-9@gated-at.bofh.it> <rp6X8-66A-7@gated-at.bofh.it> <rp7Jw-6Rs-13@gated-at.bofh.it> <rp7Jx-6Rs-53@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Apr 17, 2016 at 08:00:54PM -0700, H. Peter Anvin wrote: > Now, we could of course have __linux_getrandom() and make a weak alias > for getrandom(), but I really don't understand the use case for > exporting all the system calls. If we do create a libinux library, I'd definitely want getrandom(2) to be defined as getrandom(), and not as sys_getrandom() or linux_getrandom(). For bonus points we could also define a OpenBSD compatible getentropy() interface so that programs that were already written to use the OpenBSD interface (and perhaps have a configure test for it already) would get the benefits of the getrandom(2) system call immediately. - Ted
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. "H. Peter Anvin" <hpa@zytor.com> - 2016-04-18 02:40 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. Greg KH <gregkh@linuxfoundation.org> - 2016-04-18 03:10 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. "H. Peter Anvin" <hpa@zytor.com> - 2016-04-18 04:10 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. "H. Peter Anvin" <hpa@zytor.com> - 2016-04-18 04:20 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. Josh Triplett <josh@joshtriplett.org> - 2016-04-18 05:10 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. "H. Peter Anvin" <hpa@zytor.com> - 2016-04-18 05:10 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. Theodore Ts'o <tytso@mit.edu> - 2016-04-18 13:50 +0200
Re: [PATCH v2 0/2] vfs: Define new syscall getumask. Josh Triplett <josh@joshtriplett.org> - 2016-04-18 04:20 +0200
csiph-web