musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--src/misc/getauxval.c 1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc/getauxval.c b/src/misc/getauxval.c
index 5ac8b3d2..b846c80f 100644
--- a/src/misc/getauxval.c
+++ b/src/misc/getauxval.c
@@ -5,6 +5,7 @@
unsigned long getauxval(unsigned long item)
{
size_t *auxv = libc.auxv;
+ if (item == AT_SECURE) return libc.secure;
for (; *auxv; auxv+=2)
if (*auxv==item) return auxv[1];
errno = ENOENT;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月14日 06:36:42 +0000

AltStyle によって変換されたページ (->オリジナル) /