Age | Commit message (Collapse) | Author |
|
a rant Theo wrote 24 years ago. Mark __ypexclude_{add,is,free}() as hidden
"get off my lawn!" deraadt@
|
|
exported, so declare them as hidden to avoid pointless GOT relocations
ok millert@ deraadt@
|
|
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
For years, it talked to stderr. That was wrong. Then it was converted
to opening /dev/tty, which is also wrong (pledge says so). Upon
reconsideration people in these more modern times have adapted to all
sorts of services not being available, so axe the alert and retry
silently.
ok beck
|
|
or otherwise change Dt to reflect the name of an existing function;
feedback/ok schwarze
|
|
local static. (Does not need to be exported by librpcsvc either, since it
is pre-rpcgen and simply %-commented). A few callers use this via
yp_all() -- that interface remains untouched.
ports trawl by sthen
guenther watched me gnash my teeth in croatia
|
|
|
|
|
|
(which uses it in a strange way..) thereby making it possible to static
the interface in libc.
ok guenther
|
|
ok guenther millert
|
|
malloc/calloc/realloc* returns.
|
|
review by millert, binary checking process with doug, concept with guenther
|
|
it to get limits.h early enough
|
|
found with the new mandoc(1) MANDOCERR_AN_MISSING warning;
no text changes
|
|
|
|
|
|
|
|
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
|
|
|
|
ok otto
|
|
while here, make sure each error path sets YP_YPERR
and make the function shorter and easier to read
by using the idiom "if (error) goto fail" everywhere in the loop
and by putting xdr_free in exactly one place near the end
ok deraadt@
|
|
files or directories when applicable.
The inspiration and name of MACHINE_CPU come from NetBSD, although the way to
provide it to Makefiles is completely different.
ok kettenis@
|
|
(1) When the second malloc in yp_next fails, do not leak the memory
allocated by the first one. Same fix as yp_first.c rev. 1.9.
(2) When compiled with YPMATCHCACHE, do not fail the lookup when
reserving memory for the cache fails. Instead, just return the
correct result without caching it.
ok millert@
|
|
wording tweaked by jmc@
|
|
|
|
invalid data on the list, inviting later NULL pointer access.
noticed by deraadt@, algorithm proposed by millert, implemented by me;
feedback and ok millert@
|
|
ok millert@
|
|
map ECONNREFUSED -> YPERR_YPBIND, ENOMEM -> YPERR_RESRC, else YPERR_YPERR
while here, malloc(3) failure should raise YPERR_RESRC, not YPERR_YPERR
ok millert@
|
|
so treat it similarly to a failing call to getdomainname.
ok millert@
|
|
|
|
YP group(5) exclusion, i.e. support -groupname:*:: in /etc/group.
Such groups will be excluded from later +:*::,
in just the same was as it is already done for passwd(5).
I have been running this since the autumn of 2008.
Discussed with several (including deraadt@, millert@, jmc@).
|
|
ok deraadt
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
Mostly path construction, where truncation could be bad.
ok and input from deraadt@ millert@ ray@
|
|
|
|
- put all the YPMATCHCACHE code into a #ifdef, proper
- remove all extra header files that are not needed
okay deraadt@
|
|
- remove .Pp before .Bd
|
|
.c file where they are used. Gets rid of YPMATCHCACHE define.
Sure deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
outside the tree)
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
|
|
|
|
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;
millert@ ok
|
|
|