This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] getrandom system call wrapper [BZ #17252]
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Paul Eggert <eggert at cs dot ucla dot edu>, Richard Henderson <rth at twiddle dot net>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 08 Oct 2016 14:31:28 +0200
- Subject: Re: [PATCH v3] getrandom system call wrapper [BZ #17252]
- Authentication-results: sourceware.org; auth=none
- References: <661db778-8110-82b2-2c41-d6195916cbea@redhat.com> <mvmlgz2eeb7.fsf@hawking.suse.de> <0e765666-3d0c-ef01-3ccc-82a11388c551@redhat.com> <77056253-5741-5213-f103-a88d01790bd3@twiddle.net> <721afeb6-4217-d7a5-bd66-3b1e3a4b0a49@redhat.com> <fab0e37b-89a0-50a7-5116-1d99299a4aec@twiddle.net> <1e504362-69dd-a6ea-44dc-59afed8c4b83@redhat.com> <fe7f2532-23e8-be86-6c69-ba8725767ba8@cs.ucla.edu> <d59f08ae-854c-6566-bc74-37f08813555e@redhat.com> <87twcn3yle.fsf@linux-m68k.org>
* Andreas Schwab:
> On Okt 08 2016, Florian Weimer <fweimer@redhat.com> wrote:
>
>> I have no strong preference. I do agree that using int instead of ssize_t
>> looks like a bug at first glance, but due to the implementation limit, it
>> does not really matter.
>
> If the implementation limit is ever removed then ssize_t remains
> compatible.
Fair enough. I have asked kernel folks for advice. Let's see if they
have anything to say on this matter.