summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Expand)Author
2018-02-11macro fix;Jason McIntyre
2018-02-11Document how MAP_STACK will be used. All stacks must be mmap'd withTheo de Raadt
2018-02-10zap trailing whitespace;Jason McIntyre
2018-02-10add support for binary sysctl payloads by handling them as hexFlorian Obser
2018-02-07use consistent style for for loop in unmap(), no functional changeOtto Moerbeek
2018-02-06make sure that all error paths are correctly handled in asr_run_sync()Eric Faurot
2018-01-30keep in sync with ld.so malloc.cOtto Moerbeek
2018-01-30word fix; from edgar pettijohnJason McIntyre
2018-01-28- An error in the multithreaded case could print the wrong function nameOtto Moerbeek
2018-01-26- do not junk pages returned by free_bytes(), all freed chunks are alreadyOtto Moerbeek
2018-01-23use END_STRONG. Yes, everything in the sh ecosystem is different..Theo de Raadt
2018-01-21Implement ffs(3) using the CLZ instructions which has been available everMark Kettenis
2018-01-19Use static inline such that the functions are guaranteed to be present whenMark Kettenis
2018-01-19Partial revert of rev. 1.7, fixes build with clangJeremie Courreges-Anglas
2018-01-18Wow, it cannot even be in .data...Theo de Raadt
2018-01-18Zap the rotor, it was a wrong idea. Cluebat applied by kshe whoOtto Moerbeek
2018-01-18Sorry, the PIC macros cannot reach to .rodata....Theo de Raadt
2018-01-18Move to ffs(3) for bitmask scanning. I played with this earlier,Otto Moerbeek
2018-01-18Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasPhilip Guenther
2018-01-14Add two more ARM EABI aliases that I missed in the previous libc minorMark Kettenis
2018-01-13tweak previous;Jason McIntyre
2018-01-13introduce a filter called EVFILT_DEVICE that can be used to notifyRobert Nagy
2018-01-12Adjust references for sysctl(3) to sysctl(2)Theo de Raadt
2018-01-12sysctl(3) can now be renamed to sysctl(2)Theo de Raadt
2018-01-08Move SC_* defines into <machine/setjmp.h>, and rename them,Visa Hankala
2018-01-08optimization and some cleanup; mostly from kshe (except the unmap() part)Otto Moerbeek
2018-01-08TIOCUCNTL is now allowed by promise "tty".Martin Pieuchot
2018-01-06Remove dead gettimeofday calls and timevals.cheloha
2018-01-02some grammar fixes; from dholland@netbsd, -r1.68Jason McIntyre
2018-01-01Only init chunk_info once, plus some moving of code to group related functions.Otto Moerbeek
2017-12-27step one in avoiding unneccesary init of chunk_info;Otto Moerbeek
2017-12-26Add ARM EABI runtime aliases to the GCC runtime functions that we includeMark Kettenis
2017-12-25memcpy from the right place. at this point, the used variable is notTed Unangst
2017-12-24Fix one possible buffer overflow and one underflow. Also some minorTodd C. Miller
2017-12-18let's not try to document the number of items in a list...Jason McIntyre
2017-12-18Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2)cheloha
2017-12-16Move __cxa_thread_atexit* to its own .c file to avoid pulling the codePhilip Guenther
2017-12-16Don't use _libc_ prefix when referencing "builtin" symbols with clang.Mark Kettenis
2017-12-14Simplify and unify timespec variables used in those event loopsJeremie Courreges-Anglas
2017-12-14Use CLOCK_MONOTONIC for the rpc event loopsJeremie Courreges-Anglas
2017-12-12Consistently use .Va for "errno";Ingo Schwarze
2017-12-12space required between macro arg and punctuation;Jason McIntyre
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt
2017-12-08Fix the return value of fwscanf(3) when encountering an early matchingKevin Lo
2017-12-05Remove DEF_STRONG(__cxa_thread_atexit_impl). This produces an unwantedMark Kettenis
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. TheMark Kettenis
2017-12-01Redo the calculation of the alignment and placement of static TLS data toPhilip Guenther
2017-12-01Consistently .Xr the corresponding wide char functions from char- andIngo Schwarze
2017-12-01add missing argument name; from <kshe59 at zoho dot eu>; OK jmc@;Ingo Schwarze
2017-11-29clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"Philip Guenther