posix_fallocate / How to go from a POSIX interpretation # to Austin Group Bug ID?
Carlos O'Donell
carlos@redhat.com
Wed Sep 30 13:37:00 GMT 2015
On 09/29/2015 02:18 PM, Carlos O'Donell wrote:
> In working on posix_fallocate recently I noticed that for Issue 7
> the wording for EINVAL had been changed.
>
> The Issue 7 text says:
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.html
> ~~~
> Issue 7
>
> Austin Group Interpretations 1003.1-2001 #022, #024, and #162 are applied, changing the definition of the [EINVAL] error.
> ~~~
>
> Is there any way to go from those interpretation #s to Austin Group Bug
> numbers (http://austingroupbugs.net/main_page.php)?
>
> I'd like to read those issues and the final interpretations.
>
> If I'm right then failure of pread in our emulation should return EINVAL
> instead of EBADF (kernel error for failed pread on O_WRONLY file) to indicate
> that posix_fallocate can't be supported.
>
> Cheers,
> Carlos.
>
And the answer is "Not easily..."
https://collaboration.opengroup.org/austin/interps/documents.php
https://collaboration.opengroup.org/austin/interps/documents/4882/AI-022.txt
https://collaboration.opengroup.org/austin/interps/documents/4885/AI-024.txt
https://collaboration.opengroup.org/austin/interps/documents/14574/AI-162.txt
Cheers,
Carlos.
More information about the Libc-alpha
mailing list