summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-04-12Clean up malloc_active state when aborting.Thierry Deval
This allows for safe abort handling, without tripping into false recursivity problems. Ok tedu@, deraadt@
2004-04-11Crank max ptys to 992. We now have 62 pty/tty pairs for each letterTodd C. Miller
instead of 16. E.g. it is now /dev/{p,t}typ[0-9a-zA-z] instead of just /dev/{p,t}typ[0-9a-f]. This requires that you update MAKEDEV and run: # cd /dev && ./MAKEDEV pty0 && rm -f [pt]ty[rq]*
2004-04-10Apply change from vsnprintf.c rev. 1.5. Use a single characterTodd C. Miller
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@
2004-04-10ansiBrad Smith
2004-04-10styleBrad Smith
2004-04-09When poll(2)'ing for readability or writability of a file descriptorBrad Smith
on behalf of a thread, we should check the POLLERR, POLLHUP, and POLLNVAL flags as well to wake up the thread in these cases. From: FreeBSD's libc_r ok marc@
2004-04-09remove old libc_r related chunk of the MakefileBrad Smith
ok marc@
2004-04-08backout for nowMarkus Friedl
2004-04-08merge 0.9.7dMarkus Friedl
2004-04-07import openssl-0.9.7dMarkus Friedl
2004-04-06some of these functions are prototyped in pwd.h; ok deraadt@Damien Miller
2004-04-06Apply patch from guenther at mho.com (pr3730) that fixes a doubleMarco S Hyman
free in the threads library
2004-04-06remove optimization workaround for sparc64 now that we're using gcc3.Brad Smith
ok deraadt@
2004-04-03- use macros instead of parenthesesJason McIntyre
- remove .Pp before list
2004-04-02rfork(RFMEM) shares complete vmspace. much more useful, and in line withTed Unangst
other projects' implementations.
2004-04-02Avoid unbounded recursion in some expressions involving back references.Otto Moerbeek
For example: echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g' Test case found by dhartmei@ ok millert@ dhartmei@ tedu@
2004-04-02slow_atomic_lock.c is only used by mips; marc@ okMichael Shalayeff
2004-04-02do not compare SOCK_STREAM sockets to pipes;Jason McIntyre
from NetBSD (-r1.29); ok markus@ deraadt@
2004-04-01It turns out that the so-called fast ffs(3) routines were wrong, as soon asMiod Vallat
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.
2004-04-01sort options, correct SYNOPSIS, and sync usage();Jason McIntyre
2004-04-01let rcmdsh work on hosts that don't have an ipv4 address.Marco S Hyman
If it works it is fine with me -- millert@
2004-03-31remove sparc64/gcc2 workaround.Brad Smith
ok millert@ deraadt@ jason@
2004-03-31support IPv6 connections in "openssl s_client", adding -4 and -6 options toDamien Miller
force protocol; ok itojun@
2004-03-31note that hw.cpuspeed displays the current cpu frequency (from cpu(4));Jason McIntyre
ok deraadt@
2004-03-30Allow compilation w/ -DREDEBUG; non-debug compilation is unaffected.Todd C. Miller
From NetBSD.
2004-03-24From the how many ways can you screw up replacing one line of codeJason Wright
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.
2004-03-24Disable net.inet.carp.log by default.Ryan Thomas McBride
ok deraadt@
2004-03-23use absolute value like rev 1.1 did; pointed out by tom and ok deraadt.Jason Wright
2004-03-23gcc3 doesn't align things the same as gcc2. Casting upwards is dangerousJason Wright
to a program's health, avoid it. ok deraadt
2004-03-23.Xr ftok 3; from tedu@Jason McIntyre
ok deraadt@
2004-03-22Unbreak rmd160. Was broken on sparc64 when compiled with gcc3. Fix and reportHans-Joerg Hoexer
by Simon Kellner. XXX This is only a temporary work-around and we still need a REAL fix for XXX this issue. Testing on different archs by marc@ tdvall@ millert@ otto@ ho@ miod@ hshoexer@ ok deraadt@
2004-03-21Insert missing ABORT if EC_GROUP_copy() fails.Tom Cosgrove
ok markus@
2004-03-17return(00); -> return(0); markus@ okAaron Campbell
2004-03-17out-of-bounds read in (unused) kerberos ciphersuites (CAN-2004-0112)Markus Friedl
2004-03-17avoid null-pointer deref (aka CAN-2004-0079)Markus Friedl
see http://www.openssl.org/news/secadv_20040317.txt
2004-03-16Document correct limit to path names lengths. Resolves PR 3716.Otto Moerbeek
ok jmc@ tedu@
2004-03-16errno should only be gotten from <errno.h>. ok help jmc@Ted Unangst
2004-03-14remove some weirdness;Jason McIntyre
2004-03-13.SY -> .SyJason McIntyre
2004-03-12typos;Jason McIntyre
new sentence, new line; kill whitespace;
2004-03-12add archs to .Dt lines here too;Jason McIntyre
spotted by miod@
2004-03-12correct .Dt lines, and remove .Lb stuff;Jason McIntyre
ok deraadt@
2004-03-11Document that a NULL status pointer is allowed. OK deraadt@Todd C. Miller
2004-03-11Document RB_USERREQTom Cosgrove
ok beck@, jmc@, deraadt@
2004-03-09A better description of the machine-dependent PT commands.Miod Vallat
2004-03-05don't leak memory. free and netbsd via Patrick LatifiTed Unangst
2004-03-02Use double load/store instructions whenever possible.Miod Vallat
2004-03-02bpf sysctl. ok jmcTed Unangst
2004-03-02fix formatting, Pedro MartellettoTed Unangst
2004-03-02fix typo; fgsch@Todd C. Miller