summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The digest in the example seems to have been generatedart2008-02-131-3/+3
| | | | | | by code that does not do zero padding. The example code does. Fix. millert@ ok
* bump Mdocdate for pages committed in "febuary", necessary becausejmc2008-02-111-2/+2
| | | | of a typo in rcs.c;
* Mention new HW_PHYSMEM64 and HW_USERMEM64 variables. Mark HW_PHYSMEM andkettenis2008-02-091-2/+14
| | | | HW_USERMEM as deprecated and point people towards HW_PHYSMEM64/HW_USERMEM64.
* Move carp load balancing (ARP/IP) to a simpler configuration scheme.mpf2008-02-051-12/+2
| | | | | | | | | | | | | | Instead of using the same IP on multiple interfaces, carp has to be configured with the new "carpnodes" and "balancing" options. # ifconfig carp0 carpnodes 1:0,2:100,3:100 balancing ip carpdev sis0 192.168.5.50 Please note, that this is a flag day for anyone using carp balancing. You'll need to adjust your configuration accordingly. Addititionally this diff adds IPv6 NDP balancing support. Tested and OK mcbride@, reyk@. Manpage help by jmc@.
* Use TCSAFLUSH instead of TCSANOW when turning echo back on so thatmillert2008-01-171-2/+2
| | | | | there is no chance of output that was written but still pending to be displayed. This is what the original getpass(3) did.
* update to tzcode2007k from elsie.nci.nih.govmillert2008-01-076-115/+100
|
* no more need for vadvise.oderaadt2008-01-051-2/+2
|
* 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-014-44/+89
| | | | | | | | | | | 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@
* update to tzcode2007j from elsie.nci.nih.gov; mostly ANSIficationmillert2007-12-296-258/+207
|
* implement sysctls to report IP, TCP, UDP, and ICMP statistics andreyk2007-12-131-2/+14
| | | | | | | | change netstat to use them instead of accessing kvm for it. more protocols will be added later. discussed with deraadt@ claudio@ gilles@ ok deraadt@
* correct the STANDARDS section to mention clock_getres() instead ofbrad2007-12-091-3/+3
| | | | | | clock_setres(). ok jmc@ dlg@
* %hhd was being printed as if %hd was specifiedderaadt2007-11-281-11/+16
| | | | ok millert tedu
* remove unused functionchl2007-11-281-10/+1
| | | | ok otto@
* typos; ok jmc@martynas2007-11-271-2/+2
| | | | sys/dev/pci/pciide.c from naddy@
* make popen/pclose thread safe. closes library/5634. from and okay andreas@kurt2007-11-261-10/+23
|
* remove unused zero length file.kurt2007-11-191-0/+0
|
* fix misleading comment; the _MUTEX_LOCK/_MUTEX_UNLOCK macros work withkurt2007-11-191-2/+2
| | | | both static and non-static mutexs.
* Put limits.h in front of stdlib.h as style(9) recommends.tobias2007-11-132-8/+8
| | | | OK millert@
* strtod may return HUGE_VAL on overflow, which is defined in math.h.tobias2007-11-111-2/+3
| | | | | | Therefore added math.h to SYNPOSIS. OK millert@
* Stash value of log_tag before calling closelog_r() and restore it after.millert2007-11-091-2/+6
| | | | | | When closelog() was modified to clear log_tag it inadvertantly made syslog_r() (which calls closelog_r at the end) clear log_tag as well. OK miod@ dhartmei@
* malloc/memset -> callocchl2007-11-061-3/+2
| | | | ok ray@
* sync the comments for struct stat w/ <sys/stat.h>;jmc2007-11-051-9/+9
|
* - sync the error descriptions w/ those in errlistjmc2007-11-051-18/+18
| | | | - escape "No" incase groff thinks it's a macro call
* Simplify some of the logic in fts_close(). Initially based on amillert2007-11-021-17/+14
| | | | diff from chl@. OK otto@ and chl@.
* Fix waitpid() idiom. Noticed by deraadt@millert2007-11-011-4/+3
|
* Add parentheses to avoid warning:chl2007-10-311-2/+2
| | | | | | "suggest parentheses around && within ||" ok millert@
* If we receive SIGTTOU when turning off echo, the process is alreadymillert2007-10-301-20/+27
| | | | | | | backgrounded. Do not print the password prompt in this case since the first read will result in the process receiving SIGTTIN. Fixes an issue where the password prompt would be displayed when readpassphrase() would not be able to read anything. OK deraadt@
* Repair FLT_ROUNDS operation. ok kettenis@miod2007-10-272-6/+6
|
* Make sure to use unique target names so that make -j does not break;miod2007-10-251-25/+25
| | | | feedback and ok espie@
* Change the syscall invocation sequences to no longer fetch the last fewmiod2007-10-242-8/+2
| | | | | | | | | | arguments from the stack, since the kernel will now copyin() them when necessary. This makes all system calls (but mmap()) slightly faster. WARNING! After this commit, your binaries must run against a kernel featuring m88k/m88k/trap.c r1.34 or better - i.e. a 4.1 or later kernel.
* Comment fix about time consumption of _gettemp.tobias2007-10-211-5/+2
| | | | | | FreeBSD did this in revision 1.20. OK deraadt@, krw@
* fix typo in _telldir_unlocked function prototype, to avoid warning.chl2007-10-122-6/+5
| | | | | | while there, put all function prototypes in header file. ok kurt@
* use RRSIG instead of SIG for DNSSEC. ok djm@jakob2007-10-113-6/+7
|
* add a proper test around allocsetchl2007-10-101-51/+33
| | | | | | | | | | | use a simpler way to allocated memory in allocset, mostly done by replacing malloc/realloc dance, by only one realloc add comments about variables that are not used uninitialized, even if gcc told the contrary another malloc/realloc -> realloc change Work initially started by otto@, and then I joined him ok otto@ ray@
* add a RETURN VALUES section.pyr2007-10-081-9/+9
| | | | ok jmc@
* attribute packed -> __packedgilles2007-10-081-4/+4
| | | | OK millert
* update to tzcode2007h from elsie.nci.nih.govmillert2007-10-041-2/+2
|
* fix a libpthread PANIC in seekdir(3) caused by a recursive mutex lock.kurt2007-10-022-11/+24
| | | | | | remove the recursive lock in __seekdir() and ensure all callers properly lock dd_lock prior to calling. reported and tested by bernd@ okay marc@ tedu@
* strtol -> strtonumblambert2007-09-271-19/+15
| | | | | | | | assign values to struct members directly remove now-unused variable ok otto@ ok & input millert@
* tweak previous; ok claudio henningjmc2007-09-251-5/+5
|
* updatecomment and manpage toemtion optional seventh level (rtable id)henning2007-09-241-2/+6
| | | | From: Pierre Riteau <pierre.riteau@free.fr>
* Add some more truncation checks for path construction in tmpnam(3).moritz2007-09-211-8/+24
| | | | ok ray@
* add HISTORY; shortened version of diff from Ilya A. Kovalenkojmc2007-09-191-2/+7
| | | | ok millert
* Fix comment typos; ok ray@, jmc@blambert2007-09-171-4/+4
|
* Prevent out-of-bounds memory access in tempnam(3), if the environmentmoritz2007-09-171-3/+4
| | | | | | variable TMPDIR or the argument `dir' is an empty string. With and ok millert@ ray@
* Check snprintf(3) return value for error or truncation.moritz2007-09-1712-38/+112
| | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
* for get the flags arg must be 0; from Tamas TEVESZ; ok millert@otto2007-09-161-2/+6
|
* Remove wrong snprintf(3) truncation checks, which can't bemoritz2007-09-121-15/+25
| | | | | | | triggered and are off-by-one anyways. Instead replace them with correct checks and add all the missing cases. ok deraadt@
* Proper use of fseek/fseeko macros.tobias2007-09-101-2/+2
| | | | OK joris@, otto@