summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-26Change apmd to use the new _REQ ioctls for zzz, this gives X a chance toOwain Ainsworth
vt-switch internally so it's likely to actually survive the suspend. tested by beck@, sthen@. ok deraadt@
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-26bulk updates are sent from a timeout which walks over the state tree andDavid Gwynne
modifies the pfsync state queues, however, it didnt prevent interrupts from whacking the same structures. this diff makes the bulk update code take splsoftnet() to prevent the panics ive been suffering all day when a firewall peer was booted. ok deraadt@
2009-02-26fix the multicast code; tested by sthen@Kevin Lo
ok deraadt@
2009-02-26revert 1.50 and 1.51. kettenis discovered they don't let his sparcle go ↵Ted Unangst
slow enough
2009-02-25after the STOP message is sent, move the receiver to the RMSG stateAlexandre Ratchov
only if it's in the IDLE state, otherwise in some rare cases a data chunk may be interpreted as a message, causing the connection to be dropped. ok deraadt
2009-02-25Checking if a file is ASCII should only be done when diffing, becauseRay Lai
the non-ASCII characters could be printed to the screen. For checking in files, checking out files, merging files, and removing revisions of files, we do so regardless of whether the files are ASCII or binary. Fixes PR6031. OK joris and deraadt.
2009-02-25add a stupid workaround for a race somewhere in the crypto code in theHenning Brauer
kernel. a one second sleep has made it go away in all my tests. ok theo
2009-02-25fix slow memory leak, spotted by Max Laier and Artis CauneBob Beck
ok deraadt@, oga@, otto@
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker
fails -- which should never happen -- the function does not return and is accession the NULL set control pointer later on. Found by Matthew Haub. OK deraadt@
2009-02-25fix examples of list deletion to not leak memory.Bob Beck
ok otto@ deraadt@ henning@ oga@
2009-02-25Fix up multicast support, from brad.Jonathan Gray
ok deraadt@
2009-02-25On full mask revision 2 or later default toJonathan Gray
16QW for "FIFO Threshold for processing next packet" to increase compatibility with different PCI-E implementations as advised by the datasheet. The 64WQ and 128WQ options are obsolete on full revision mask >= 2 as well. From Pyun YongHyeon in FreeBSD via brad. ok deraadt@
2009-02-25NULL pointer dereferenceGilles Chehade
spotted by Matthew Haub <matthew.haub@alumni.adelaide.edu.au>
2009-02-25remove chown's called when running with user privs, ie. basically noops;Jacek Masiulaniec
ok gilles@
2009-02-25also known as the Attansic L1ETheo de Raadt
2009-02-25enable ale(4) on both i386 and amd64Kevin Lo
ok deraadt@
2009-02-25syncTheo de Raadt
2009-02-25add Atheros AR8121/AR8113/AR8114 Ethernet controller(also known as L1E).Kevin Lo
written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau and then ported to OpenBSD by me. ok deraadt@
2009-02-24restore the parsing of incoming tdb update messages. this was disabledDavid Gwynne
while i was replacing the guts of pfsync, but i forgot to put it back again. this will make ipsec gateway failover work again. tested by sthen@ and david@ ok deraadt@
2009-02-24fix tilde expansion (eg. ~/Mail); ok gilles@Jacek Masiulaniec
2009-02-24Disable rt_if_track() for now. This causes the rtfree panic seen in PR6043Claudio Jeker
and I'm currently unable to find the cause of this. Time is running out so workaround it for now. OK deraadt.
2009-02-24The original SiS chips seem to have an bug that marks VLAN tagged packetsClaudio Jeker
with an rx error (SIS_RXSTAT_GIANT) eventhough everything is fine. Change code to clear this error on RX if the size of the packet is smaller then 1532 bytes. From FreeBSD via Brad. Tested on the more common National chips by me. Ok deraadt@
2009-02-24match new cpuid stuff from i386; by jsgTheo de Raadt
ok toby and tedu
2009-02-24Add support for hardware acceleration to gbe(4). This provides an acceleratedJoel Sing
framebuffer for the console on SGI O2 workstations. X is still supported via wsfb(4) by switching back to the unaccelerated linear framebuffer mode. Some hardware details and magic numbers from NetBSD's crmfb(4) driver. ok miod@ jasper@ "Sure, go for it" deraadt@
2009-02-24move AnyDATA ADU-E100H from ubsa(4) to umsm(4)Yojiro Uo
2009-02-24move AnyDATA ADU-E100H to umsm(4) from ubsa(4) as it uses msm chipset.Yojiro Uo
reported by denis1482
2009-02-24back out est.c 1.8 and bring acpicpu.c all the way back to 1.47 because ofTheo de Raadt
hanging machines. backed out correctly this time, as pointed out by tedu.
2009-02-24teach smtpctl's parser how to deal with parameters that are not necessarilyGilles Chehade
a token so that it is possible to do: smtpctl schedule <message id/uid> introduce F_MESSAGE_FORCESCHEDULE which lets the runner schedule a message even if the retry delay has not been expired. F_MESSAGE_ENQUEUED is a valid flag for a message and should not cause an\ errx() in smtpctl show queue
2009-02-24Backout a backout because noone knows what the hell the backout is aTheo de Raadt
backout of. COME ON. Be exact in your commit messages.
2009-02-24request a bulk update when the pfsync if configuration is changed via anDavid Gwynne
ioctl. without this peers would not request a bulk update when they come up, and therefore will not have the full state tree available for use in failover. ok mcbride@ "go for it" deraadt@
2009-02-23add valid_message_id() and valid_message_uid() which test that a message idGilles Chehade
and uid do not look wrong. this was not needed earlier because we only deal with message id's coming from trusted sources, but smtpctl will soon have a new feature which requires us to deal with user provided message id's.
2009-02-23unused varJoris Vink
2009-02-23we no longer push out Set-sticky to the client when writingJoris Vink
our Tag file on the server or in cvs_mkpath(), this caused problems for the "fast checkout" mechanism when a tag was supplied. instead, write out any directory sticky tag when we are checking out a file in that directory, this way we can use our "fast checkout" mechanism (no /tmp required) even for -r and -d without breaking working copies because they were missing CVS/Tag files. "looks good" tobias@
2009-02-23Properly convert between gmt and localtime for unchanged files as client.Tobias Stoeckmann
Problem reported by Jesus Sanchez (zexel08 at gmail dot com). ok joris
2009-02-23dont put pfsync packets on the wire if no syncdev is specified. issuesDavid Gwynne
reported by david@ an earlier version of this was ok mcbride@ ok deraadt@
2009-02-23When jumping out of the interrupt handler early, clear conditions we knowMiod Vallat
are likely set but don't need specific handling. This silences the interrupt handler if DIAGNOSTIC in some cases. ok grange@ deraadt@
2009-02-23regenJonathan Gray
2009-02-23Match on the SAS1078DE which appears to be used in at least theJonathan Gray
ServeRAID-MR10is. While here remove duplicate entries for SAS1078/PERC6 which are the same id, both with a SYMBIOS (LSI) vendor id and same product id (0x0060). ok marco@ dlg@ deraadt@
2009-02-23better detect short frames. always print the version and length of theDavid Gwynne
frame according to the pfsync header. dont try to parse an unsupported version of the protocol.
2009-02-23back out last commit since it breaks a few regress tests -- this will beTheo de Raadt
looked at post-release -- out of time for these kinds of problems david@ says: pfopt6 and f91.ok; pfopt6 change looks ok, but pf91 is of concern.
2009-02-23matthew haub pointed out that pid may be used uninitialized in some contextsTed Unangst
ok deraadt
2009-02-23- fix test for IPv4 checksumKevin Lo
- change age_get_macaddr() prototype(no functional change) and set smb pointers to NULL for consistency - clean up and fix the multicast code; from Brad - When the attach routine failed, release all resources including interrupts, interrupt handler, and DMA memory Tested by couderc@ and giovanni <qgiovanni at gmail dot com> ok deraadt@
2009-02-23A newruleset that contains actual blocks people can use if theyTheo de Raadt
uncomment them. this is no longer a sample. everything in here now must be completely legit. discussed at length with henning, claudio, and sthen ok sthen
2009-02-23add missing headers needed by time()Charles Longeau
ok jacekm@ gilles@
2009-02-23openssh-5.2Damien Miller
2009-02-22missing periodDamien Miller
2009-02-22don't advertise experimental optionsDamien Miller
2009-02-22Fix race possible between runner and queue when starting up.Jacek Masiulaniec
runner_reset_flags would attempt to update envelope, but its envelope.tmp could be renamed by queue_purge. The fix is to store envelope.tmp in a place no other process writes to, and /queue/envelope.tmp is perfect for this. ok gilles@
2009-02-22reorganize code so that couple of indentation levels can be removed;Jacek Masiulaniec
ok gilles@