On 7/21/24 19:08, Vivian Wang wrote:
Sometimes zero is a valid value for getauxval (e.g. AT_EXECFD). Make
sure that we can distinguish between a valid zero value and a not found
entry by setting errno.
Ignore getauxval from sys/auxv.h on glibc < 2.19 because it does not set
errno.
Signed-off-by
> -Original Message-
> From: Vivian Wang
> Sent: Monday, July 22, 2024 4:24 PM
> To: Yao, Xingtao/姚 幸涛 ; qemu-devel@nongnu.org
> Cc: Richard Henderson ; Laurent Vivier
> Subject: Re: [PATCH 1/2] util/getauxval: Ensure setting errno if not found
>
> On 7/
On 7/22/24 08:18, Xingtao Yao (Fujitsu) wrote:
>
>> -Original Message-
>> From: qemu-devel-bounces+yaoxt.fnst=fujitsu@nongnu.org
>> On Behalf Of Vivian
>> Wang
>> Sent: Sunday, July 21, 2024 5:08 PM
>> To: qemu-devel@nongnu.org
>> Cc: Vivian Wang ; Richard Henderson ;
>> Laurent Vivier
> -Original Message-
> From: qemu-devel-bounces+yaoxt.fnst=fujitsu@nongnu.org
> On Behalf Of Vivian
> Wang
> Sent: Sunday, July 21, 2024 5:08 PM
> To: qemu-devel@nongnu.org
> Cc: Vivian Wang ; Richard Henderson ;
> Laurent Vivier
> Subject: [PATCH 1/2] util/getauxval: Ensure settin