summaryrefslogtreecommitdiffstats
path: root/lib/libc/shlib_version
AgeCommit message (Collapse)AuthorFilesLines
2019-10-23Unexport __floatundidf.kettenis1-2/+2
ok deraadt@
2019-05-13Add missing word in comment.tb1-2/+2
2019-05-10Inroduce malloc_conceal() and calloc_conceal(). Similar to theirotto1-1/+1
counterparts but return memory in pages marked MAP_CONCEAL and on free() freezero() is actually called.
2019-02-04Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX.millert1-1/+1
This requires a libc major version bump. OK deraadt@
2019-01-11mincore() is a relic from the past, exposing physical machine informationderaadt1-1/+1
about shared resources which no program should see. only a few pieces of software use it, generally poorly thought out. they are being fixed, so mincore() can be deleted. ok guenther tedu jca sthen, others
2018-11-21Introducing malloc_usable_size() was a mistake. While some otherotto1-2/+2
libs have it, it is a function that is considered harmful, so: Delete malloc_usable_size(). It is a function that blurs the line between malloc managed memory and application managed memory and exposes some of the internal workings of malloc. If an application relies on that, it is likely to break using another implementation of malloc. If you want usable size x, just allocate x bytes. ok deraadt@ and other devs
2018-11-18Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man pageotto1-1/+1
2018-11-05aligned_alloc bumpotto1-1/+1
2018-10-30Add C11's timespec_get(3); minor bump for libc.guenther1-1/+1
Tweaked diff from brad@ manpage tweaks florian@ and jmc@ ok deraadt@ millert@
2018-09-13Add uid_from_user() and gid_from_group(), derived from pax's cache.c.millert1-1/+1
It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@
2018-07-13Crank minor for unveilbeck1-1/+1
ok deraadt@
2018-01-14Add two more ARM EABI aliases that I missed in the previous libc minorkettenis1-1/+1
bump. "just go ahead -- crank" deraadt@
2017-12-26Add ARM EABI runtime aliases to the GCC runtime functions that we includekettenis1-1/+1
in libc. ok patrick@, jsg@, guenther@
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. Thekettenis1-1/+1
interface is also made available as __cxa_thread_atexit_impl to satisfy the needs of GNU libstdc++. ok guenther@, millert@
2017-11-04Revert recent changes to unbreak ports/net/sambajca1-2/+2
While it is not clear (to me) why that ports ends up with corrupted shared libs, reverting those changes fixes the issue and should allow us to close p2k17 more smoothly. Discussed with a bunch, ok ajacoutot@ guenther@
2017-10-31Argh: put back some linker-supplied symbols to avoid triggering a bugguenther1-1/+1
in binutils that results in uninitialized .dynsym entries in shared objects in the samba port. problem reported by naddy@ ok jca@ kettenis@
2017-10-28Change pthread_cleanup_{push,pop} to macros that store the cleanup infoguenther1-1/+1
on the stack instead of mallocing the list and move the APIs from libpthread to libc so that they can be used inside libc. Note: the standard was explicitly written to permit/support this "macro with unmatched brace" style and it's what basically everyone else already does. We xor the info with random cookies with a random magic to detect/trip-up overwrites. Major bump to both libc and libpthread due to the API move. ok mpi@
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther1-2/+2
pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@
2017-06-19port the RBT code to userland by making it part of libc.dlg1-1/+1
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
2017-04-30Add futex(2) shim, bump minor.mpi1-1/+1
Inputs from guenther@, ok kettenis@, visa@
2017-04-10monir bump for freezerootto1-1/+1
2017-03-06recallocarray bumpotto1-1/+1
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.kettenis1-1/+1
Makes exceptions work in C++ code work again om armv7. ok guenther@
2016-09-04minor bump for SHA512/256 API additions; ok tedu@ deraadt@naddy1-1/+1
2016-09-01bumpotto1-1/+1
2016-05-23Major bump for the removal of the various locale, ruserok, andguenther1-1/+1
longjmperror symbols
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.guenther1-1/+1
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
2016-03-30Major bump for getlogin*/ptrace changesguenther1-1/+1
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old onebluhm1-2/+2
as osendsyslog for a while. The three argument variant is the only one that will stay. input kettenis@; OK deraadt@
2016-03-20Rearrange C runtime bits: now that ld.so exports environ and __progname,guenther1-1/+1
move their definitions and initialization in static links to libc.a Make crt0 always invoke a new func _csu_finish() in libc to process the auxv and to either register the ld.so cleanup function (in dynamic links) or initialize environ and __progname and do MC_DISABLE_KBIND (in static links). In libc, get pagesize from auxv; cache that between getpagesize() and sysconf(_SC_PAGESIZE) ok mpi@ "good time" deraadt@
2015-11-18update for new symbols and codetedu1-1/+1
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallguenther1-1/+1
thrkill(2), rolling the kill(2) syscall number with the ABI change to avoid breaking binaries during during the transition. thrkill(2) includes a 'tcb' argument that eliminates the need for locking in pthread_kill() and simplifies pthread_cancel(). Switch __stack_smash_handler() to use thrkill(2) and explicitly unblock SIGABRT. Minor bump to both libc and libpthread: make sure you install a new kernel! ok semarie@
2015-10-23crank libc majorderaadt1-1/+1
2015-09-13Major bump for symbol removalsguenther1-1/+1
2015-09-09Bump for symbol removalsguenther1-1/+1
2015-08-26Oh yeah, crank the major. You talk about something and then your mindguenther1-2/+2
wanders...
2015-07-19adding a syscall requires a minor bump; ok guenther@schwarze1-1/+1
2015-06-20Bump major after {,asr_}print_sockaddr() renaming.jca1-1/+1
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,guenther1-2/+2
unregistering callbacks if the DSO is unloaded. Move the callback handling from libpthread to libc, though libpthread still overrides the inner call to handle locking and thread-library reinitialization. Major version bump for both libc and libpthread. verification that this fixes various ports ajacoutot@ asm assistance miod@; ok millert@ deraadt@
2015-01-12Add fgetwln(3) from FreeBSD and bump libc minor revision.millert1-1/+1
2014-12-08major++tedu1-2/+2
2014-11-17minor++tedu1-1/+1
2014-09-08bump minor after addition of \<word\> support to regcomp; ok miod@naddy1-1/+1
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsguenther1-1/+1
when creating them: pipe2(), dup3(), accept4(), MSG_CMSG_CLOEXEC, SOCK_CLOEXEC. Includes SOCK_NONBLOCK support. ok matthew@
2014-07-14crank major for syslog_r(3) using sendsyslog(2). new kernel needed, too.deraadt1-1/+1
2014-06-13crank majorderaadt1-1/+1
2014-05-12move the ohash functions into libutil by popular demand.espie1-2/+2
It's not a standard interface, so it doesn't belong in libc. I hate duplicating the code in client programs, so do beck@, kettenis@, schwarze@, millert@, miod@... and they agree with libutil.
2014-04-30minor++ because of AI_ADDRCONFIGsperreault1-1/+1
prodded by naddy, confirmed by Mark Kettenis
2014-04-21crank minorderaadt1-1/+1
2014-03-23major++ in preparation for coming changestedu1-2/+2