summaryrefslogtreecommitdiff
path: root/libexec/ld.so/util.c
AgeCommit message (Expand)Author
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-08-05use a larger chunk for getentropy() and save some for next time.Ted Unangst
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-21Switch ld.so's stack smash handler from sendsyslog to sendsyslog2Philip Guenther
2016-03-20Export environ and __progname, making the latter a copy of just the filenamePhilip Guenther
2015-01-20If _dl_progname exceeds half the syslog buffer, truncate it with "...",Theo de Raadt
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesTheo de Raadt
2014-12-09avoid void arithmetic. from david carlierTed Unangst
2014-07-14Now that we have sendsyslog(2), we can directly use it in theTheo de Raadt
2014-07-06rm unneeded includes; prompted (partly) by kettenis@Otto Moerbeek
2014-07-06move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@Otto Moerbeek
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andOtto Moerbeek
2014-06-14Make _dl_randombuf invoke sysctl KERN_ARND in 256-byte chunks, for this isMiod Vallat
2014-06-05Move to (slightly stripped) version of libc malloc; ok deraadt@Otto Moerbeek
2014-01-23improve some typesTheo de Raadt
2013-12-28Do not need __guard anymoreTheo de Raadt
2013-11-13prototype & void * math cleanupTheo de Raadt
2013-06-09Constify the mib argument of sysctl().Miod Vallat
2013-01-23Cache flush .plt after updating its pointers to .got during the initialMiod Vallat
2012-08-28Add __guard_local as a hidden symbol to ld.so, kernel, and everyMatthew Dempsky
2012-08-22Change ld.so and libc to use .openbsd.randomdata on ELF platforms forMatthew Dempsky
2012-08-07Factor out a _dl_randombuf() method from _dl_random().Matthew Dempsky
2010-10-30fix a 10 year old bug in the memory allocator, which affected only sparc.Theo de Raadt
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
2007-02-09readdir buffers should not get a fixed buffer size, but should be dependantDale Rahn
2004-06-14Make _dl_malloc() deal with allocations > 4096 correctly. Also placeTodd C. Miller
2004-02-25Fix this assumed sizeof(long) == 4 error. Would very occasionally causeDale Rahn
2003-07-06various proto, ansi, and knf repair. tested on all architectures thatTheo de Raadt
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-05-30When loading a shared object or libraries dependant object, load themDale Rahn
2003-02-02knf & ansi; drahn okTheo de Raadt
2002-12-02KNF; openbsd@davidkrause.comTheo de Raadt
2002-12-02typo; ok miod@Christian Weisgerber
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
2002-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24make more _dl_*() func params like real ones in libcTheo de Raadt
2002-07-07typos/grammar/better wordsJan-Uwe Finck
2002-05-28more KNFTheo de Raadt
2002-05-24Change _dl_strcpy() to _dl_strlcpy(), implementation taken from libc.Dale Rahn
2002-05-24various KNFTheo de Raadt
2002-04-09Add the Copyrights from the respective files the code came from. ok deraadt@Dale Rahn
2002-02-21cleanup of MD/MI ld.so (elf), most changes by art@ cleanup by me.Dale Rahn