summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove old md[45]millert2004-04-287-927/+0
|
* Don't build lib/libc/md, build md[45] in lib/libc/hash instead.millert2004-04-282-8/+29
|
* md[45] man pagemillert2004-04-281-0/+184
|
* Xr sha2(3)millert2004-04-282-4/+6
|
* PD md4 code derived from Colin Plumb's md5 routines.millert2004-04-281-0/+271
|
* Rename members of struct MD5Context to match other hash routines.millert2004-04-281-109/+139
| | | | | | Add constants for buffer lengths and use them. Make bit count 64bit based on changes by niklas@ long ago. Conver htole32n() to macros and unroll loops.
* PD version of md5(3) based on code written by Colin Plumb.millert2004-04-281-0/+258
|
* typo from Jared Yanovich;jmc2004-04-281-2/+2
| | | | ok deraadt@
* fd passing works over a socketpair too of course so document this.millert2004-04-271-3/+6
| | | | | | Also test it in regress to be pedantic (though the kernel path is really the same). While there, remove cred-passing code that we don't support. OK deraadt@,
* A quad is two ints, not two longs. Also fix some problems withotto2004-04-2719-184/+206
| | | | | | | conversions from floating point to quad. Problem reported by Marcus Holland-Moritz. From NetBSD. ok millert@
* Make the bit count u_int64_t instead of two u_int32_t. Adapted frommillert2004-04-271-10/+8
| | | | changes Niklas made to the md5 code long ago. OK hshoexer@
* Use a common source file for all the hash helper functions thatmillert2004-04-268-314/+85
| | | | | | | | | | | | | previously lived in foohl.c. The foohl.c files are now generated via sed, though perhaps cpp could be used in the future. Use u_int8_t instead of unsigned char for the buffers struct fooContext. Add constants for buffer lengths and use them in function prototypes and the man pages. This is basically cosmetic surgery; there should be no functional changes. OK deraadt@
* add/subtract ULONG_MAX + 1 on over/underflows, fixes float -> quaddhartmei2004-04-251-3/+3
| | | | conversion in libc, reported by Marcus Holland-Moritz, ok beck@
* kern.maxclusters. ok beck@ deraadt@ jmc@tedu2004-04-201-1/+6
|
* tidy up a list;jmc2004-04-191-8/+5
| | | | move `.Ts OR Ns 'ing' and `.Em or Ns 'ing' -> `OR'ing';
* more display/list fixes, and a little whitespace;jmc2004-04-169-30/+20
|
* various improvements to lists and displays:jmc2004-04-1515-59/+43
| | | | | | .Pp removal -compact removal for displays other list/display errors
* connect(2) can set errno = EPROTOTYPE for unix domain sockets. OK jmc@millert2004-04-151-1/+14
|
* remove references to rfc 2553, since 3493 obsoletes it;jmc2004-04-141-11/+2
| | | | ok itojun@
* Document %v. ok deraadt@otto2004-04-141-1/+5
|
* implement RFC3493 AI_NUMERICSERV. tedu okitojun2004-04-142-47/+40
|
* Clean up malloc_active state when aborting.tdeval2004-04-121-3/+5
| | | | | | | This allows for safe abort handling, without tripping into false recursivity problems. Ok tedu@, deraadt@
* Apply change from vsnprintf.c rev. 1.5. Use a single charactermillert2004-04-101-5/+10
| | | | | buffer for the size==0 case. Stdio internals do not deal correctly with zero size buffer and NULL pointer. From torek@bsdi.com; Ok henning@
* some of these functions are prototyped in pwd.h; ok deraadt@djm2004-04-061-1/+2
|
* - use macros instead of parenthesesjmc2004-04-031-10/+16
| | | | - remove .Pp before list
* rfork(RFMEM) shares complete vmspace. much more useful, and in line withtedu2004-04-021-2/+1
| | | | other projects' implementations.
* Avoid unbounded recursion in some expressions involving back references.otto2004-04-021-2/+4
| | | | | | | For example: echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g' Test case found by dhartmei@ ok millert@ dhartmei@ tedu@
* do not compare SOCK_STREAM sockets to pipes;jmc2004-04-021-2/+2
| | | | | from NetBSD (-r1.29); ok markus@ deraadt@
* It turns out that the so-called fast ffs(3) routines were wrong, as soon asmiod2004-04-012-18/+2
| | | | | | | | | | | | more than one bit is set, as the ff1 instruction counts from the highest order. However, gcc/m88k with optimization enabled would use a correct, short sequence based upon ff1 and tweaks, to achieve the intended result, hence i did not catch this flaw initially. So revert to the C implementation - it is correct, still decently fast, and will only be used when compiling at -O0.
* sort options, correct SYNOPSIS, and sync usage();jmc2004-04-014-23/+22
|
* let rcmdsh work on hosts that don't have an ipv4 address.marc2004-04-011-3/+4
| | | | If it works it is fine with me -- millert@
* remove sparc64/gcc2 workaround.brad2004-03-311-69/+8
| | | | ok millert@ deraadt@ jason@
* note that hw.cpuspeed displays the current cpu frequency (from cpu(4));jmc2004-03-311-2/+2
| | | | ok deraadt@
* Allow compilation w/ -DREDEBUG; non-debug compilation is unaffected.millert2004-03-301-2/+6
| | | | From NetBSD.
* From the how many ways can you screw up replacing one line of codejason2004-03-241-2/+2
| | | | | department: cast 'i' to u_int64_t so the sign comparison actually makes sense. Any other bugs in here just ship in the release, I'm done.
* Disable net.inet.carp.log by default.mcbride2004-03-241-2/+2
| | | | ok deraadt@
* use absolute value like rev 1.1 did; pointed out by tom and ok deraadt.jason2004-03-231-1/+2
|
* gcc3 doesn't align things the same as gcc2. Casting upwards is dangerousjason2004-03-231-2/+3
| | | | to a program's health, avoid it. ok deraadt
* .Xr ftok 3; from tedu@jmc2004-03-233-6/+9
| | | | ok deraadt@
* Document correct limit to path names lengths. Resolves PR 3716.otto2004-03-161-5/+3
| | | | ok jmc@ tedu@
* errno should only be gotten from <errno.h>. ok help jmc@tedu2004-03-161-2/+7
|
* remove some weirdness;jmc2004-03-141-2/+1
|
* Document that a NULL status pointer is allowed. OK deraadt@millert2004-03-111-3/+3
|
* Document RB_USERREQtom2004-03-111-2/+20
| | | | ok beck@, jmc@, deraadt@
* A better description of the machine-dependent PT commands.miod2004-03-091-20/+40
|
* don't leak memory. free and netbsd via Patrick Latifitedu2004-03-051-29/+37
|
* bpf sysctl. ok jmctedu2004-03-021-1/+7
|
* fix formatting, Pedro Martellettotedu2004-03-021-3/+3
|
* fix typo; fgsch@millert2004-03-021-2/+2
|
* document net.inet.tcp.reasslimitmarkus2004-03-021-1/+6
|