Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tweak previous; | jmc | 2015-12-16 | 2 | -4/+5 | |
| | ||||||
* | Remove support for HOSTALIASES from the resolver. This "open and parse | deraadt | 2015-12-16 | 2 | -15/+6 | |
| | | | | | | | | any file indicated by an environment variable" feature inside the resolver is incompatible with what pledge "dns" is trying to be. It is a misguided "feature" added way back in history which almost noone uses, but everyone has to assume the risk from. ok eric florian kettenis | |||||
* | s/begining/beginning/g | mmcc | 2015-12-14 | 1 | -2/+2 | |
| | ||||||
* | syslog() here is pointless; ok millert | deraadt | 2015-11-25 | 1 | -2/+0 | |
| | ||||||
* | Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within | millert | 2015-11-24 | 2 | -7/+10 | |
| | | | | | | | libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@ | |||||
* | point to netintro(4) rather than (now removed) networking(4); | jmc | 2015-11-21 | 2 | -6/+6 | |
| | ||||||
* | update NAME section to include all documented functions, | jmc | 2015-11-10 | 4 | -12/+12 | |
| | | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | |||||
* | inet(4), not inet(3); | jmc | 2015-11-08 | 1 | -3/+3 | |
| | ||||||
* | delete old lint ARGSUSED comments | guenther | 2015-11-01 | 1 | -2/+1 | |
| | ||||||
* | Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get the | claudio | 2015-10-23 | 3 | -88/+73 | |
| | | | | | | | | list of interface names. At the same time switch if_nametoindex(3) and if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3). if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by pledge(2). With and OK deraadt@ | |||||
* | Use waitpid() instead of wait() to avoid returning early from another child | guenther | 2015-10-23 | 1 | -2/+3 | |
| | | | | | | exiting, and loop the waitpid() on EINTR ok deraadt@ millert@ | |||||
* | Cast ctype function arguments to unsigned char. | mmcc | 2015-10-22 | 1 | -2/+2 | |
| | | | | ok guenther@ | |||||
* | Wrap <resolv.h> so that internal calls go direct | guenther | 2015-10-05 | 3 | -5/+11 | |
| | | | | ok millert@ | |||||
* | wrap __ivaliduser_sa() so the internal call is direct (at least until we | guenther | 2015-10-04 | 1 | -0/+2 | |
| | | | | stop exporting it) | |||||
* | recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!) | guenther | 2015-10-04 | 2 | -2/+4 | |
| | | | | so wrap them to make internal calls go direct | |||||
* | Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internal | guenther | 2015-09-14 | 3 | -3/+7 | |
| | | | | calls go direct and all the symbols are weak | |||||
* | Wrap <net/if.h> and <net/if_dl.h> so internal calls go direct and all the | guenther | 2015-09-14 | 2 | -2/+4 | |
| | | | | symbols are weak | |||||
* | Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak | guenther | 2015-09-14 | 9 | -9/+24 | |
| | ||||||
* | Wrap <arpa/inet.h> and <arpa/nameser.h> so that calls go direct and the | guenther | 2015-09-13 | 5 | -5/+11 | |
| | | | | symbols without underbar prefix are all weak | |||||
* | Wrap <unistd.h> so that internal calls go direct and they're all weak symbols | guenther | 2015-09-12 | 4 | -2/+6 | |
| | | | | Delete unused 'fd' argument from internal function oldttyname() | |||||
* | _getnetbyaddr and _getnetbyname appear to be historical accidents in | deraadt | 2015-09-11 | 3 | -103/+2 | |
| | | | | our tree. ok guenther miod | |||||
* | tweak Nd after previous; ok mpi | jmc | 2015-09-10 | 1 | -2/+2 | |
| | ||||||
* | Remove link_addr(3). A function to encode the name of an interface in | mpi | 2015-09-10 | 3 | -136/+8 | |
| | | | | | | | | | | | | a sockaddr_dl is a questionnable interface. But now it makes it harder to properly reference ifp becauses of this. Set sdl_index to the index of the corresponding interface when constructing a routing message. Ridding previous libc crank. ok guenther@, deraadt@, dlg@ | |||||
* | Use nanosleep instead of sleep to avoid the extra layer and simplify later | guenther | 2015-08-30 | 1 | -5/+8 | |
| | | | | | | symbol hiding ok w/tweak deraadt@ | |||||
* | force reseeding if pid has changed. | eric | 2015-06-04 | 1 | -2/+7 | |
| | | | | ok deraadt@ | |||||
* | rev 1.3 introduced a check to an if statement without adding braces. | jsg | 2015-05-14 | 1 | -3/+1 | |
| | | | | | | | Claudio points out the size is checked by an earlier test so just remove it to restore the original handling of the partial octet case. Discussed with claudio and gilles. | |||||
* | Make rcmdsh(3) not fail if it is passed a non resolvable hostname. | halex | 2015-03-23 | 3 | -20/+16 | |
| | | | | | | | Instead, silently ignore the fact and instead let the underlying ssh (or $RSH) command handle it. ok millert@ | |||||
* | differentiate between a failed read, returning -1, and encountering | halex | 2015-03-22 | 1 | -2/+4 | |
| | | | | | | | end-of-file, returning 0, in order not to print an unrelated strerror(errno) in the latter case ok millert@ | |||||
* | unmute rcmd hostname lookup failure | halex | 2015-03-22 | 1 | -3/+2 | |
| | | | | ok millert@ jung@ | |||||
* | zap #if 0'd code that's been dead since '96 | halex | 2015-03-19 | 1 | -7/+0 | |
| | | | | ok todd@ | |||||
* | Amend documentation for AI_ADDRCONFIG | jca | 2015-02-16 | 1 | -2/+4 | |
| | | | | ok jmc@ | |||||
* | Use .Rv where appropriate, and move it to RETURN VALUES; | schwarze | 2015-01-29 | 1 | -9/+6 | |
| | | | | | remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net. | |||||
* | Use ">", not ">=" when comparing length to HOST_NAME_MAX since | millert | 2015-01-16 | 1 | -3/+3 | |
| | | | | | otherwise we end up needlessly replacing a NUL with a NUL. OK deraadt@ | |||||
* | Replace HOST_NAME_MAX+1-1 with HOST_NAME_MAX. OK deraad@ | millert | 2015-01-16 | 2 | -8/+8 | |
| | ||||||
* | Replace check for ">= HOST_NAME_MAX+1" with "> HOST_NAME_MAX". | millert | 2015-01-16 | 1 | -1/+1 | |
| | | | | OK deraadt@ | |||||
* | Move to the <limits.h> universe. | deraadt | 2015-01-16 | 18 | -44/+32 | |
| | | | | review by millert, binary checking process with doug, concept with guenther | |||||
* | edns0 is not currently supported: confirmed by sthen and eric | jmc | 2014-11-05 | 1 | -7/+7 | |
| | | | | | diff From: Mike Burns (though my fix differs a bit) | |||||
* | Userland reallocarray() audit. | doug | 2014-10-11 | 1 | -3/+3 | |
| | | | | | | | Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||||
* | Userland reallocarray() audit. | doug | 2014-10-11 | 1 | -3/+3 | |
| | | | | | | | Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||||
* | replace select with equiv poll usage. | dlg | 2014-10-10 | 1 | -17/+12 | |
| | | | | | looks good deraadt@ tweaks and ok millert@ | |||||
* | When fopen()ing internal to libc (the API doesn't support the use | guenther | 2014-09-15 | 5 | -14/+14 | |
| | | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | |||||
* | POSIX specifies arpa/inet.h as the include file for these. | millert | 2014-09-04 | 1 | -3/+3 | |
| | | | | OK aja@ mikeb@ | |||||
* | Make the in6addr constant declarations and definitions consistent | bluhm | 2014-08-31 | 1 | -3/+3 | |
| | | | | | in kernel and user land. OK florian@ mpi@ | |||||
* | Add sockatmark() | guenther | 2014-08-31 | 3 | -5/+170 | |
| | | | | ok millert@ manpage feedback jmc@ | |||||
* | unbind; | jmc | 2014-08-23 | 5 | -27/+16 | |
| | ||||||
* | Switch from <sys/endian.h> or <machine/endian.h> to the new, | guenther | 2014-07-21 | 4 | -8/+8 | |
| | | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@ | |||||
* | From ISO/IEC 9899:1999 and 9899:201x, | guenther | 2014-07-20 | 1 | -2/+2 | |
| | | | | | | | | | 6.11.5 - Storage-class specifiers: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz) | |||||
* | tweak previous; | jmc | 2014-07-13 | 1 | -2/+2 | |
| | ||||||
* | missing bracket in previous; | jmc | 2014-07-13 | 1 | -2/+2 | |
| | ||||||
* | Update BUGS section. | miod | 2014-07-13 | 1 | -4/+6 | |
| |