summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-01-23Fix .readdir() code following what is done in .getdir().Sylvestre Gallon
Issue reported by Helg Bredow and Derrik Pates, thanks ! ok pelikan@
2014-01-23also document that ctime* and asctime* can return NULL; ok deraadt@, millert@Otto Moerbeek
2014-01-22Use consistent phrasing for bitmask flags.Philip Guenther
tweaking and ok millert@ jmc@
2014-01-22add explicit_bzero to NAME;Jason McIntyre
2014-01-22minor++Ted Unangst
2014-01-22add explicit_bzero to libc. implementation subject to change, but startTed Unangst
the ball rolling. ok deraadt.
2014-01-22clean up macro usage;Ingo Schwarze
tweak and ok ratchov@, ok jmc@
2014-01-22fix a leak in getgrouplist()Jonathan Gray
problem reproduced and fix verified by schwarze who wrote the code ok krw@ deraadt@ schwarze@
2014-01-21Ouch... recommend arc4random, not random.Theo de Raadt
spotted by tedu
2014-01-21Mark fuse_opt_parse()'s third argument as a point to const, to match theJeremie Courreges-Anglas
reference FUSE implementation. ok syl@
2014-01-21document return values; ok deraadt@, jmc@Otto Moerbeek
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-20Fix an obvious .Fn/.Fa typo, found while testing mandocdb(8).Ingo Schwarze
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
make it a list of processes, and change P_NOZOMBIE and P_STOPPED from thread flags to process flags. Add allprocess list for the code that just wants to see processes. ok tedu@
2014-01-20Include fuse_opt.h in fuse.h.Sylvestre Gallon
Reported by Helg Bredow (xx404 AT msn DOT com), thanks ! ok millert@
2014-01-20hook mknod() if create() implementation is not present.Sylvestre Gallon
from Derrik Pates (daemon AT now DOT ai), thanks! ok guenther@
2014-01-20Add missing section numbers to .Xr; found while testing mandocdb(8).Ingo Schwarze
While here, improve the wording at one place. OK jmc@.
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2014-01-20p_textvp moved from struct proc to struct processPhilip Guenther
2014-01-19Fix one more off-by-one (making it an off-by-two):Tobias Stoeckmann
1. integer division can give an off-by-one (like 2/3 = 0 for calloc) 2. ending the shells array with NULL takes space, too ok millert@
2014-01-19Rename the hidden symbol __elf_fdnlist to __fdnlist, and remove theTheo de Raadt
format handling wrapper. __fdnlist is used by libkvm. Avoid cranking libc because the time is inconvenient, and __elf_fdnlist is not used anywhere. ok millert jsing
2014-01-19Retain local changes from rev 1.13.Tobias Stoeckmann
ok deraadt@
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
2014-01-19Punctuation after macro arguments needs to be in a separate argument.Ingo Schwarze
Found while testing mandocdb(8).
2014-01-18Wrap long line.Joel Sing
2014-01-17Fix off-by-one on specially crafted /etc/shells file.Tobias Stoeckmann
ok gilles@, millert@
2014-01-16Add support for mknod in fuse.Sylvestre Gallon
OK tedu@ "it looks good to me" from guenther@
2014-01-15Initialise _res.nsaddr_list in res_init(), fixing some programs which dependStuart Henderson
on bind resolver internals. Note, the list will not be updated if resolv.conf is changed while the program runs unless the caller resets the RES_INIT flag. Approach suggested by otto@, original diff from Kapetanakis Giannis, fix suggested by tedu@ and dug up again by Riccardo Mottola. Looks ok to eric@.
2014-01-14build crt*S with -fPIC instead of -fpicMiod Vallat
2014-01-11fchownat is allowed to return EOPNOTSUPPMarc Espie
okay guenther@
2014-01-10match what hppa is doing now (not tested, but should be right)Theo de Raadt
ok miod jsing
2014-01-10correct argument handling; this has been broken since to beginningTheo de Raadt
and was writing to wrong memory. ok jsing miod guenther
2014-01-08calling HashFinal with a null digest should crash, not be silently ignoredTed Unangst
2014-01-08rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 supportTheo de Raadt
is also pulled in
2014-01-03sort SEE ALSO;Jason McIntyre
2014-01-03some more information, based on a diff by sven falempinTed Unangst
2014-01-02Call fuse callbacks on FBT_INIT and FBT_DESTROY.Sylvestre Gallon
Issue reported by Helg Bredow, thanks! With inputs from tedu@ ok tedu@
2013-12-31Remove #ifdef _REENTRANT code that isn't used here. These days, the codeMark Kettenis
handling per-thread errno lives in librthread. ok miod@, espie@
2013-12-31don't try writing past the end unless we have toTed Unangst
ok gilles millert
2013-12-28Do not need __guard[] anymore since we are now relying on __guard_localTheo de Raadt
for a while already ok miod kettenis
2013-12-28Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass theMark Kettenis
right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
2013-12-27do not need to create the stack cookie using a constructor anymore,Theo de Raadt
since the kernel supplies a .openbsd.randomdata segment. ok matthew miod guenther
2013-12-27remove non-openbsd.randomdata partsTheo de Raadt
ok miod matthew
2013-12-26constify data parameter in imsg_add() and imsg_compose()Eric Faurot
ok deraadt@
2013-12-24yup, we do ELFTheo de Raadt
2013-12-23Add assembly code to set up the arguments for the common C startup code. ThisMark Kettenis
means we no longer rely on how the C compiler sets up the initial stack frame and allows us to get rid of MD_NO_CLEANUP. ok deraadt@, guenther@
2013-12-23Sync Makefile with what other platforms do; makes dependency tracking actuallyMark Kettenis
work. ok deraadt@, guenther@
2013-12-23- clarify that sio_close() stops the device first, thenAlexandre Ratchov
frees the handle and not the opposite - clarify that sio_close() and sio_stop() dont discard samples in the play buffer. suggested by Reimar Doeffinger <Reimar.Doeffinger at gmx.de> ok jmc@
2013-12-23Install a bunch more of OpenSSL manpages. ok deraadt@Jeremie Courreges-Anglas
2013-12-22remove unneeded check for null context. ok deraadt gilles millertTed Unangst