summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2010-12-28- generate and install pkg-config files for openssl, which more and moreJasper Lievisse Adriaanse
projects depend on being present (e.g. various ports). as discussed with various porters in a hungarian spa help/feedback from ingo@ and also OK halex@ no objections from djm@
2010-12-27mktemp(3) (and thus mktemp(1)) no longer use the process ID whenTodd C. Miller
replacing the Xs, it is now purely random. Also replace a use of .Fn that should be .Xr. OK jmc@
2010-12-24crtbeginS.o needs to be buit with -fPIC; with -fpic the relocations for theMark Kettenis
gcc3/4 exception handling related symbols will be truncated causing linker failures when building shared libraries. ok drahn@, deraadt@, miod@
2010-12-22Do not attempt to prepend /dev/ to path if it already contains a slash.Todd C. Miller
OK jsing@
2010-12-22seemingly the "Decentralized Trust Management" paper comes from theJason McIntyre
IEEE Symposium on Security and Privacy, not the IEEE Conference on Privacy and Security; from Lawrence Teo
2010-12-22Fix out of date comment; no code changeTodd C. Miller
2010-12-22remove comment that hasn't been true for quite a while now;Otto Moerbeek
ok deraadt@ djm@
2010-12-21Always return a pointer to the static buffer in realpath, even ifTodd C. Miller
path and realpath are the same. This matches the manual and avoids a bogus cast to non-const. OK jsing@, previous version OK kettenis@
2010-12-17opendev() path argument should be const. OK deraadt@Todd C. Miller
2010-12-16avoid pointer arithmetic on void *David Hill
tested for a while by me. ok otto@
2010-12-16move CRYPTO_VIAC3_MAX out of cryptodev.h and into the onlyJonathan Gray
file it will be used from. requested by/ok mikeb@
2010-12-16The VIA ciphers are added to an array of CRYPTO_ALGORITHM_MAX lengthJonathan Gray
which should have been declared as CRYPTO_ALGORITHM_MAX + 1, fix this and reserve enough space for the VIA additions as well. ok/comments from mikeb & deraadt
2010-12-15Security fix for CVE-2010-4180 as mentioned in ↵Jasper Lievisse Adriaanse
http://www.openssl.org/news/secadv_20101202.txt. where clients could modify the stored session cache ciphersuite and in some cases even downgrade the suite to weaker ones. This code is not enabled by default. ok djm@
2010-12-05Rewrite the mbrtowc(3) man page so we can make sense of this function.Stefan Sperling
tweaks from jmc, help from uwe, "We are going to have to trust you :-)" deraadt
2010-12-03Sync with amd64, to allow this to compile without warnings with gcc4:Miod Vallat
``Correct the _atomic_lock() asm so that gcc accepts the constraints when compiling without optimization; fix copied from the kernel's atomic.h'' spotted by jim@
2010-11-30involes -> involves; from Carlos Alberto Pereira GomesJason McIntyre
2010-11-30replace a large stack buffer with a malloc call, with help from matthew.Ted Unangst
ok deraadt [passed upstream to the tz list as well]
2010-11-21the posix regex mistake is here to stay. ok deraadtTed Unangst
2010-11-20At first I intended to make this use mktemp for its temporary file, but sinceMiod Vallat
we don't really use this script, let's rm it. ok deraadt@ millert@
2010-11-20Add CAVEATS section documenting error handling caveats.Stefan Sperling
tweak and ok jmc, tedu
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
2010-11-17- Apply security fix for CVE-2010-3864 (+commit 19998 which fixes the fix).Jasper Lievisse Adriaanse
ok djm@ deraadt@
2010-11-17Document isduid(3).Joel Sing
Tweaks from jmc@ ok jmc@ krw@
2010-11-16Crank minor due to the addition of isduid().Joel Sing
2010-11-15Teach readlabelfs() how to handle DUIDs.Joel Sing
ok krw@
2010-11-15Factor out DUID identification code so that it can easily be reused.Joel Sing
ok krw@
2010-11-08tweak previous;Jason McIntyre
2010-11-08Add %F, %g, %G, %u, %z (extended) and %Z.Jasper Lievisse Adriaanse
This is mostly a sync with NetBSD. tested in a bulk build by landry@ ok millert@
2010-11-07there is no library function called sched_prio(), so this manual pageTheo de Raadt
was incorrectly named. there should be no sched_prio(3) page; it is misleading.
2010-11-07do not list MLINKed man pages multiple times in SEE ALSO;Jason McIntyre
2010-11-07tweak previous;Jason McIntyre
2010-11-07Add sched_get_priority_{min,max}. tested in a bulk by landry@.Federico G. Schwindt
input and ok from phessler@ and guenther@
2010-11-06tweak previous;Jason McIntyre
2010-11-06make sio_onvol(3) return a integer exposing whether a volume knobAlexandre Ratchov
is available for the stream. As we're at it, remove macros and functions that are neither used nor documented.
2010-10-31imsg.h requires sys/uio.h, ok deraadtNicholas Marriott
2010-10-29- the nroff workaround is no longer neededJason McIntyre
- use some Fn and \*(Gt
2010-10-28remove libdes src/ports users have been switched to libcryptoJonathan Gray
2010-10-28unlink libdes src/ports users have been switched to libcryptoJonathan Gray
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
2010-10-28remove skipjack and cast from the libc; ok deraadtMike Belopuhov
2010-10-28support _SC_HOST_NAME_MAX; from bradTheo de Raadt
a libc crank is happening in < 24 hours
2010-10-27Remove the EXAMPLE, since *noone* should use this non-portable APITheo de Raadt
directly -- it exists for libc use only. Tell people to use readdir(3). discussed with millert
2010-10-23Don't leak the fd returned by mkstemp in vi_histedit error paths.Nicholas Marriott
From zinovik.
2010-10-23add forgotten ``static''Alexandre Ratchov
2010-10-21use MODE_xxx and XRUN_xxx macros everywhere, and zap correspondingAlexandre Ratchov
AMSG_xxx macros, which in turns simplifies the code
2010-10-21print the pointer value that caused the error (if available); okOtto Moerbeek
deraadt@ nicm@ (on an earlier version)
2010-10-18Fix a potential memory leak in an error path (although in code we don'tNicholas Marriott
currently use), spotted by zinovik.