summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnetbydns.c
Commit message (Collapse)AuthorAgeFilesLines
* Add forgotten newlines in debug messages.nectar2002-09-191-2/+2
|
* Check for truncation in calls to res_send/res_query/res_search.nectar2002-09-151-2/+14
| | | | Fail when it is detected.
* Backout the increase of MAXPACKET from 1024 to 65536: itnectar2002-09-151-1/+5
| | | | | | broke pthreads. Reported by: mbr, tjr
* When using res_send/res_query/res_search, the caller must eithernectar2002-09-131-5/+1
| | | | | | | | | insure enough space is available for the response, or be prepared to resize the buffer and retry as necessary. Do the conservative thing and make sure enough space is available. Reviewed by: silence on freebsd-audit
* Remove two stray lines that snuck in the cvs mergeimp2002-06-261-1/+0
|
* Initialize a pointer that was left uninitialized with the previousnectar2002-06-261-0/+1
| | | | commit.
* Include more robust checking of end of buffer that more completelyimp2002-06-261-5/+4
| | | | plugs the hole.
* Don't allow buffer overflow here either.imp2002-06-261-1/+3
|
* Fix the style of the SCM ID's.obrien2002-03-221-1/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove 'register' keyword.obrien2002-03-211-3/+3
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* handle long usernames more carefullyimp1998-01-071-5/+8
| | | | | Reviewed by: guido Obtained from: OpenBSD (Theo de Raadt)
* Merge in bind-4.9.6 resolver changes. Note that they resolve thepeter1997-06-271-2/+2
| | | | overflow problem differently.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Here goes.. Bring the 4.9.5-P1 resolver into -current. This has thepeter1996-12-301-3/+2
| | | | | DNSSEC stuff, among other things. There are also some renamed functions, I've left out the res_stubs.c from this commit in case cvs bombs out..
* Merge in bind-4.9.4-P1 resolver...peter1996-08-291-4/+4
|
* General -Wall warning cleanup, part I.jkh1996-07-121-1/+2
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* The last of the bind-4.9.3-REL resolver merges.peter1996-01-131-79/+84
|
* As above.phk1995-10-221-1/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-6/+6
|
* remove need for -DDEBUG from resolver code (conflict with db/hash)pst1994-09-251-5/+1
|
* get* rework and new bind codepst1994-09-251-0/+308
OpenPOWER on IntegriCloud