]> xenbits.xensource.com Git - unikraft/libs/musl.git/commit
glue: Init libc.auxv to point to a zero value
authorStefan Jumarea <stefanjumarea02@gmail.com>
Wed, 31 May 2023 17:14:41 +0000 (20:14 +0300)
committerUnikraft <monkey@unikraft.io>
Wed, 28 Jun 2023 13:21:19 +0000 (13:21 +0000)
commit7dcb5a02f61b0e3b1d5000ea28184ede928ded3a
treee6d2690613e43e73b2a3fc20254f67469b2bc278
parent2d87f75330625ec93eb3697ebe342fad60dbc4be
glue: Init libc.auxv to point to a zero value

The `libc.auxv` is not supposed to be 0, since it will be dereferenced
by any call to `getauxval`. It should point to a 0 value instead.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #53
__uk_init_tls.c