Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-05 | In lookup_host(), return to caller a properly calculated message length | Jeremie Courreges-Anglas | |
instead of using an uninitialized variable. While here, simplify the code that calculates the message length, and use snprintf/strlcat more carefully. ok millert@ | |||
2013-12-05 | Properly initialize 'transp' to appease the compiler. ok millert@ | Jeremie Courreges-Anglas | |
2013-12-05 | Provide a prototype for ngstore() and include <unistd.h> for getopt(). | Jeremie Courreges-Anglas | |
ok millert@ | |||
2013-12-05 | In split_address(), make 'i' a size_t. ok millert@ | Jeremie Courreges-Anglas | |
2013-12-04 | opt_map CIRCLEQ -> TAILQ. | Kenneth R Westerback | |
ok jsing@ (with nit), jca@ | |||
2013-12-04 | ctype improvements; checked by okan | Theo de Raadt | |
2013-11-12 | ensure there are prototypes | Theo de Raadt | |
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-08-18 | Fix calls to printf-like functions which passed a non-fixed string | Philip Guenther | |
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@ | |||
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2011-12-24 | formatting errors, found using freebsd's "igor"; | Jason McIntyre | |
2011-04-06 | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | Miod Vallat | |
for chars. | |||
2010-06-29 | force the dns buffers to be aligned using a union, until the retarded | Theo de Raadt | |
"misalign strings on the stack" bug in gcc4 is fixed (even when that is fixed this idiom is safer and quite common) | |||
2010-01-20 | Make ypserv(8) reread its YP maps on SIGHUP | Ingo Schwarze | |
and use that in Makefile.yp(8) at the end of cd /var/yp; make all such that the new maps get used locally even when NOPUSH is set; fixing a quirk reported by ian@. While here, polish the yppush(8) manual and document a few related mini-bugs to be fixed later. feedback and ok ian@ and jmc@ | |||
2009-12-20 | zap trailing whitespace; | Jason McIntyre | |
2009-12-20 | Make use of the new mknetid(8) -P flag. | Ingo Schwarze | |
Actually, i just realized this is *required* in case you are using a non-standard DIR without a passwd(5) file, so i'm committing this simple change right away. | |||
2009-12-20 | When a passwd(5) file is not available, fall back to master.passwd(5). | Ingo Schwarze | |
That's useful because the latter is needed for passwd-maps, anyway. Make the master.passwd file name configurable in the same way as passwd. While here, do a bit of cleanup: - Drop the HOSTS, PASSWD, GROUP, NETID #defines: They are used nowhere else and serve no purpose. - Use err(3), it's simpler and more precise than fprintf(3)+goto. - Drop a debug statement forgotten a decade ago. - In the manual, improve .Nd, DESCRIPTION and .Xrs. Originally triggered by edd@'s gripes with our yp implementation. Regarding the manual, using many tweaks from jmc@. "I like this" ajacoutot@ "I think it's a good idea" edd@ "no opinion", "you decide" deraadt@ | |||
2009-11-21 | MIN_UID in yp make removes root, so look for something that is | Ian Darwin | |
still likely: localhost in hosts map. ok deraadt@ | |||
2009-11-06 | Correct and shorten the instructions what to do after accidentally | Ingo Schwarze | |
deleting the ypservers.db file, both in the manual and in the FAQ; original suggestion to improve this from ajacoutot@, my wording tweaked by jmc@. While here, resolve text duplication in the manual. | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-20 | the flags -h and -u are mutually exclusive; we do not need enclosing | Igor Sobrado | |
-f in brackets in the list of options; while here, sort the options in the manual page. jmc@ greatly improved the diff fixing a few additional bits on the manual page. ok jmc@ | |||
2009-10-20 | improve the synopsis of mkalias(8) and sort the list of flags on | Igor Sobrado | |
the manual page. ok jmc@ | |||
2009-10-16 | sort flags in synopsis, usage, and description. | Igor Sobrado | |
2009-04-12 | restrict YP UID and GID ranges | Ingo Schwarze | |
from NetBSD and Debian via ajacoutot@ tweaks and documentation updates by myself with help from jmc@ OK ajacoutot@ jmc@ "move ahead" deraadt@ | |||
2009-04-04 | Do not run make in /var/yp at the end of ypinit -m. | Ingo Schwarze | |
That way, you can edit the new domain Makefile before using it, in particular to change variables like DIR and UNSECURE. from ajacoutot@ with message tweaks and documentation updates by myself "I like this" otto@ | |||
2009-03-27 | getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5) | Ingo Schwarze | |
contains a matching entry, use that and refrain from accessing YP. getpwnam/getpwuid: If YP is #defined and /etc/master.passwd(5) contains a matching entry before the first YP entry, use that and stay away from YP. Taken together, this allows a solution to the following problem pointed out by deraadt@: When YP was configured but temporarily unavailable, even root login would block, hindering you when trying to do repairs. To avoid this, you can now provide a static entry for root in /etc/netid. Using suggestions from miod@ otto@ blambert@ jmc@. "commit" deraadt@, "cool" ajacoutot@, "looks fine" jmc@. | |||
2008-10-22 | man page for Makefile.yp, and associated bits; from Ingo Schwarze | Jason McIntyre | |
ok deraadt | |||
2008-06-02 | sort options in DESCRIPTION. | Igor Sobrado | |
2008-06-01 | sort flags; synchronize synopsis and usage; style(9). | Igor Sobrado | |
tweaked by jmc@, thanks! ok jmc@ | |||
2008-06-01 | synchronize synopsis and usage. | Igor Sobrado | |
2008-02-23 | correct pathnames reported; pr#5742 | Theo de Raadt | |
2007-09-04 | use memrchr; ok millert@. | Federico G. Schwindt | |
2007-09-04 | Use err(3) functions. input and ok millert. | Federico G. Schwindt | |
2007-08-05 | use memchr and a memrchr like implementation on non C strings. fixes | Federico G. Schwindt | |
a crash triggered by specific malloc.conf settings. with help and ok millert@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-29 | Remove clause 3 and 4. Ok with Chuck. -moj | Mats O Jansson | |
2007-05-27 | use macros from sys/queue.h | Pierre-Yves Ritschard | |
ok otto@ | |||
2007-02-20 | Change hard coded numbers to sizeof(buf). Also change some | Ray Lai | |
sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@. | |||
2007-02-19 | - simply synopsis and usage() | Jason McIntyre | |
- order options mostly from Igor Sobrado | |||
2007-02-18 | tidy up synopsis and usage(); from Igor Sobrado | Jason McIntyre | |
2006-11-22 | Outsource fgets line reading, newline continuation, and comment | Ray Lai | |
handling to fparseln. Fixes out of bounds array access for strings of length 0 or 1. OK moritz@. | |||
2006-11-10 | `elminate' etc. is not really the right way to spell `eliminate'. | Michael Knudsen | |
ok brad | |||
2006-09-25 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek | |
have multiple bits set, which leads to surprising results. Spotted by from Paul Stoeber, more to come. ok jaredy@ | |||
2006-04-03 | spreading the lint love (very minimal things..) | Theo de Raadt | |
2006-03-18 | do not leak on re-insert; ok pvalchev | Theo de Raadt | |
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2005-12-21 | Userland programs should include <errno.h> not <sys/errno.h> | Todd C. Miller | |
OK deraadt@ | |||
2005-10-15 | Use queue macros instead of directly accessing fields. ok miod@ pat@ millert@ | Otto Moerbeek | |
2005-09-16 | use poll() instead of select(), pr4505, alexander.farber@gmail.com | Theo de Raadt | |