94 Commits (b3797d3b2e10e6fff2a6b04af917e61e95838b08)

Author SHA1 Message Date
Petr Vaněk 7844ecb590 add secure_getenv function 7 years ago
Szabolcs Nagy a60b9e0686 fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targets 7 years ago
Rich Felker 22e5bbd0de overhaul i386 syscall mechanism not to depend on external asm source 7 years ago
Rich Felker 8f11e6127f track all live threads in an AS-safe, fully-consistent linked list 7 years ago
Alexander Monakov 00bd3b7d30 __libc_start_main: slightly simplify stage2 pointer setup 8 years ago
Rich Felker 7eda27d025 use prototype for function pointer in static link libc init barrier 8 years ago
Rich Felker ba0d83e822 fix error in constraints for static link libc init barrier 8 years ago
Rich Felker 7136836e14 document and make explicit desired noinline property for __init_libc 8 years ago
Rich Felker 4390383b32 impose barrier between thread pointer setup and use for static linking 8 years ago
Rich Felker b6d701a475 combine arch ABI's DTP_OFFSET into DTV pointers 8 years ago
Rich Felker 7b3348a98c support setting of default thread stack size via PT_GNU_STACK header 8 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker 13d1afa46f overhaul internally-public declarations using wrapper headers 8 years ago
Rich Felker 9b95fd0944 define and use internal macros for hidden visibility, weak refs 8 years ago
Szabolcs Nagy 610c5a8524 fix TLS layout of TLS variant I when there is a gap above TP 8 years ago
Rich Felker cdba6b2562 improve joinable/detached thread state handling 8 years ago
Rich Felker 9e2d820a55 use a dedicated futex object for pthread_join instead of tid field 8 years ago
Rich Felker 119bc55ba6 prevent bypass of guarantee that suids start with fd 0/1/2 open 8 years ago
Rich Felker b3516058eb for executing init array functions, use function type with prototype 9 years ago
Alexander Monakov cc0dbd5f09 free allocations in clearenv 9 years ago
Alexander Monakov 8e932792c9 overhaul environment functions 9 years ago
Alexander Monakov c7f56b4d2f __init_libc: add fallbacks for __progname setup 9 years ago
Rich Felker 5bf7eba213 fix support for initialized TLS in static PIE binaries 10 years ago
Alexander Monakov 9543656cc3 env: avoid leaving dangling pointers in __env_map 10 years ago
Rich Felker 19caa25d0a remove undef weak refs to init/fini array symbols in libc.so 11 years ago
Rich Felker d56460c939 unify static and dynamic linked implementations of thread-local storage 11 years ago
Rich Felker ad1cd43a86 unify static and dynamic libc init/fini code paths 11 years ago
Rich Felker 8a8fdf6398 eliminate use of SHARED macro to suppress visibility attributes 11 years ago
Rich Felker c87a521033 move calls to application init functions after crt1 entry point 11 years ago
Rich Felker 55d061f031 provide __stack_chk_fail_local in libc.a 11 years ago
Rich Felker 484194dbf4 fix stack protector crashes on x32 & powerpc due to misplaced TLS canary 11 years ago
Rich Felker abead1be6d fix misalignment of dtv in static-linked programs with odd-sized TLS 11 years ago
Rich Felker 23129ab8d5 remove dead store from static __init_tls 11 years ago
Rich Felker 5f51d52915 make __init_tp function static when static linking 11 years ago
Rich Felker f203b3511f fix inconsistent visibility for __hwcap and __sysinfo symbols 11 years ago
Rich Felker c267fb849f remove useless visibility application from static-linking-only code 11 years ago
Rich Felker 1ef849c6ec allow libc itself to be built with stack protector enabled 11 years ago
Rich Felker 19a1fe670a remove remnants of support for running in no-thread-pointer mode 11 years ago
Rich Felker 4e98cce1c5 optimize out setting up robust list with kernel when not needed 11 years ago
Szabolcs Nagy 204a69d2d9 copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archs 11 years ago
Rich Felker bd67959f3a fix over-alignment of TLS, insufficient builtin TLS on 64-bit archs 11 years ago
Szabolcs Nagy d86af2a080 fix #ifdef inside a macro argument list in __init_tls.c 12 years ago
Rich Felker 83dc6eb087 eliminate use of cached pid from thread structure 12 years ago
Rich Felker 0bc03091bb add locale framework 12 years ago
Rich Felker 285f969db6 fix typo in a comment in __libc_start_main 12 years ago
Rich Felker 5ba238e1e4 separate __tls_get_addr implementation from dynamic linker/init_tls 12 years ago
Rich Felker ac31bf278d simplify errno implementation 12 years ago
Rich Felker 64e32287f9 add thread-pointer support for pre-2.6 kernels on i386 12 years ago
Rich Felker dd5f50da6f support linux kernel apis (new archs) with old syscalls removed 12 years ago
Rich Felker 594c827a22 support kernels with no SYS_open syscall, only SYS_openat 12 years ago