summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-10Add support for Fujitsu SPARC64-VI CPUs.Mark Kettenis
UltraSPARC I/II has a 41-bit physical address space, UltraSPARC III/IV has a 43-bit physical address space. The Fujitsu SPARC64-VI extends this to 46 bits. Adjust the TTE masks to take this into account and adjust some locore code that truncated physical addresses to 41 bits (fixing a potential bug for UltraSPARC III/IV too). While there, fix the locore code for UltraSPARC Architecture 2007 CPUs, which may support up to 56 bits of physical address space.
2008-07-10Add support for getting the time of day on the m4k.Mark Kettenis
2008-07-10Add a function to get the time of day from the prom on the m4k.Mark Kettenis
2008-07-10retry port allocation on all errors, not just EADDRINUSE; ok jakob@Damien Miller
2008-07-10check pf NAT source port allocation against net.inet.(tcp|udp).baddynamicDamien Miller
lists; prevents use of ports corresponding to well-known services. replace a couple of arc4random()%N with arc4random_uniform(N) that missed the first round. ok mcbride@
2008-07-10In pf_state_insert(), if the first pf_state_key_attach() fails, theDavid Krause
state key is freed by pf_state_key_attach(). But in the case of NAT, there are two state keys allocated, so we must free the second key manually. Fixes a pf_state_key_pl leak seen in certain cases with pfsync or with pf state-insert errors. ok mcbride@ henning@
2008-07-10Make cams with Sonix chipset work by avoiding excessive alternateMarcus Glocker
interface switching, which kind of crashed the device.
2008-07-10add X11 ports to default TCP baddynamic listDamien Miller
2008-07-10Die -r, die! Eliminate stray -r in usage text. Spotted by James Hartley.Kenneth R Westerback
2008-07-10the DRM_{READ,WRITE}$NUMBER() macros currently useOwain Ainsworth
bus_space_{read,write}(). A bug in the code this was based on means that this is also used for scatter gather maps, which are bus_dma memory, not pci memory. This obviously fails. Pull them out into a function and Special case scatter gather to use the mapped virtual address to write instead. Makes writeback test pass on pci and pci express radeon cards. Tested by, among others ckuethe@ and sthen@.
2008-07-09Read 'vendor' flag from ASCII disklabel since we print it. FixesKenneth R Westerback
PR #5872. ok millert@ deraadt@
2008-07-09Fixup AGP_MODE{GET,SET}_RATE() macros. the agp 2.0 spec defines that the lowestOwain Ainsworth
three bits are for the current agp rate. not the lowest two. Otherwise we preclude agp 4x mode. It's a bit different for agp 3.0, but we don't have the bits for that yet. Tested by several as part of a larger diff.
2008-07-09syncTheo de Raadt
2008-07-09automatically populate net.inet.(tcp|udp).baddynamic with theDamien Miller
contents of /etc/services so as to avoid randomly allocating source ports that correspond to well-known services. Auto-filling of the baddynamic tables is performed before reading sysctl.conf, so it is still possible to add or subtract ports, or override the autofilling entirely there. Note that this requires a new kernel and /sbin/sysctl. feedback markus@ ok markus@ deraadt@ millert@
2008-07-09expand the net.inet.(tcp|udp).baddynamic dynamic source portDamien Miller
skipping bitmasks to cover the entire 65536 port space - previously they covered 512-1024 only. sysctl needs to be updated to cope with this change; please "make includes" before rebuilding it. feedback millert@ ok millert@ deraadt@ markus@
2008-07-09let the kernel choose the random port. code from djm@. ok markus@.Jakob Schlyter
2008-07-09missing new-line character.Igor Sobrado
2008-07-09an ellipsis is not an optional argument.Igor Sobrado
2008-07-09documentation tweaks.Igor Sobrado
2008-07-09reintroduce our own shuffle ID generator. ok djm@ millert@Jakob Schlyter
2008-07-09merge and resolve conflicts introduced by 9.4.2-P1Jakob Schlyter
2008-07-09always verify that the received dns response id matches our request.Reyk Floeter
2008-07-09Use OpenBSD's knuth shuffle algorithm of random values from bind toReyk Floeter
produce the DNS request ids instead of a simple per-request arc4random(). This ensure randomness but also satisfies the non-repeating property we need. ok deraadt@
2008-07-09remove an unused variable that is a leftover from the old alg.Reyk Floeter
ok deraadt@
2008-07-09also set the protocol, either TCP or UDP, in the NAT lookup. thisReyk Floeter
unbreaks NAT lookups with UDP; tested as a transparent DNS relay.
2008-07-09only use SOCK_STREAM for TCP in bindany(), otherwise SOCK_DGRAM for UDP.Reyk Floeter
2008-07-09Incorporate Otto's yacc skeleton fix.Todd C. Miller
2008-07-09update the relay dns code to open a new udp socket to send theReyk Floeter
forwarded dns request to the server instead of sending from the server socket. this will fix the limitation the the dns relay had to listen to the "0.0.0.0" address, and will also enable relayd to use the udp source port randomization. relayd will know randomize the source port (on OpenBSD) and DNS request identifier for the clients behind it. ok pyr@
2008-07-09Remove an XXX comment about using the same pool for mfs and ffs, sinceThordur I. Bjornsson
mfs is using the ffs code and its the same object it would make no sense having two seperate pools... ok art@
2008-07-09Simplify the match function a bit by just returning the result fromBrad Smith
pci_matchbyid(). This is the only driver that will match against this hardware so it is not necessary to return a higher priority than what pci_matchbyid() returns. ok mbalmer@
2008-07-08sort options in manual page; display a better usage.Igor Sobrado
2008-07-08fix double "usage:"Igor Sobrado
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
'mget -cr 4.*' would recursively fetch (-r), and resume the previous transfers (-c) of 4.X release directories uses local matching (fnmatch), but only for recursive transfers. current behavior is not changed in any way. - while here, ifndef SMALL debugging stuff, this saves some space, for floppies - some debugging code was enabled for non-debugging mode, checks assume debug is set to zero, but it's not initially set - all "Confirm with" prompts are forced, remove redundant argument - fix usage: -C and -c are not available for SMALL discussed a year ago w/ pyr@ looks good to millert@ previous version looked good to pyr@ man page tweaks & ok jmc@
2008-07-08Fix an venerable bug: if we're reducing a rule that has an emptyOtto Moerbeek
right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action. Detected by my new malloc, experienced by sturm@ on sparc64; ok deraadt@
2008-07-08basic manpage for vmt(4)David Gwynne
2008-07-08Use correct format string specifier for int argument. Don't try to print itClaudio Jeker
as string. Fixes crash seen by Peter Bristow. "obviously ok" henning@
2008-07-08missed in last commit, to make things compile cleanerJoris Vink
2008-07-08make these compile cleanlyJoris Vink
2008-07-08use cf->fd in cvs_remote_sendfile() instead of using a localJoris Vink
variable that is only used once, which is in this case.
2008-07-08bump version to 4.4Joris Vink
2008-07-08this makes the code in sdattach less dense by collapsing the flags we passDavid Gwynne
to all the scsi midlayer code into a local variable. ok krw@ marco@
2008-07-08Typo in summarize output.Antoine Jacoutot
ok sthen@
2008-07-08Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllersBrad Smith
as they're of the subclass SATA and the SiI3512 SATA controller as it is of the subclass MISC. ok jsg@
2008-07-08vmt(4) is a kernel level implementation of the vmware tools.David Gwynne
it only provides the hosts machines clock as a timedelta sensor so far. getting it into the tree so people can work on it as suggested by fgsch@
2008-07-08Update 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (NovKenneth R Westerback
30, 2005). From mjacob via FreeBSD. No known code dependency, and prepares ground for major isp update. Tested on a 2312 by dlg@. ok dlg@ deraadt@
2008-07-07Comment correction, actually -> actualBrad Smith
ok henning@
2008-07-07/*NOTREACHED*/ for lint warning:Kevin Steves
warning: function key_equal falls off bottom without returning value ok djm@
2008-07-07Match on XMITS (which is a PCI-X Schizo variant found on Sun FireMark Kettenis
E2900/E4900/E6900/E20K/E25K systems). There's a fairly good chance it'll just work.
2008-07-07syncTheo de Raadt
2008-07-07- Improve negotation and fix some more DPRINTFs.Marcus Glocker