Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _ht_gethostbyname didn't handle RES_USE_INET6 correctly. | ume | 2005-04-30 | 1 | -6/+18 |
| | |||||
* | - do validation check and IPv4-mapped IPv6 address handling before | ume | 2005-04-29 | 2 | -36/+41 |
| | | | | | | | | | any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). Inspired by: NetBSD | ||||
* | NETDB_INTERNAL is not fit, here. return NO_RECOVERY for h_errno. | ume | 2005-04-29 | 4 | -4/+4 |
| | |||||
* | our get{addr,name}info() is considered thread-safe. | ume | 2005-04-29 | 2 | -8/+0 |
| | |||||
* | we cannot use inet_ntoa(3), here. so, use inet_ntop(3), instead. | ume | 2005-04-29 | 2 | -5/+11 |
| | |||||
* | sync _map_v4v6_host*() with bind9's. it treats align better bit. | ume | 2005-04-28 | 4 | -18/+15 |
| | | | | Obtained from: BIND9 | ||||
* | we don't need mutex lock to call _gethostbynis*(), anymore. | ume | 2005-04-28 | 2 | -19/+2 |
| | |||||
* | make gethostby*() thread-safe. | ume | 2005-04-28 | 6 | -285/+478 |
| | |||||
* | _gethostbynis{addr,name}() can handle an IPv6, now. | ume | 2005-04-28 | 1 | -16/+11 |
| | |||||
* | make getnetby*() thread-safe. | ume | 2005-04-28 | 8 | -175/+339 |
| | |||||
* | hide implementation specific internal functions from netdb.h. | ume | 2005-04-27 | 6 | -0/+17 |
| | | | | it is needed to make get{host,net}by*() thread-safe. | ||||
* | Provide stub functions for i386_set_ldt() and i386_get_ldt() even when | peter | 2005-04-26 | 2 | -7/+4 |
| | | | | | compiling as an amd64 support binary. They will return EINVAL on an amd64 kernel, but this simplifies other #ifdefs that were getting a bit nasty. | ||||
* | No longer use _amd64_set_gsbase(). Use i386_set_gsbase() even when | peter | 2005-04-26 | 6 | -166/+2 |
| | | | | building for amd64. | ||||
* | our get{proto,serv}by*() use a thread-specific data space. | ume | 2005-04-26 | 2 | -2/+2 |
| | |||||
* | add IPv6 awareness for NIS query of gethostby*(). | ume | 2005-04-26 | 2 | -25/+56 |
| | | | | Inspired by: NetBSD | ||||
* | ensure parsing numeric address before any host query. | ume | 2005-04-25 | 2 | -100/+126 |
| | | | | Inspired by: NetBSD | ||||
* | remove unused variable. | ume | 2005-04-25 | 1 | -3/+1 |
| | |||||
* | Remove unused file. | delphij | 2005-04-25 | 1 | -63/+0 |
| | | | | | | | Confirmed by: tjr [1] [1] PERFORCE CHANGESET 57044: http://perforce.freebsd.org/changeView.cgi?CH=57044 | ||||
* | if last line didn't have trailing space, network address was also | ume | 2005-04-24 | 1 | -10/+11 |
| | | | | treated as an alias. | ||||
* | Optimize the instruction alignment. | alc | 2005-04-23 | 1 | -2/+1 |
| | |||||
* | Eliminate an unpredictable branch from bcmp(). | alc | 2005-04-21 | 1 | -5/+4 |
| | | | | Reviewed by: bde | ||||
* | Do not try to store 64 bits into 32 bit errno variable. With the changed libc | kan | 2005-04-21 | 1 | -1/+1 |
| | | | | | data layout, this was corrupting _PathLocale variable leading to programs dumping core in non-default locales. | ||||
* | - add getproto{byname,bynumber,ent}_r for internal use within libc. | ume | 2005-04-19 | 4 | -53/+181 |
| | | | | - make getproto{byname,bynumber,ent} thread-safe. | ||||
* | - nuke deprecated and unused getnodeby(3). | ume | 2005-04-19 | 1 | -31/+0 |
| | | | | | | - remove unused variable. Obtained from: KAME | ||||
* | rename the NIS related fields to have yp_ prefix. | ume | 2005-04-18 | 4 | -38/+38 |
| | | | | Suggested by: delphij | ||||
* | Do not check whether a pointer is NULL, since free(3) already takes care of | delphij | 2005-04-18 | 1 | -6/+3 |
| | | | | | | this case. Reviewed by: ume | ||||
* | Add a sysctl that returns the full path of a process' text file. | das | 2005-04-18 | 1 | -3/+9 |
| | | | | | This information is needed by things like `gdb -p' and Sun's javac, and previously it could only be obtained via procfs | ||||
* | Fix build for !YP case. | delphij | 2005-04-17 | 1 | -0/+4 |
| | | | | | BTW. Shall we change these fields to have yp_ prefix? That will make the code easier to read. | ||||
* | libc-internal interfaces should have two underscores in front | ume | 2005-04-17 | 4 | -12/+12 |
| | | | | | | of their names. Pointed out by: das | ||||
* | Wrong working directory, sorry. The previous patch was what I have | delphij | 2005-04-17 | 1 | -5/+0 |
| | | | | | | seen in NetBSD's tree, and this one is what I have submitted for review. Pointy hat to: me | ||||
* | Remove a check about whether sa->sa_len is equal to salen from | delphij | 2005-04-17 | 1 | -0/+2 |
| | | | | | | | | | | | getnameinfo(3). POSIX standard does not require a sa_len field in sockaddr struct, hence such requirement will cause problem for portability. PR: standards/80008 Requested by: Xin Liu <lx@knight.6test.edu.cn> Reviewed by: freebsd-standards (das) MFC After: 2 weeks | ||||
* | Be bug-for-bug compatible with the C standard with respect to | das | 2005-04-16 | 2 | -4/+16 |
| | | | | printf("%#.0o", 0). Cite an amusing passage from a defect report. | ||||
* | Now, our getservbyname(3) is thread-safe. So, we don't need | ume | 2005-04-15 | 1 | -14/+1 |
| | | | | to protect it with mutex lock. | ||||
* | - add getserv{byname,byport,ent}_r for internal use within libc. | ume | 2005-04-15 | 4 | -127/+288 |
| | | | | | | - make getserv{byname,byport,ent} thread-safe. Reviewed by: gnn | ||||
* | hostalias() is not thread-safe. So, introduce _res_hostalias() | ume | 2005-04-15 | 3 | -14/+29 |
| | | | | | | and use it. Obtained from: BIND9 | ||||
* | remove needless res_init() call. | ume | 2005-04-14 | 1 | -9/+0 |
| | | | | Inspired by: NetBSD | ||||
* | Attempt i386_set_gsbase() before using the user_ldt code. Unimplemented | peter | 2005-04-14 | 1 | -1/+4 |
| | | | | sysarch() calls return EINVAL, not SIGSYS.. so we can trivially adapt. | ||||
* | Add stubs for the %fs/%gs base management calls. | peter | 2005-04-14 | 5 | -0/+149 |
| | |||||
* | Add a machine-specific, optimized implementation of strcat. | alc | 2005-04-10 | 2 | -1/+166 |
| | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks | ||||
* | Eliminate a conditional branch and as a side-effect eliminate a branch to | alc | 2005-04-10 | 1 | -5/+4 |
| | | | | | | | | a return instruction. (The latter is discouraged by the Opteron optimization manual because it disables branch prediction for the return instruction.) Reviewed by: bde | ||||
* | Add a machine-specific, optimized implementation of strcpy. | alc | 2005-04-10 | 2 | -1/+113 |
| | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks | ||||
* | Add a machine-specific, optimized implementation of strcmp. | alc | 2005-04-09 | 2 | -1/+75 |
| | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks | ||||
* | unbreak build without YP defined. | ume | 2005-04-09 | 1 | -0/+4 |
| | | | | Submitted by: Andrea Campi <andrea+freebsd_cvs_at_webcom.it> | ||||
* | Remove unused variables and assignments. | stefanf | 2005-04-08 | 4 | -9/+3 |
| | |||||
* | Use prototypes in the function definitions. | stefanf | 2005-04-08 | 2 | -34/+14 |
| | |||||
* | Remove unused variable. | stefanf | 2005-04-08 | 1 | -3/+2 |
| | |||||
* | Add machine-specific, optimized implementations of bcmp and memcmp. | alc | 2005-04-08 | 3 | -1/+67 |
| | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks | ||||
* | Eliminate unneeded instructions that are a vestige of mechanical | alc | 2005-04-08 | 1 | -10/+4 |
| | | | | translation from i386. | ||||
* | Eliminate an unneeded instruction that is a vestige of mechanical | alc | 2005-04-07 | 1 | -7/+5 |
| | | | | translation from i386. | ||||
* | Fix strict-alias warnings by removing excessive (and wrong) casts. | peter | 2005-04-07 | 2 | -2/+2 |
| |