summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-09using the rtm_priority to translate priority number into nice name ishenning1-2/+2
working much better than using rtm_version for that
2008-05-09As was done in dhcpd, insert pad blocks after sub-messages to keep thederaadt2-7/+19
structures aligned to 16 byte boundaries for maximum portability (somewhat similar to CMSG's). Old spamd's and new spamd's can still communicate with this change. It would be nice if someone tested spamd on 64-bit unaligned architectures (with and without this change) ok beck
2008-05-09on route get, display the priority and a cleartext name (like, "bgp" for 48)henning1-1/+29
claudio ok
2008-05-09add tcpbench to buildderaadt1-3/+3
2008-05-09s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.comdjm1-3/+3
2008-05-09Attempt to fix link status change handling so that the proper RTM_IFINFOkrw1-14/+13
messages are generated when links go down or come up. Works on available devices, put in tree to encourage wide testing. Enables latest dhclient changes to work their magic on bge. Feedback from brad@ ok deraadt@ beck@ reyk@
2008-05-09Lock in removable media while trying to determine the disk parameters. Thiskrw1-11/+24
should fix a number of 'drive offline' situations where the device claims it has no media loaded until the lock in occurs. Like a Blackberry Pearl Todd Fries found and probably other USB devices. Move the lock in during device open to before the test unit ready to eliminate similar spurious rejections of the device. Feedback from marco@, tests by todd@ and miod@. ok deraadt@ beck@ dlg@ miod@
2008-05-09now we also need the anchor "relayd/*" in addition to the rdr-anchor.reyk1-1/+2
ok pyr@
2008-05-09convert port byte order in the production; add port keyword; ok deraadt@markus4-13/+13
2008-05-09- don't give up when the link is not available on startup: dhclientreyk3-33/+42
goes to background and listens on the routing socket for link to come up before it retries. - renew the lease whenever the link was lost and becomes active again. - listen for link state changes on non-ethernet devices like wireless, the link state becomes active when the wireless has been associated to the AP and becomes active. this helps to automatically renew the lease when the user is roaming. ok beck@, deraadt@
2008-05-09Try additional addresses when connecting to a port forward destinationdjm4-87/+141
whose DNS name resolves to more than one address. The previous behaviour was to try the first address and give up. Reported by stig AT venaas.com in bz#343 great feedback and ok markus@
2008-05-09should check for null pointers; from henning@markus1-2/+2
2008-05-09IP_RECVDSTPORT, allows you to get the destination port of UDP datagramsmarkus4-5/+23
for pf(4) diverted packets; based on patch by Scot Loach; ok beck@
2008-05-09Add SO_BINDANY socket option from BSD/OS.markus4-6/+18
The option allows a socket to be bound to addresses which are not local to the machine. In order to receive packets for these addresses SO_BINDANY needs to be combined with matching outgoing pf(4) divert rules, see pf.conf(5). ok beck@
2008-05-09divert packets to local socket without modifying the ip header;markus15-23/+187
makes transparent proxies much easier; ok beck@, feedback claudio@
2008-05-09syncderaadt1-1/+0
2008-05-09import tcpbench, a small TCP benchmarking tool that can also sampledjm3-0/+950
relevant kernel variables via kvm(3) ok dlg@ deraadt@
2008-05-09A little bit of magic to make arp lookups work in MPLS as they should.claudio1-2/+2
No need to preload the arp table anymore. hai norby@
2008-05-09Oops. When detaching tape drives look for devices using 'stopen' notkrw1-3/+3
devices using 'sdopen'. PR#5810 from Jozef Hatala. ok beck@
2008-05-08regenkettenis2-2/+49
2008-05-08Add the Freescale vendor ID and some devices from the MPC8349E family.kettenis1-1/+12
2008-05-08add missing header for exitchl1-1/+2
ok damien@
2008-05-08retire vn_default_error() and replace all instancesthib16-47/+30
with eopnotsupp() instead; ok blambert@
2008-05-08Due to the recent changes, it is no longer necessary to disable -fregmovemiod1-3/+0
anymore.
2008-05-08Retire types(5) man page. It was hopelessly out of date and nevermillert2-180/+2
provided any information not present in the actual man pager. Now that types are also present in inttypes.h and stdint.h this file is even less relevant. OK deraadt@ miod@
2008-05-08documentation tweaks.sobrado3-6/+6
2008-05-08do not check malloc return value against NULL, as M_WAITOK is usedchl8-78/+14
ok kjc@
2008-05-08regenmiod2-11/+16
2008-05-08Add support for yet another exotic Microsoft Mouse, this time themiod2-8/+28
``Microsoft Notebook Optical Mouse 3000 Model 1049''. From FreeBSD.
2008-05-08This one was not supposed to go in. Revert.xsa1-3/+1
2008-05-08Sync supported machines list.xsa2-4/+8
2008-05-08Insert pad blocks after sub-messages to keep the structures aligned toderaadt2-4/+18
16 byte boundaries for maximum portability (somewhat similar to CMSG's) ok beck
2008-05-08KNFjsing1-9/+11
2008-05-08Fix alignment - sizeof(long) does not always match the address size of thejsing1-6/+6
ELF image being loaded. ok miod@
2008-05-08Add support for Microsoft Wireless Intellimouse, from FreeBSD. Not only doesmiod4-32/+150
this device bends the uhid specs backwards, it is also completely unusable for left-handed people due to its shape. Tested on actual hardware thanks to a donation from Maxim Belooussov.
2008-05-08sort SEE ALSO;jmc1-5/+5
2008-05-08backout shit committed on accidenthenning1-5/+5
2008-05-08Use new channel status confirmation callback system to properly dealdjm3-52/+77
with "important" channel requests that fail, in particular command exec, shell and subsystem requests. Previously we would optimistically assume that the requests would always succeed, which could cause hangs if they did not (e.g. when the server runs out of fds) or were unimplemented by the server (bz #1384) Also, properly report failing multiplex channel requests via the mux client stderr (subject to LogLevel in the mux master) - better than silently failing. most bits ok markus@ (as part of a larger diff)
2008-05-08Make the maximum number of sessions run-time controllable viadjm9-122/+262
a sshd_config MaxSessions knob. This is useful for disabling login/shell/subsystem access while leaving port-forwarding working (MaxSessions 0), disabling connection multiplexing (MaxSessions 1) or simply increasing the number of allows multiplexed sessions. Because some bozos are sure to configure MaxSessions in excess of the number of available file descriptors in sshd (which, at peak, might be as many as 9*MaxSessions), audit sshd to ensure that it doesn't leak fds on error paths, and make it fail gracefully on out-of-fd conditions - sending channel errors instead of than exiting with fatal(). bz#1090; MaxSessions config bits and manpage from junyer AT gmail.com ok markus@
2008-05-08Implement a channel success/failure status confirmation callbackdjm14-30/+118
mechanism. Each channel maintains a queue of callbacks, which will be drained in order (RFC4253 guarantees confirm messages are not reordered within an channel). Also includes a abandonment callback to clean up if a channel is closed without sending confirmation messages. This probably shouldn't happen in compliant implementations, but it could be abused to leak memory. ok markus@ (as part of a larger diff)
2008-05-08timer_due is not needed any morehenning2-13/+2
2008-05-08Add license and OpenBSD RCS Tag to the file, spotted by Dries Schellekens.pyr1-0/+17
2008-05-08KNFhenning3-6/+6
2008-05-08make "to any" optional in binat, or well, the implied default.deraadt1-34/+38
requested by reyk, ok reyk mpf
2008-05-08reorder elements in pf_state_peer to avoid wasting memory. cvs blamederaadt1-4/+4
shows that 3 developers screwed this up. look carefully at this diff and learn how to avoid wasting memory. on a 64 bit architecture, each of these was using 40 bytes instead of 32. ok henning
2008-05-08take advanatge of the timewheelin timer_nextduein - we just need to lookhenning1-11/+6
at the first one
2008-05-08we can stopin timer_set if new timeout equals the oldone.henning1-1/+3
matters for stuff like the HoldTimer that gets reset often
2008-05-08take advantage of the timewheel: instead of checking each an everyhenning3-23/+48
timer, just get the first off the queue and check wether it is due
2008-05-08in timer_set, when figuring out the right position for the timer,henning2-7/+7
wemust stop walking the list once werun into a stopped timer, or eventually all stopped timers will queue up at the very front (instead of at the tail)
2008-05-08Loosen grammer to permit any number of newlines within most kinds of { }deraadt1-54/+58
blocks, as requested by reyk; ok reyk mpf henning