summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/nsparser.y
Commit message (Collapse)AuthorAgeFilesLines
* Remove clause 3 and 4 from TNF licensesemaste2013-05-291-7/+0
| | | | | | | Per the NetBSD Foundation statement Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license.
* Add missing header needed by free()kevlo2012-05-221-0/+1
| | | | Reported by: tinderbox
* fix memory leak from reading nsswitch.confjon2007-05-171-0/+5
| | | | MFC after: 1 week
* `cache' couldn't co-exist with `compat'.ume2006-04-301-2/+3
| | | | Submitted by: "Michael Bushkov" <bushman__at__rsu.ru>
* = Implement name service switch modules (NSS modules). NSS modulesnectar2003-04-171-15/+14
| | | | | | | | | | | | | | | | | | | | | may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories
* Remove __P() usage.obrien2002-03-211-1/+1
|
* Don't ignore unknown characters. The previous code treated a line like:fenner2001-11-071-0/+4
| | | | | | | | | | | | hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as: hosts: files dns Recover from parse errors by looking for the end of a line; this allows entries without errors to still be parsed even if there is an erroneous entry earlier in the file.
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-0/+175
configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
OpenPOWER on IntegriCloud