summaryrefslogtreecommitdiff
path: root/lib/libc/shlib_version
AgeCommit message (Collapse)Author
2024-08-12Add <stdio_ext.h> with the seven APIs needed to have gnulib operatePhilip Guenther
without poking directly into the FILE structure. Repeated testing, "nope, need a few more" feedback, and ok tb@
2024-07-14Bump minor after elf_aux_info(3) and wcsnlen(3) additionsJeremie Courreges-Anglas
2024-05-18Add pathconfat(2): pathconf(2) but with at-fd and flags arguments,Philip Guenther
the latter supporting the ability to get timestamp resolution of symlinks. ok deraadt@ millert@
2024-04-15whee libc 100. break all the thingsTheo Buehler
2024-03-01Add mkdtemps(3), like mkdtemp(3) but with a suffix.Todd C. Miller
OK deraadt@ tb@
2023-12-12crank libc major because syscall(2) was removedTheo de Raadt
2023-08-20Provide C11 <uchar.h>.Ingo Schwarze
OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2023-02-11crank major because __syscall is goneTheo de Raadt
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output. libc and libpthread minor bumps ok mpi@, mvs@, deraadt@
2022-10-26Add waitid(2) syscall stub.Mark Kettenis
Minor bump to both libc and libpthread: make sure you install a new kernel! ok millert@, deraadt@
2022-10-07Add mimmutable(2) libc stub, add & adjust manual pages, and crank the minor.Theo de Raadt
ok kettenis
2022-09-09Add libc wrappers for the new sendmmsg and recvmmsg system calls.Moritz Buhl
Feedback tb@, miod@, jca@ OK jca@
2021-06-02add RTLD_NODELETE supportSebastien Marie
if RTLD_NODELETE isn't POSIX, it is widely deployed: at least linux, freebsd, dragonfly, netbsd, solaris, illumos, apple, and fuchsia have it. ok kettenis@ on previous version with help from and ok guenther@ diff partially inspired from a diff from brad@
2019-10-23Unexport __floatundidf.Mark Kettenis
ok deraadt@
2019-05-13Add missing word in comment.Theo Buehler
2019-05-10Inroduce malloc_conceal() and calloc_conceal(). Similar to theirOtto Moerbeek
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.Todd C. Miller
This requires a libc major version bump. OK deraadt@
2019-01-11mincore() is a relic from the past, exposing physical machine informationTheo de Raadt
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 otherOtto Moerbeek
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 pageOtto Moerbeek
2018-11-05aligned_alloc bumpOtto Moerbeek
2018-10-30Add C11's timespec_get(3); minor bump for libc.Philip Guenther
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.Todd C. Miller
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 unveilBob Beck
ok deraadt@
2018-01-14Add two more ARM EABI aliases that I missed in the previous libc minorMark Kettenis
bump. "just go ahead -- crank" deraadt@
2017-12-26Add ARM EABI runtime aliases to the GCC runtime functions that we includeMark Kettenis
in libc. ok patrick@, jsg@, guenther@
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. TheMark Kettenis
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/sambaJeremie Courreges-Anglas
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 bugPhilip Guenther
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 infoPhilip Guenther
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, andPhilip Guenther
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.David Gwynne
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.Martin Pieuchot
Inputs from guenther@, ok kettenis@, visa@
2017-04-10monir bump for freezeroOtto Moerbeek
2017-03-06recallocarray bumpOtto Moerbeek
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.Mark Kettenis
Makes exceptions work in C++ code work again om armv7. ok guenther@
2016-09-04minor bump for SHA512/256 API additions; ok tedu@ deraadt@Christian Weisgerber
2016-09-01bumpOtto Moerbeek
2016-05-23Major bump for the removal of the various locale, ruserok, andPhilip Guenther
longjmperror symbols
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
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 changesPhilip Guenther
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
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,Philip Guenther
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 codeTed Unangst
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallPhilip Guenther
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 majorTheo de Raadt
2015-09-13Major bump for symbol removalsPhilip Guenther
2015-09-09Bump for symbol removalsPhilip Guenther
2015-08-26Oh yeah, crank the major. You talk about something and then your mindPhilip Guenther
wanders...
2015-07-19adding a syscall requires a minor bump; ok guenther@Ingo Schwarze