summaryrefslogtreecommitdiffstats
path: root/lib/libc/shlib_version (follow)
Commit message (Collapse)AuthorAgeFilesLines
* For now... libpthread is just a container directory, since all the newderaadt2012-06-211-1/+1
| | | | | | | | goop is in librthread. As a result, the top-level Makefile and shlib_version here are simply very confusing and tell lies. Remove them, and update the instructions in libc to not make my mistake again. ok guenther
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-2/+2
| | | | | | | | | so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
* Add support for mbsnrtowcs() and wcsnrtombs() to libc.matthew2012-06-061-1/+1
| | | | Bulk build test by naddy.
* More sysconf(3)-y and pathconf(3)-y goodness from Brad.matthew2012-05-141-1/+1
| | | | ok guenther, millert (and me); bulk build test by naddy
* crank major for sh gcc4 switchjsg2012-04-121-1/+1
|
* bump majors on libc and rthreads for the additions to libc and transferguenther2012-03-221-1/+1
| | | | of __tfork_thread from rthreads to libc
* Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther2012-01-171-1/+1
| | | | | | | | | | | | | particularly the "consume the signal you just sent" hang, and putting the wait queues in userspace. Do cancellation handling in pthread_cond_*wait(), pthread_join(), and sem_wait(). Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add 'abort" argument to thrsleep to close cancellation race; make thr{sleep,wakeup} return errno values via *retval to avoid touching userspace errno.
* Bump libc major; wscanf and wcsftime were addedstsp2011-10-161-2/+2
|
* Expose a bunch of new functionality from POSIX 2008: openat(2),matthew2011-07-181-1/+1
| | | | | | | | | | | | | fchmodat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2), faccessat(2), fchownat(2), linkat(2), readlinkat(2), renameat(2), symlinkat(2), unlinkat(2), utimensat(2), futimens(2), and fdopendir(3). "Minor" libc bump. Tested in a bulk build by naddy@ Much help from guenther@, thib@, tedu@, oga@, and others. ok deraadt@, naddy@
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-081-1/+1
| | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
* Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2011-07-081-2/+2
| | | | them in libc for a very long time. OK guenther@.
* Add wcsdup(), from NetBSD.nicm2011-07-041-1/+1
| | | | ok deraadt matthew
* wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@espie2011-05-281-1/+1
|
* Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.stsp2011-04-281-1/+1
| | | | "Yes, go ahead then" deraadt
* Back out wprintf until we've determined what to do for gcc2 and gcc3 arches.stsp2011-04-241-1/+1
|
* Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.stsp2011-04-241-1/+1
| | | | | | Based on our vfprintf etc. implementations. Wide character parts based on NetBSD but with lots of macros expanded. Minor bump for libc. ok kettenis espie
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-041-1/+1
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* Change basep parameter of getdirentries() to be off_t *, not long *millert2010-10-281-1/+1
| | | | | | | | so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
* Bump libc major for ABI changes.millert2010-09-241-1/+1
|
* Switch hppa, i386 and powerpc to gcc4. Bump libc major to handle ABI cornerkettenis2010-07-081-1/+1
| | | | cases fixed in gcc4.
* Fix the naming of interfaces and variables for rdomains and rtablesguenther2010-07-031-1/+1
| | | | | | | | | | | | and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
* Switch amd64 and sparc64 over to gcc4; bump libc major to deal with the ABIkettenis2010-05-261-2/+2
| | | | | | | corner cases that were fixed in gcc4, and changes in libgcc that we may have missed. ok kettenis@
* add posix_madvise, posix_memalign, strndup, and strnlen. mostly fromtedu2010-05-181-1/+1
| | | | | brad and millert, with hints from guenther, jmc, and otto I think. ok previous.
* Add support to sysconf(3) for the variables _SC_NPROCESSORS_CONF andsthen2010-01-151-1/+1
| | | | | | | _SC_NPROCESSORS_ONLN, implemented by AIX/Tru64/Solaris/Linux/SCO/FreeBSD/NetBSD. Bump libc minor. From Brad, ok deraadt@ guenther@
* Bump the libc major for the post-h2k9 string of ABI changes and additionsguenther2009-11-271-1/+1
| | | | (rthreads, MB_LEN_MAX, rdomains)
* more fallout from jasper's commit.jsg2009-10-281-2/+2
| | | | | | | Changing the size of the _sys_errlist array changes a libc interface so we need to crank major. kettenis@ agrees
* add ENOTSUP and bump libc minorjasper2009-10-261-1/+1
| | | | | discussed with a few ok deraadt@
* Minor bump for safety, due to the mips cachectl() addition.miod2009-09-271-1/+1
|
* crank libc majorderaadt2009-06-031-2/+2
|
* Crank minor because of addition of wcsto* functions.kettenis2009-01-131-1/+1
|
* - add long double signbitmartynas2008-12-091-1/+1
| | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@
* crank for sha2 changesdjm2008-09-061-1/+1
|
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-241-1/+1
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* crank major because of two new interfacesderaadt2008-06-241-1/+1
|
* remove _MALLOC_LOCK_INIT; major bump; ok deraadt@otto2008-06-131-1/+1
|
* bump (recalloc removal)otto2008-05-191-1/+1
|
* bumpotto2008-03-161-1/+1
|
* crank libc and libpthread, because libc cannot build lint libraries anymore if a syscall is OBSOL..deraadt2008-01-051-2/+2
|
* - make arc4random*() functions thread safe. Use a custom spinlock functionkurt2008-01-011-1/+1
| | | | | | | | | | | instead of the generic pthread macros since free(3) uses __arc4_getbyte() when freeing small sized allocations and the generic pthread macros call malloc(3). - eliminate passing pointers to a static variable with global scope (rs) for additional code clarity and reduction. - shlib minor bumps for libc and libpthread due to new functions. From andreas@ with some bits from me. okay tedu@ marc@ w/some spot checking from millert@
* crank libc and libstdc++ majorsmillert2007-09-031-1/+1
|
* _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt2007-06-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@
* switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542).itojun2006-12-091-1/+1
| | | | | | | | | | the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
* bump minor, for void set_rpc_maxgrouplist(int);grunk2006-11-101-1/+1
| | | | ok deraadt@
* add rthread syscalls and bump minor.tedu2006-10-241-1/+1
| | | | | | rthreads are hardly done, but if just trying it out is too much of a hassle, we'll never make more progress. ok brad marc marco mbalmer
* system call changes (the file says "changes", leaving it purposelyderaadt2006-10-101-2/+2
| | | | | vague like that) REQUIRE a major crank. Yet it was not done for getcwd. Now a lot of people are going to get screwed
* Add ENOMEDIUM and EMEDIUMTYPE to report medium errors to userland programsbeck2006-08-041-1/+1
| | | | | | | | | | | when using removable media devices, along with changes to scsi_base to detect such cases in tapes other devices. This makes tar, dd, and friends report a semi useful error message instead of nonsense when there is nothing in the device. Includes libc minor bump, and will require the corresponding sets change. ok krw@ deraadt@
* Introducing adjfreq(2), to adjust the clock frequency.otto2006-06-141-1/+1
| | | | Loosely based on dragonfly code. Man page help fro jmc@; ok deraadt@
* Make libc's getcwd() use the new __getcwd() system callpedro2006-05-271-1/+1
| | | | Hacked by marius@ at c2k5, okay miod@ krw@ deraadt@
* Major version bump to deal with potential fallout from the types changes.millert2006-01-131-2/+2
|
* CODESET support. okay millert@, otto@espie2005-11-161-1/+1
| | | | | (not really useful for now, it mostly helps some programs which want to use it, it will become useful when we have full 16 bits locale).