summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-02-13Fix logic bug; we can only infer tm_yday if both tm_mday and tm_monTodd C. Miller
are set. Adapted from a diff from David Higgs. OK krw@
2014-02-13Don't use use .Tn with AND/OR/NOTPhilip Guenther
Phrase any "The _flags_ argument is the ..." line consistently, eliminating unnecessary use of 'inclusive' and saying "zero or more" or "one or more" as appropriate ok millert@ jmc@ schwarze@
2014-02-12use .At to refer to System V.1; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-02-11avoid pointless TAB outside literal context;Ingo Schwarze
from Jan Stary <hans at stare dot cz>
2014-02-11Make floor round to integral value less than x, when x is tiny.Martynas Venckus
Reported by dcoppa@, thanks! OK kettenis@, dcoppa@.
2014-02-07Fix inet6_opt_init() to only check extlen when extbuff is not NULLMartin Pieuchot
as per RFC 3542, from DragonFlyBSD via Eitan Adler. ok bluhm@
2014-02-05Allow libfuse to compile with WARNINGS=yes. No functional change.Sylvestre Gallon
ok tedu@
2014-02-05Remove unnecessary stdio.h include.Stefan Sperling
Patch by Jean-Philippe Ouellet ; ok krw@
2014-02-05check return values in libfuse.Sylvestre Gallon
inputs from stsp@. ok stsp@.
2014-02-05Always set errno when returning NULL. OK kettenis@ henning@Todd C. Miller
2014-02-05More crash dump parsing fixes: correct paddr in process info and pidsPhilip Guenther
in file info. Drop some unnecessary casts and unused variables too. ok millert@
2014-01-31explicit_bzero where usefulTed Unangst
2014-01-29Add fuse support for IO_APPEND.Sylvestre Gallon
ok beck@
2014-01-29e.g. not i.e.Jason McIntyre
From: Ross L Richardson
2014-01-26appeared in 5.2. from Donovan WatteauTed Unangst
2014-01-24Update C standard reference to C99 and document HISTORY and AUTHORS;Ingo Schwarze
using input from millert@, reminded by and ok jmc@
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