summaryrefslogtreecommitdiff
path: root/src/env
AgeCommit message (Expand)AuthorFilesLines
2022-03-08protect stack canary from leak via read-as-string by zeroing second bytejvoisin1-0/+9
2021-01-30fix inconsistent signature of __libc_start_mainRich Felker1-1/+2
2020-08-27remove redundant pthread struct members repeated for layout purposesRich Felker2-2/+2
2019-08-08add secure_getenv functionPetr Vaněk1-0/+8
2019-05-16fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targetsSzabolcs Nagy1-1/+2
2019-04-10overhaul i386 syscall mechanism not to depend on external asm sourceRich Felker2-1/+3
2019-02-15track all live threads in an AS-safe, fully-consistent linked listRich Felker1-1/+4
2018-11-02__libc_start_main: slightly simplify stage2 pointer setupAlexander Monakov1-3/+4
2018-10-18use prototype for function pointer in static link libc init barrierRich Felker1-1/+1
2018-10-18fix error in constraints for static link libc init barrierRich Felker1-1/+1
2018-10-17document and make explicit desired noinline property for __init_libcRich Felker1-0/+6
2018-10-17impose barrier between thread pointer setup and use for static linkingRich Felker1-0/+13
2018-10-12combine arch ABI's DTP_OFFSET into DTV pointersRich Felker2-13/+12
2018-09-18support setting of default thread stack size via PT_GNU_STACK headerRich Felker1-0/+5
2018-09-12reduce spurious inclusion of libc.hRich Felker5-5/+1
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker6-11/+5
2018-09-05define and use internal macros for hidden visibility, weak refsRich Felker3-6/+3
2018-06-02fix TLS layout of TLS variant I when there is a gap above TPSzabolcs Nagy1-2/+8
2018-05-05improve joinable/detached thread state handlingRich Felker1-2/+2
2018-05-02use a dedicated futex object for pthread_join instead of tid fieldRich Felker1-1/+2
2018-04-05prevent bypass of guarantee that suids start with fd 0/1/2 openRich Felker1-0/+2
2017-10-13for executing init array functions, use function type with prototypeRich Felker1-1/+1
2017-09-04free allocations in clearenvAlexander Monakov1-2/+6
2017-09-04overhaul environment functionsAlexander Monakov4-81/+86
2017-08-29__init_libc: add fallbacks for __progname setupAlexander Monakov1-4/+4
2016-12-20fix support for initialized TLS in static PIE binariesRich Felker1-0/+5
2016-03-06env: avoid leaving dangling pointers in __env_mapAlexander Monakov1-0/+1
2015-11-19remove undef weak refs to init/fini array symbols in libc.soRich Felker1-4/+6
2015-11-12unify static and dynamic linked implementations of thread-local storageRich Felker2-45/+49
2015-11-11unify static and dynamic libc init/fini code pathsRich Felker1-15/+11
2015-11-11eliminate use of SHARED macro to suppress visibility attributesRich Felker1-10/+1
2015-09-22move calls to application init functions after crt1 entry pointRich Felker1-0/+3
2015-06-20provide __stack_chk_fail_local in libc.aRich Felker1-0/+4
2015-05-06fix stack protector crashes on x32 & powerpc due to misplaced TLS canaryRich Felker1-1/+1
2015-04-23fix misalignment of dtv in static-linked programs with odd-sized TLSRich Felker1-1/+2
2015-04-23remove dead store from static __init_tlsRich Felker1-2/+0
2015-04-23make __init_tp function static when static linkingRich Felker1-0/+3
2015-04-22fix inconsistent visibility for __hwcap and __sysinfo symbolsRich Felker1-3/+0
2015-04-22remove useless visibility application from static-linking-only codeRich Felker2-3/+2
2015-04-13allow libc itself to be built with stack protector enabledRich Felker1-0/+10
2015-04-13remove remnants of support for running in no-thread-pointer modeRich Felker2-5/+3
2015-04-10optimize out setting up robust list with kernel when not neededRich Felker1-0/+1
2015-03-11copy the dtv pointer to the end of the pthread struct for TLS_ABOVE_TP archsSzabolcs Nagy1-1/+1
2015-03-06fix over-alignment of TLS, insufficient builtin TLS on 64-bit archsRich Felker1-2/+8
2014-08-13fix #ifdef inside a macro argument list in __init_tls.cSzabolcs Nagy1-4/+3
2014-07-05eliminate use of cached pid from thread structureRich Felker1-1/+1
2014-07-02add locale frameworkRich Felker1-0/+1
2014-07-01fix typo in a comment in __libc_start_mainRich Felker1-1/+1
2014-06-19separate __tls_get_addr implementation from dynamic linker/init_tlsRich Felker1-5/+0
2014-06-10simplify errno implementationRich Felker1-1/+0