Skip to content
Commit 22b79ed7 authored by H.J. Lu's avatar H.J. Lu
Browse files

Use <startup.h> in __libc_init_secure



Since __libc_init_secure is called before ARCH_SETUP_TLS, it must use
"int $0x80" for system calls in i386 static PIE.  Add startup_getuid,
startup_geteuid, startup_getgid and startup_getegid to <startup.h>.
Update __libc_init_secure to use them.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent cabc8a29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment