summaryrefslogtreecommitdiff
path: root/src/lib/libc (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-07-26- typos, punctuation, layout, macro tweaksjaredy9-34/+48
- break long lines ok jmc
2005-07-26- typos, grammar, punctuation, layout tweaksjaredy1-74/+156
- use `$' for command prompts - clean up: use a bullet list instead of adding junk to denote list items ok jmc
2005-07-26provide a description of the EXAMPLE; ok jmcjaredy1-2/+11
2005-07-26note when these first appeared; ok jmcjaredy1-1/+3
2005-07-24In _gethtent() ignore host.h_length if it is set to 0. Previouslymillert1-10/+7
we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
2005-07-24correct rval check for socket(). from alf schlichting. ok markus@marius1-2/+2
2005-07-23*hostent() fixes:jaredy1-22/+13
- Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
2005-07-22- sync prototypes and header file excerptsjaredy13-102/+116
- typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc
2005-07-18fix spelling mistake (in comment);jmc1-2/+2
from ray lai;
2005-07-17oops... .Dl does not like to be inundated with args, and my last commit justjmc1-3/+4
exceeded the happy number - use a display instead.
2005-07-17some improvements from alf schlichting:jmc1-14/+11
- correct syntax for retrieving an http page. this example further corrected by ian darwin (thanks!) - the -v flag is relatively useless when port scanning, so remove it from the example, and reword the description appropriately - udp port scans always report ports as open (i.e. are useless) so remove example claiming it works, and add CAVEATS to note that -uz is relatively useless
2005-07-17punctuation and minor rewording, ok jmcjaredy2-6/+6
2005-07-07kill errant full stop;jmc1-2/+2
2005-07-07got to be a pasto...jmc1-4/+4
2005-07-07Fix the unmapping of freed pages, leaving just 64k worth of cache pages.tdeval1-58/+136
Prodded by art@ and fgsch@, ok deraadt@
2005-07-05use "www" as the service name in the example instead of "http" since "www"dlg1-5/+5
is what is used in /etc/services. ok jmc@ henning@ millert@
2005-07-01whitespace;jmc1-4/+4
2005-07-01More robust example of numeric argument handling. The old examplemillert1-11/+23
code would dereference NULL for mixed letter and number args. OK deraadt@
2005-06-19K&R -> ANSIespie22-120/+79
APIWARN okay millert@, otto@
2005-06-19Remove a check about whether sa->sa_len is equal to salen frommarcm1-4/+1
getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@
2005-06-17no longer a need for the free(malloc(1)) hack, because the brk stuffderaadt1-9/+5
no longer needs initializing (we use mmap for malloc entirely now) noticed by kjell, ok dhartmei, tested by me
2005-06-17remove netns stuff, ok millerthenning5-459/+4
libc major bump by espie in a few
2005-06-15bye bye whiteoutsmillert2-9/+2
2005-06-09remove references to ns(4);jmc1-2/+1
2005-06-08Make gethostbyaddr() prototype match POSIX. This means len is nowmillert2-16/+15
unsigned but there is no ABI change. OK deraadt@
2005-06-07RC4 is a trademark. Rest of text left intact.kjell1-2/+2
2005-06-07no need to insert spacing between list members;jmc1-13/+1
2005-06-07adding pointer protection to 'G' was too heavyweight. Since malloc guardtedu2-7/+14
should be generally usable, split this out into option 'P'. ok deraadt
2005-06-06Change email address for author, at his request.kjell1-2/+2
2005-06-06Change license to standard OpenBSD boilerplate, with permissionkjell1-6/+15
from original author (David Mazieres)
2005-06-05sort sections;jmc1-5/+5
2005-06-05s/-p1003.1-2003/-p1003.1-2004/gjmc2-4/+4
2005-06-04use the new fat random sysctl to get initial state. (fallback to looping).tedu1-12/+14
stir after eating 400000 words. ok + input deraadt
2005-05-28set jumbo flag on the listener, too. consolidate some common code.marius1-28/+29
ok mcbride@
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsmcbride1-8/+22
on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@
2005-05-26sync setkey prototype with realitymillert1-2/+2
2005-05-26Merge common functionality of __strsignal and strerror_r.otto3-129/+50
ok jaredy@ miod@
2005-05-26style nit from hshoexer@avsm1-1/+2
2005-05-25avoid spurious ld evil string func warning, spotted by david@;djm1-3/+3
feedback & ok avsm@
2005-05-24Switch atomicio to a simpler interface which returns size_t and usesavsm4-55/+78
0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@
2005-05-24add a note describing latest guard featuretedu1-1/+3
2005-05-24handle sizeof(void *) allocations specially when using malloc guard.tedu1-1/+31
they get a whole page and go right at the end of it. ok deraadt tdeval
2005-05-23no need to byteswap for AES_ASM, from tom@markus2-2/+18
2005-05-20Teach the SOCKS5 code more of the protocol, so it can send domain namesdjm1-56/+102
to the proxy instead of resolving them locally and sending IPv4 addresses. This improves privacy, e.g. when using nc with OpenSSH DynamicForward tunnels, and gives us better IPv6 support; ok beck@
2005-05-20HTTP proxy doesn't need an address lookup - saves some time and avoids adjm1-2/+4
spurious error if the lookup fails. from Ray; ok markus@
2005-05-20cross reference proxy example to relevant ssh option;jmc1-3/+11
originally from ray; help/ok djm@
2005-05-19fix SOCKS5 code for case where data comes in the same packet as the response;djm1-2/+2
ok dtucker@ markus@
2005-05-19KNF, no binary change; ok jaredy@djm1-44/+44
2005-05-13Add tests for __strsignal(). Put here since the tests are very similarotto2-1/+32
to the strerror() test.
2005-05-11Update HISTORY fixing some facts, while it is not clear if theotto1-2/+8
environment stuff originates from AT&T or BSD. ok ok deraadt@ millert@ ian@