[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#10021: [PATCH id] Add error-checking on GNU
From: |
Eric Blake |
Subject: |
Re: bug#10021: [PATCH id] Add error-checking on GNU |
Date: |
Wed, 16 Nov 2011 12:33:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 |
On 11/15/2011 10:09 AM, Eric Blake wrote:
> Still debatable. POSIX explicitly states that the condition of errno
> after a successful call to a standardized function is unspecified; that
> is, a successful geteuid() may pollute errno, but it's okay, because the
> user shouldn't be inspecting errno after geteuid().
>
> It might be worth proposing a change to POSIX to require that geteuid()
> and friends leave errno unchanged on success (in order to allow for the
> GNU extension of setting errno on failure, even though POSIX did not
> reserve a specific value for failure); I'll pursue that course.
Done: http://austingroupbugs.net/view.php?id=511
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: bug#10021: [PATCH id] Add error-checking on GNU, (continued)
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Roland McGrath, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Eric Blake, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Ludovic Courtès, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/14
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Ludovic Courtès, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Eric Blake, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU,
Eric Blake <=
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/15
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/16
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Paul Eggert, 2011/11/20
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/13
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Ludovic Courtès, 2011/11/13
- Re: bug#10021: [PATCH id] Add error-checking on GNU, Jim Meyering, 2011/11/14