summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - add UNIX-domain socket info to struct kinfo_file2guenther2013-10-221-22/+10
| | | | | | | | | | - convert netstat from kvm_getfiles() to kvm_getfile2() using that - delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major) - rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file and KERN_FILE2 to KERN_FILE. ok deraadt@, millert@ ports scan sthen@
* tweak previous;jmc2013-10-221-4/+2
|
* delete extra words; Henri Kemppainenderaadt2013-10-221-3/+2
|
* update documentation for these functions. They now state the case regardingderaadt2013-10-211-63/+45
| | | | | | | pthreads and chroot, and safe initialization without /dev/random and such junk. If you are in control of an arc4random in another library, please look at these pages and get caught up. ok various
* Remove arc4random_stir() and arc4random_addrandom(), which none shouldderaadt2013-10-213-29/+3
| | | | | | be using directly. Well, a few rare people cloned it upstream and it will take a bit of time for them to learn. ok various
* catch up with elf(5)/stab(5) removal;jmc2013-10-202-10/+7
| | | | ok miod
* Remove support for a.out and ecoff. We only do elf now.deraadt2013-10-171-217/+1
| | | | ok miod
* Missed the file renames for the string functions when committing theguenther2013-10-141-1/+25
| | | | DIST_LIB/DIST_OBJ/*.do changes
* Make it possible to build to reduced version of a library, includingguenther2013-10-131-1/+28
| | | | | | | just specific objects that are compiled with additional options to reduce their size. For use by distrib/ and crunchgen. style and naming assistance from espie@
* getdirentries(2) is dead; long live getdents(2)!guenther2013-10-073-19/+33
| | | | confirmation that getdirentries(2) is unused by ports from sthen@ and naddy@
* Remove an unnecessary (void *) castguenther2013-10-061-3/+3
|
* fdopendir() needs to set dd_curpos so that an immediate telldir() works.guenther2013-10-061-1/+4
| | | | pointed out by and ok matthew@
* Add CLOCK_UPTIME, a clock which measures time-running-not-suspended, soguenther2013-10-061-3/+28
| | | | | | | that mlarkin@ can fix programs that report rates-over-uptime. ok kettenis@ manpage corrections jmc@ (which I've probably broken again)
* a couple of warning fixes and an RCS marker; ok markus@djm2013-10-041-2/+4
|
* replace rc4 with ChaCha20; inspired by Nick Mathewson's work on libottery;markus2013-10-012-98/+326
| | | | feedback and ok djm@
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-3025-129/+130
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* Add examples to show why this is a terrible API. OK jmc@ henning@millert2013-09-251-1/+60
|
* According to POSIX, if the src and dst strings overlap, the behaviormillert2013-09-256-12/+48
| | | | is undefined. Add a warning to that effect. OK deraadt@ jmc@
* Correct type of tv_sec to time_t.krw2013-09-111-3/+3
| | | | Pointed out by Dawe via tech@.
* Remove the `let's zero %r2 if %r3 is nonzero' dance. It's been more than 10miod2013-09-081-10/+2
| | | | | years that fork() returns through child_return(), which takes care of zeroing %r2.
* Allow setlocale(LC_MESSAGES, ...); to succeed. This always returned anstsp2013-08-282-2/+37
| | | | | | | | | error, but that makes some ports (e.g. GNOME) freak out. We can allow any message language to be used as long as the encoding specified as part of the locale name is supported (i.e. listed in locale -m output). The primary users of LC_MESSAGES are catopen(3) and gettext(3), which already worked without this change. ok ajacoutot, naddy, matthew
* oops, we forgot to remove the .El in previous; sorry stefan (though youjmc2013-08-281-2/+1
| | | | should have run this through mandoc -Tlint ;)
* Cosmetic tweaks of wcrtomb(3) RETURN VALUES section. ok jmcstsp2013-08-281-11/+9
|
* seekdir()/rewinddir() must update the position returned by telldir()guenther2013-08-161-2/+2
|
* Align stack yp buffers to 64-bit boundaries now, for they might containmiod2013-08-151-5/+5
| | | | a struct passwd. ok deraadt@ guenther@ kettenis@
* use Bsx;jmc2013-08-141-3/+4
| | | | from jan stary
* ident and data members of struct kevent changed types: ident toguenther2013-08-141-8/+8
| | | | | uintptr_t, so it can hold pointers for EVFILT_TIMER and _AIO, and data to quad_t, so it can hold file offets.
* more Bx;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* some Bx/Ox conversion;jmc2013-08-143-24/+51
| | | | From: Jan Stary
* no longer any need to quote macro lines with >9 args;jmc2013-08-1417-51/+51
| | | | From: Jan Stary
* Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther2013-08-138-121/+23
| | | | | | | | | | | | | | | | | | | | members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
* sync with recent name changes;jmc2013-08-082-20/+19
|
* Add linker warnings for rand() and random() and various related functions.kettenis2013-08-012-1/+31
| | | | ok deraadt@
* remove complete balony description of the setprogname() interface [asderaadt2013-07-311-23/+7
| | | | | | | | imported from netbsd] -- like, if maximum portability requires you to setprogname(), what NAME WOULD YOU PASS IT? LIKE DUH!!!!! also add some historical context so that people understand how this fits into the scheme of things. ok okan kettenis jmc
* sync with the actual definition of struct statfs in <sys/mount.h>; ok jmc@naddy2013-07-202-8/+13
|
* HISTORY; tweaks and ok sobrado@ jmc@schwarze2013-07-1810-30/+108
|
* missing symbol rename.eric2013-07-171-2/+2
|
* more library historyschwarze2013-07-1789-285/+714
| | | | | facts checked by sobrado@ style tweaks and ok jmc@
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-1619-64/+64
|
* more macro simplification; from Jan Staryjmc2013-07-161-3/+2
|
* major bump after asr symbols changeseric2013-07-121-2/+2
|
* Make some symbols static and prefix all visible symbols with asr_eric2013-07-1221-250/+246
| | | | | | to prevent collisions with third-party programs. suggested by sthen@, ok theo@
* rfc 3493 obsoletes 2553. i spotted this after reading hiroki sato's changesjmc2013-07-101-5/+6
| | | | | | | | in freebsd src commit r253066. our man pages had been updated, but i must have missed the following: - getnameinfo.3: 2553 -> 3493 - ip6.4: we listed both. remove 2553.
* functions, not macros; from Daniel Dickmanjmc2013-07-0613-40/+40
| | | | ok guenther
* ELF_TOOLCHAIN bye bye.miod2013-07-051-3/+1
|
* VAX ELF userland bits. Consists mostly of register prefix additions.miod2013-07-0535-338/+354
|
* test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.espie2013-07-039-27/+27
| | | | | | -> test becomes meaningful on vax No actual change, no bump okay martynas@
* do not use Sx for sections outwith the page;jmc2013-06-292-11/+7
| | | | man4 still to go...
* Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,guenther2013-06-175-19/+132
| | | | | | | | including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and {clock,pthread}_getcpuclockid() functions. Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@ ok matthew@
* bcopy (and family) can check for 0 length, but negative lengths shouldderaadt2013-06-111-3/+3
| | | | | proceed through to crash and show the bug. ok miod