]> sourceware.org Git - glibc.git/commit
Test that errno is set to 0 at program startup
authorAaron Merey <amerey@redhat.com>
Thu, 19 Sep 2024 15:11:39 +0000 (11:11 -0400)
committerAaron Merey <amerey@redhat.com>
Fri, 20 Sep 2024 19:49:36 +0000 (15:49 -0400)
commit83fd4149ffdae86c8864a6828f39dd942956636f
treecd3b74a188ddae5800b8d8ea7394d37930840af2
parent35dc62de3d5d73a91d4ca8fa9799b510a34d170d
Test that errno is set to 0 at program startup

Add new testcase elf/tst-startup-errno.c which tests that errno is set
to 0 at first ELF constructor execution and at the start of the
program's main function.

Tested for x86_64

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
elf/Makefile
elf/tst-startup-errno.c [new file with mode: 0644]
This page took 0.040301 seconds and 5 git commands to generate.