| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
breaks and getting rid of short lines, making these files easier to work with.
|
| |
|
|
|
|
|
| |
commit, as we want our documentation to be as consistently formatted as
possible (it's getting there :-)).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove unused variables
Silence some warnings
lint(1) is your friend
|
|
|
|
| |
Make sure everything uses {SYS,}LIBC_SCCS properly
|
| |
|