summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bitrot in prototypes in synopsis.bde1998-08-031-5/+5
|
* Fixed printf format errors.bde1998-06-301-1/+1
|
* Don't compile in the use of poll() when building libc_r. This isn'tpeter1998-06-141-1/+15
| | | | | so much a "fix", rather a bandaid to buy time to fix it properly within the thread engine.
* Update the resolver parts to bind-8.1.2 level. I have not touched thepeter1998-06-1125-1733/+3219
| | | | | | getXXXXbyYYYY() interfaces yet. Obtained from: diff relative to bind-8.1.2 sources
* Spelling corrections.jkoshy1998-06-062-3/+3
| | | | | PR: 6868 Submitted by: Josh Gilliam <josh@quick.net>
* Resolve some unexpected differences when comparing with the 2.2 version.peter1998-05-021-2/+10
| | | | | | One bug was relatively harmless (select's timeout had an uninitialized tv_usec), the other I'm not so sure.. (neglected to catch select returns less than zero). Both of these were irrelevant on kernels with poll().
* Update libc dns code to 4.9.7-T1B level. This involved chopping out largepeter1998-05-023-249/+753
| | | | | | chunks of res_comp.c and replacing it with chunks of bind-8.1.1's resolver code. (There are no interface changes though) The other parts are better bounds checking related.
* (Ab)use .Vt instead of .Fd for a variable declaration.bde1998-03-231-2/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aqcharnier1998-03-191-3/+4
|
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* Add #include <string.h> to get prototypes.jb1998-02-201-1/+2
|
* Fixed #includes in the synopsis and in an example. <sys/socket.h>bde1998-01-201-1/+1
| | | | | | isn't a prerequisite, since it isn't required for the prototypes and isn't always needed to call the functions (the address family might be a variable).
* handle long usernames more carefullyimp1998-01-071-5/+8
| | | | | Reviewed by: guido Obtained from: OpenBSD (Theo de Raadt)
* Removed unnecessary initialization of hp in gethostbyaddr_r.alex1997-12-251-3/+3
|
* Sorted lists.bde1997-10-211-20/+19
|
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-7/+5
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Some adjustments for the resolver use of poll(). For some reason I thoughtpeter1997-09-161-7/+8
| | | | | | | an unimplemented syscall returned ENOSYS, rather than EINVAL. I have run statically linked code with this wrapper and it does appear to work fine on 2.2-stable which doesn't have poll(). ktrace shows the poll syscall fail once and the fallback to select() working.
* Call poll(2) from within the resolver but adapt to older kernels without itpeter1997-09-141-26/+68
| | | | | | | | | | | | | if necessary. This removes the need to malloc large fd_set's for selecting on high fd's (larger than FD_SETSIZE at libc compile time). The syscall adaptive stuff only happens on the very first call. SIGSYS is masked, and if the call to poll fails with ENOSYS, then we use select for the life of the program. If poll does not fail with ENOSYS, then we always use poll and skip the once-off signal masking gunk. This may be overkill, but it saved my neck a few times while working on multiple different sets of kernel sources, some with poll, some without.
* Add "options no_tld_query" to resolv.conf.brian1997-09-012-4/+6
| | | | | | Mention the capability in resolver(5). Mention that RES_OPTIONS can be used in resolver(5). Discussed with: -hackers
* kill the undeadpeter1997-07-133-239/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27180,bde1997-07-033-0/+239
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,bde1997-07-034-4/+243
| | | | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch.
| * pull this in to avoid fixing these twicepeter1996-08-301-5/+6
| |
| * recording cvs-1.6 file deathpeter1995-12-303-239/+0
| |
* | replace the OpenBSD fd_set sizing code with something more efficient.peter1997-06-281-9/+16
| | | | | | | | | | | | | | Only call malloc() if the fd is too big for the compiled in fd_set size, and don't use calloc either. This should reduce the impact of conflicts with private malloc implementations etc. When using the fd_set on the stack, only zero what is needed rather than all 1024 bits like FD_ZERO did.
* | Dynamically size fd_set in select rather than fail if too many filespeter1997-06-271-8/+9
| | | | | | | | | | are open. Obtained from: OpenBSD; by deraadt and dm
* | compensate for res_send <-> __res_send changespeter1997-06-271-2/+4
| |
* | Merge in bind-4.9.6 resolver changes. Note that they resolve thepeter1997-06-2710-69/+97
| | | | | | | | overflow problem differently.
* | Typo.charnier1997-06-181-2/+3
| |
* | Add MAXHOSTNAMELEN checkache1997-06-131-1/+3
| | | | | | | | Obtained from: OpenBSD
* | Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-3/+7
| | | | | | | | | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* | Fixed #include and/or prototype bugs in synopsis.bde1997-04-134-10/+21
| |
* | If we're running setuid/setguid then don't open the host alias file toimp1997-03-241-1/+4
| | | | | | | | | | | | | | | | prevent information leakage. Closes PR 2578 Submitted by: Julian Assange
* | Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.bde1997-03-191-5/+6
| | | | | | | | Reviewed by: wollman
* | Fixed missing function types in synopsis.bde1997-03-191-0/+3
| |
* | Fix problem with FD_SET* overflow reporting.. Perror() didn't have enoughpeter1997-03-121-2/+6
| | | | | | | | | | | | | | args, and errno hasn't actually been set so it probably doesn't make sense to report it via strerror(). Pointed out by: bde
* | _res_close() -> res_close()peter1997-03-121-2/+2
| | | | | | | | Pointed out by: bde
* | Check for overflow of FD_SETguido1997-03-101-1/+6
| |
* | getnetbyaddr now takes an unsigned long as its first argument.mpp1997-02-281-1/+1
| |
* | Buffer overflow from DNS name information which could cause root accessimp1997-02-261-1/+2
| | | | | | | | | | | | | | when called from lpd. Reviewed by: jkh, pst Submitted by: Oliver Friedrichs <oliver@secnet.com>
* | Revert $FreeBSD$ to $Id$peter1997-02-2231-35/+35
| |
* | Fix PR2579: potential security hole in rcmd.cimp1997-02-091-2/+2
| | | | | | | | Submitted by: Julian Assange
* | Update to reflect current include files.mpp1997-01-301-3/+12
| |
* | Sort cross references.wosch1997-01-202-2/+3
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1431-35/+35
| | | | | | | | | | | | | | | | 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.
* | Fix fake failures on the short names which looks like hexadecimal numbersache1997-01-081-8/+4
| | | | | | | | Submitted by: paul@vix.com
* | Disable isxdigit block until proper solution will be foundache1997-01-051-2/+7
| | | | | | | | | | isxdigit(name[0]) gives false failures on short names which looks like hexadecimal digits, f.e. "fade", "babe", "d133", etc.
* | Remove bogus weak reference.jkh1997-01-011-3/+1
| |
* | Tempt fate! 'cvs add' a file remotely which also exists in the Attic onpeter1996-12-301-0/+64
| | | | | | | | | | | | | | | | | | RELENG_2_2! This is part#2 of the previous commit to src/lib/libc/net to contain the potential damage. This provides stubs so that binaries linked in 2.2 will run on 3.0
* | Here goes.. Bring the 4.9.5-P1 resolver into -current. This has thepeter1996-12-3019-216/+1268
| | | | | | | | | | 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..
OpenPOWER on IntegriCloud