summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* Nuke non-standard EAI_RESNULL.ume2001-03-172-13/+0
|
* Document the rest of the possible return codes.dd2001-03-131-0/+12
| | | | | PR: 25188 Approved by: nik
* .St -p1003.1g -> .St -p1003.1g-2000.ru2001-03-122-2/+2
|
* Fix style that got corrupted.obrien2001-03-051-17/+17
|
* Fix FreeBSD id style breakage from rev 1.17obrien2001-03-051-1/+1
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* Use the new EV_SET macro to insure that all fields in struct keventjlemon2001-02-281-5/+3
| | | | | | | are correctly initialized before use. This should fix the problem with DNS. Pointy hat to: me
* Use ``.St -p1003.1g''.ru2001-02-262-2/+4
|
* Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Someume2001-02-191-5/+0
| | | | | | applications specify AI_ADDRCONFIG and fail to run under FreeBSD. Latest mews is known. Now, getaddrinfo(3) behaves according to AI_ADDRCONFIG.
* Correct 2nd argument of getnameinfo(3) to socklen_t.ume2001-02-151-1/+1
| | | | Reviewed by: itojun
* mdoc(7) police: polishing.ru2001-02-101-32/+43
|
* Improve language and code examples.nik2001-02-101-31/+41
| | | | | PR: docs/24961 Submmitted by: Tony Finch <dot@dotat.at>
* Describe the arguments to gethostbyaddr.nik2001-02-091-1/+46
| | | | | | PR: docs/24225 Submitted by: Joakim Henriksson <jurduth@ludd.luth.se> Patch from: ben
* mdoc(7) police: Change -filled displays (which just happenru2001-02-072-2/+2
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+3
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* strcpy -> strlcpy paranoianectar2001-02-021-1/+4
| | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-014-45/+28
|
* s/err1/errx/.ume2001-01-261-2/+2
| | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-2415-52/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-121-1/+1
|
* man(7) -> mdoc(7).ru2001-01-121-77/+100
|
* gethostbyname2() is able to lookup AF_INET6.alex2001-01-061-10/+0
| | | | | PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com>
* Prepare for mdoc(7)NG.ru2000-12-293-18/+18
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+2
|
* - __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpdume2000-12-041-102/+170
| | | | | | | | | | | | | - iruserok_sa() and __ivaliduser_af() were re-organized to use __ivaliduser_sa() - __icheckhost() was re-written to use getaddrinfo() instead of getipnodebyname() - better handling of multiple destination addresses in rcmd() These changes were basically taken from KAME and changed to fit our rcmd.c. Obtained from: KAME
* mdoc(7) police: Er macro usage cleanup.ru2000-11-221-1/+1
|
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-202-5/+5
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-1/+0
|
* Fix memory leak.sumikawa2000-10-291-0/+2
| | | | Obtained from: KAME
* defined HAVE_IFM_DATA for (free|net|open)bsdume2000-10-281-0/+5
| | | | | Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project
* Make RES_OPTIONS=inet6 work.ume2000-10-271-0/+4
| | | | | | Basically PR22196, but slightly modified. PR: bin/22196
* Fix pthread cancellation point propagation.jasone2000-10-121-5/+5
|
* Use issetugid instead of comparing get[ug]id and gete[ug]id.nectar2000-09-301-5/+2
| | | | Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com>
* Ignore HESIOD_CONFIG and HES_DOMAIN environmental variables fornectar2000-09-291-2/+12
| | | | | | set-user-ID and set-group-ID programs. Suggested by: Danny Braniss <danny@cs.huji.ac.il>
* off-by-1 error in string length validationitojun2000-09-251-7/+6
| | | | From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
* Change from using poll(2) to kqueue/kevent when waiting for a DNSps2000-09-121-32/+30
| | | | | | | | | response to return. This will stop processes waiting on DNS requests from being woken up when a select collision occurs. This was tested on mx1.FreeBSD.org (outgoing mail for the FreeBSD.org mailing lists.) Reviewed by: jlemon, peter
* Set h_errno when an error is encountered.nectar2000-09-101-2/+9
| | | | | PR: bin/21092 Submitted by: Alexander Kabaev <ak03@gte.com>
* Fix getipnodebyname(3) bug.nectar2000-09-071-3/+4
| | | | Submitted by: ume
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-0622-725/+2217
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Yank out the NOPOLL conditionals. libc_r no longer needs it, and thispeter2000-09-041-106/+28
| | | | | library depends on other things that come *way* later than poll() now (sigset size changes in particular)
* The API change mentioned in the previous revision has been backed out, sojhb2000-08-221-5/+0
| | | | | | back out the corresponding documentation. Noticed by: brian, ume
* Don't retry connecting via the same medium.ume2000-08-101-16/+8
| | | | | | | | I changed to close to original code before merging IPv6 support. It seems having delay before another try is useless. However, I'm not sure that delay means. So, I leave it as-is. PR: bin/20515
* mention getipnodeby* and get{addr,name}info are not thread-safe. (sync with ↵itojun2000-08-096-21/+110
| | | | | | | kame) s/.Os KAME/.Os/ comment From: Greg Thompson
* Use _close() instead of close() in addrconfig() to keep it from becoming ajasone2000-07-211-3/+3
| | | | potential cancellation point in libc_r.
* Copy canonname for *ahost, into static buffer.ume2000-07-201-10/+10
| | | | Obtained from: KAME Project
* Alocate rcmd{,_af}()'s *ahost argument using malloc() (wellbrian2000-07-202-3/+14
| | | | | | | | | | | strdup()) rather than pointing it at something that's free()d (via freeaddrinfo(res)) before the function returns. I appreciate that this is an API change, but it's the only way (AFAIK) of doing this without breaking existing code that uses rcmd{,_af}(). Pointed out by: phkmalloc
* To define A RR to root (.) is valid in DNS. So, h_name = "" shouldn'tume2000-07-191-2/+2
| | | | | | | | be treated as NULL. PR: bin/19816 Submitted by: Bill Fenner <fenner@research.att.com> Reviewed by: Atsushi Onoe <onoe@sm.sony.co.jp>
* Const'ify parameters to ethers(3) routines as appropriate.archie2000-07-182-10/+10
|
OpenPOWER on IntegriCloud