Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
lukem
Tue Oct 14 22:01:59 PDT 1997
Update of /cvsroot/src/usr.sbin/ypserv/ypserv
In directory netbsd1:/var/slash-tmp/cvs-serv23154
Modified Files:
Makefile acl.c ypserv.c ypserv.h ypserv_db.c ypserv_proc.c
ypserv_xdr.c
Log Message:
database routines:
- rename OPTDB to OPTIMIZE_DB
- if OPTIMIZE_DB, in ypdb_open(), close a database if the open failed
with ENFILE or EMFILE [from openbsd].
- because of the above, don't bother checking first if any FDs are
available (with open("/", RDONLY) - it's a superfluous check.
- ensure that *map_info is set if a database was a cached open -
without this fix OPTIMIZE_DB didn't work too well...
- enable OPTIMIZE_DB by default - should speed up lookups
secure map support:
- add ypdb_secure(), which returns non-zero if the map has the YP_SECURE
private key set (which makedbm(8) -s adds) [from openbsd]
- modify various functions to check if a map is secure, and if so,
refuse to serve information to clients not requesting from an
IPPORT_RESERVED port [from openbsd]
- ensure that domainnames and map names are valid (don't contain
"/"'s, aren't too long, etc) [idea from openbsd, but using our
_yp_invalid_domain() et al, which does more checking.]
misc:
- add rcsid's
- implement _yp_invalid_map() (complements _yp_invalid_domain() in
libc - eventually _yp_invalid_map() may move to libc...)
- use %#x instead of 0x%x in debug log messages
sakamoto
Tue Oct 14 22:09:44 PDT 1997
Update of /cvsroot/src/sys/arch/bebox/bebox
In directory netbsd1:/var/slash-tmp/cvs-serv24454
Modified Files:
mainbus.c
Log Message:
License indication changed.
Home |
Main Index |
Thread Index |
Old Index