summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2011-03-31Make sure everything run from .init and .fini sections gets a properly alignedMark Kettenis
stack. ok fgsch@
2011-03-30Make sure everything run from .init and .fini sections gets a properly alignedMark Kettenis
stack. ok deraadt@, fgsch@
2011-03-28Add icmptype and tcpflags support to the grammargiovanni
ok claudio@ jsing@
2011-03-25back out previous commit.Bob Beck
"if you have checked this I am ok with it" does not mean 1) not to pay attention to breaking news after I tell you that and 2) not to get ok's from the others this had been shown to. I am absolutely not ok with thig going in with only *my* ok. There's a reason why we want more than one ok on important commits ok deraadt@ for the backout
2011-03-25Add the following certs:David Hill
DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority COMODO High-Assurance Secure Server CA Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority cross checked with mozilla ok beck@
2011-03-24This script doesn't need write access to $curdir. Just check existence.Matthieu Herrb
Fixes build on NFS src with no root access. ok jasper@
2011-03-21tweak for clarity, ok millert@, jmc@Marc Espie
2011-03-16nl_types.h doesn't need to be #included to use nl_langinfo(). PointedPhilip Guenthe
out by Andres Perera (andres.p at zoho.com)
2011-03-15Remove evaluation of PATH_LOCALE environment variable because it can beStefan Sperling
abused to cause an integer overflow and serves no real purpose. Found by Alexander Schrijver. ok millert deraadt
2011-03-14try to document these functions betterTheo de Raadt
discussed with millert and guenther ok guenther
2011-03-13Fix handling of VIS_ALL: in vis(), actually encode all charactersPhilip Guenthe
as requested and give a correct estimate when they don't all fit, and in unvis() decode them instead of erroring ok nicm@, deraadt@
2011-03-13Sync ctype definitions for the UTF-8 locale to FreeBSD, fixing width ofStefan Sperling
various zero-width characters (e.g. diacritical marks). Also fix runetype mask definitions so that mklocale interprets zero width properly. Diff from Alexander Polakov. Character definition changes checked against Unicode 5.2 by me. ok matthew nicm
2011-03-12In the original sparc V7 book (and in the v8 book), the divrem leaf code usedTheo de Raadt
local registers for a few temporaries. This was changed to use two global registers. Maybe to permit use in-kernel without conflicting with the register V7 register window handlers. (Was this done by Chris Torek? Is this related to Gordon Irlam's work? Or was it in NetBSD? Hard to tell because NetBSD removed their original cvs tree.) In V8 the ABI was tightened; more global registers became offlimits in different ways. We started supporting sun4m, and did not consider this. As a result, the global registers chosen are the wrong choice. In particular, %g7 is a poor choice for upcoming TLS work. It looks like it is safer to use %g5 and %g6 since these functions are "system software". All re-entrant parts of the system save it. On sparc64 these functions are in libc per ABI requirement, but are unused. On sparc, they occur in bootblocks (no reentrancy), kernel (reentrancy saves globals; kernel is not ABI compliant), userland libc (signal handlers save globals), and ld.so (symbol binding is not re-entrant on its own). Discussed rather extensively with guenther, kettenis, miod and drahn.
2011-03-12missing word;Jason McIntyre
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
in libkvm with the stable-ABI versions that are currently named KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols will continue to be supported for a few releases. Committing now that they ports people have had a couple releases to update pkgs that usd the old functions
2011-03-12Provide wrappers for the new I386_{GET,SET}_{FS,GS}BASE sysarch() calls.Philip Guenthe
In some sense, these are mainly to give names to hang manpages from.
2011-03-09Stilistic improvement: use clean mdoc(7) .Qq enclosures rather thanIngo Schwarze
(correct, but ugly) low-level roff(7) quoting of quote characters. As a side effect, this avoids ugly formatting caused by a nasty mandoc(1) bug with roff(7) quoting in mdoc(7) documents. Of course, that bug will ultimately get fixed as well, but that can't be done quickly. Reported by Tim van der Molen <tbvdm at xs4all dot nl> ok jmc@
2011-03-08Add a kernel man page sosplice(9) for the socket splicing implementation.Alexander Bluhm
ok jmc@
2011-03-06wrong type for variable; spotted by christian.siebert@cs.tu-chemnitz.deTheo de Raadt
ok guenther
2011-03-05Fix PR 6267: recheck POSIXLY_CORRECT each time getopt_long() starts a newPhilip Guenthe
argv and don't suppress the handling of leading '-' in optstring when POSIXLY_CORRECT is set. Based on patch from Eric Blake. ok and manpage update from millert@, manpage ok jmc@
2011-03-05Correct msgbuf_write() example. OK jmc@ and nicm@Claudio Jeker
2011-03-03Remove expired certs.David Hill
ok beck@ fgsch@
2011-03-02Fix __cxa_finalize() so that calling __cxa_finalize(NULL) properlyMatthew Dempsky
invokes handlers registered with __cxa_atexit(). "seems right" deraadt@
2011-03-02netbsd -r1.75: Fix argument for EL_EDITOR; from Jess ThrysoeeJason McIntyre
ok nicm
2011-02-24SOCK_SEQPACKET is only valid for the AF_BLUETOOTH now, andMike Belopuhov
SOCK_RDM is a dead SysV compatibility option that is not described anywhere in the man page so don't reference it. ok claudio
2011-02-18An attempt to open an append-only file without O_APPEND results in EPERM.Todd C. Miller
OK jmc@ guenther@
2011-02-11Fix typo, setreseuid -> setresuidPaul de Weerd
ok otto@, jmc@
2011-02-10fix for CVE-2011-0014 "OCSP stapling vulnerability";Damien Miller
ok markus@ jasper@ miod@ AFAIK nothing in base uses this, though apache2 from ports may be affected.
2011-02-10Put a limit on recursion during matching, and reject input of size greaterStefan Sperling
or equal PATH_MAX. Based on similar fix made in NetBSD. ok miod@ millert@
2011-02-02Update after fix for kernel/6547. SETVAL and SETALL can return ERANGE now.Federico G. Schwindt
jmc@ ok.
2011-01-31Document the kernel option SOCKET_SPLICE and the socket optionAlexander Bluhm
SO_SPLICE for zero-copy socket splicing. ok jmc@
2011-01-25Make the pthread scheduler block signals while restoring a newlyStefan Sperling
selected thread's state. Fixes random qemu crashes. ok miod@
2011-01-25Put -I${includedir} back into Cflags so configure script tests likeChristian Weisgerber
test -n "`pkg-config --cflags openssl`" don't assume that OpenSSL isn't available. ok miod@, sthen@, ajacoutot@, djm@
2011-01-24Correctly escape a literal colon in an enclosure;Ingo Schwarze
the \: roff escape is an optional line break.
2011-01-21- simplify, krb5 handling is not needed.Jasper Lievisse Adriaanse
prompted by brad
2011-01-21over written -> overwrittenlum
ok jmc@
2011-01-19Fix typo, %F pattern corresponds to %Y-%m-%d (the ISO 8601 date format),Landry Breuil
not %Y/%m/%d. Found while debugging geo/gpx-viewer. ok millert@ jasper@
2011-01-19- missing leading '.' before 'It'.Jasper Lievisse Adriaanse
spotted by landry@
2011-01-18Merge a change from ncurses upstream to correctly recalculate a formNicholas Marriott
field size on set. Fixes an issue found by canacar@ who provided a similar fix. ok canacar
2011-01-14superceded -> superseded;Jason McIntyre
2011-01-12avoid some integer overflows mostly with GLOB_APPEND and GLOB_DOOFFSDamien Miller
and sanity check arguments (these will be unnecessary when we switch struct glob members from being type into to size_t in the future); "looks ok" tedu@ feedback guenther@
2011-01-10tweak previous; ok millertJason McIntyre
2011-01-10mkdtemp() is present in POSIX 1003.1-2008Todd C. Miller
Add a warning about using less than 6 Xs causing an error on some systems
2011-01-07mktemp(3) can be used, but not where mkstemp(3) is an alternative. AlsoNicholas Marriott
trim an inaccurate comment about its future removal. ok deraadt
2011-01-04Revert previous commit: if gcc picks a memory operand for the asm thenPhilip Guenthe
'movl' will result in an assembler error. Sorry llvm-clang users: fix your compiler to match gcc+as
2011-01-03Update to better describe reality, i.e. disklabel(8) UID usage.Kenneth R Westerback
ok jmc@ jsing@
2011-01-03- adjust krb5 directoriesJasper Lievisse Adriaanse
- zap a trailing tab
2010-12-31Make this compile with llvm-clang; problem pointed out by Amit KulkarniPhilip Guenthe
2010-12-31Make this compile with llvm-clang; problem pointed out by Amit KulkarniPhilip Guenthe
2010-12-28- ensure ${DESTDIR}/usr/lib/pkgconfig/ as running make distrib-dirs is notJasper Lievisse Adriaanse
common/encouraged practice