summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-03Check current parent process ID against saved one to determine if the parentDarren Tucker
has exited, rather than attempting to send a zero signal, since the latter won't work if the parent has changed privs. bz#1905, patch from Daniel Kahn Gillmor, ok djm@
2011-06-03bz#1883 - setproctitle() to identify mux master; patch from Bert.WesargDamien Miller
AT googlemail.com; ok dtucker@
2011-06-03Retry establishing the port forwarding after a small delay, should makeDarren Tucker
the tests less flaky when the previous test is slow to shut down and free up the port.
2011-06-02When checking to see if a rule is referenced by any source-tracking nodes,Stuart Henderson
actually check how many src nodes reference it, rather than checking the max_src_nodes for the rule which makes no sense. From Martin Pelikan.
2011-06-02Don't destroy a non-persistent table if referenced by src_nodes. FixesStuart Henderson
a crash if max-src-* options are triggered both before and after a ruleset reload, when the rules are overloading to a non-persistent table. Discovered by and fix from Martin Pelikan.
2011-06-02Add the quadruple-precision constants; testvect works better nowMartynas Venckus
on sparc64.
2011-06-02Document that the rounding mode is dynamic, on Alpha.Martynas Venckus
2011-06-02In the land of VMWare you can have the latest 64-bit AMD multicore CPUMark Kettenis
behind a prehistoric Intel host bridge. Disable MSI on these contortion.
2011-06-02Fix index for Mid() opcodeJordan Hargrave
2011-06-02No need to set error to 0, when it is still 0 from the start of the function.Theo de Raadt
ok thib matthew
2011-06-02The vndbufpl is no longer used.Theo de Raadt
Spotted by matthew, verified by me.
2011-06-02Initialize the dv_xname at attach time, so that we don't have to doTheo de Raadt
this work later. Since the disk always has the same name (the different between svnd and vnd went away), we don't need to do this late anymore. Spotted with matthew.
2011-06-02In vndclear(), clear all the flag bits. Leaving around a VNF_WLABEL bitTheo de Raadt
is stupid (verified to be the case). Other flag bits might have lived longer than they should as well, with unknown consequences. Spotted with matthew, too.
2011-06-02Initialize the dv_unit, because disk_attach will want it later. BeforeTheo de Raadt
we were probably only ever reading labels off vnd0. Oops. Spotted by matthew
2011-06-02Do not bzero the softc when doing VNDIOCCLR, because that trashes theTheo de Raadt
rw_lock and the device_ref Discussed with thib and matthew
2011-06-02If there are no descriptors to poll, just sleep until SIGALRMAlexandre Ratchov
is posted and then update all timers and restart the event loop. Fixes throtteling while midi inputs are drained.
2011-06-02close midi control ports and thru boxes only when there are noAlexandre Ratchov
inputs anymore, to ensure data is drained
2011-06-02MSI for wpi(4).Michael Knudsen
``Reasonably confident that will work on all hardware, go ahead and commit.'' kettenis (worst jinx ever)
2011-06-02Enable MSI.Mark Kettenis
"i think more pci_intr_map_msi should go in"
2011-06-02Add $OpenBSD$ after oga said 'go ahead and fix that'Paul de Weerd
'go for it' oga@
2011-06-02Move the code that disables MSI out of azalia_configure_pci(), such that weMark Kettenis
don't run it upon resume. We now save and restore the MSI registers in the generic PCI code, so it is no longer necessary and will hurt us when we actually start using MSI. ok jakemsr@
2011-06-02Remove the blurb about `--disable-silent-rules' in the gnome MODULEAntoine Jacoutot
description, it's the default now.
2011-06-02Fix CondRef definition to support optional target. Fixes docking on Dell E4310Jordan Hargrave
ok marco@
2011-06-02Hack to ensure that the in-core labels contain the current boundsKenneth R Westerback
info from the physical disk after 'disklabel -e' writes the label to disk. Saves having to reboot or do other contortions to initialize these fields. Toss in same treatment for total sectors so all fields forcibly set by kernel have current values. 0'ing of the bounds noted by matthew@. 'lovely' deraadt@
2011-06-02don't exit from the main loop if there are pending time outs.Alexandre Ratchov
Fixes midi inputs not being properly drained when they are temporarily blocked to limit input data rate
2011-06-02Attempt msi interrupt mapping, with fall back to old-style mapping. WorksKenneth R Westerback
on my non-msi capable ahci and several msi capable setups. Dark suspicions that some will NOT work so put it in to smoke any such systems into the open. ok deraadt@ mk@ kettenis@
2011-06-02We will ignore retval2; it is not an issueTheo de Raadt
2011-06-02Change ktr_retval to a register_t so that we can see the full 64-bitsTheo de Raadt
when neccesary. It is incredible this 64-bit bug has existed for this long. ok miod
2011-06-02device_ref() by hand, since this is a pseudo-device and was not attachedTheo de Raadt
through config_attach() ok matthew jsing
2011-06-02Revert previous; changes linking order for pkg-config --libs, breaking X on VAX.Stuart Henderson
Found by matthieu@
2011-06-02Small refactoring of atascsi and fix non-data ATA commands to not setMatthew Dempsky
ATA_F_PIO or ATA_F_READ. ok dlg@
2011-06-01Oops, I broke randomness. (Please upgrade, this is _bad_.)Ariane van der Steldt
sel_addr &= ~(pmap_align - 1); with pmap_align allowed to be 0 (no PMAP_PREFER) is a bad idea. Fix this by a conditional. ok oga@
2011-06-01fix wcscasecmp() parameters; <wchar.h> was correctChristian Weisgerber
2011-06-01Add device_ref/device_unref calls to prevent a possible use-after-freeMatthew Dempsky
issue in disk_attach_callback. Assumes that the struct disk is part of the driver's softc, but this is always true in practice. Still other scary use-after-free races lying around here though... ok jsing@, deraadt@
2011-06-01Make uk(4) look more like sd(4) and cd(4) by adding a uklookup()Matthew Dempsky
wrapper for device_lookup(), and renaming the uk local variables to sc. ok krw@
2011-06-01Use __POSIX_VISIBLE not __POSIX_C_SOURCE to bracket the definitionsTodd C. Miller
of wcscasecmp() and wcsncasecmp(). Noticed by naddy@ OK espie@
2011-06-01document xz support, explain why it's generally a bad ideaMarc Espie
2011-06-01repaire pkg_info -P in the simplest possible way, pending revisit.Marc Espie
(problem noticed by Nigel Taylor)
2011-06-01- avoid YY_FLUSH_BUFFER: it is not signal safe and it does not work as intendedOtto Moerbeek
after the introduction of editline - honour editline edit off mode
2011-06-01regeneratePhilip Guenthe
2011-06-01Mark some system calls that don't require big lock with NOLOCKPhilip Guenthe
ok matthew@, deraadt@
2011-06-01sys_getpid() isn't really NOLOCK safe, as the compat bits inside it requirePhilip Guenthe
the p_pptr member to stay valid ok dlg@, matthew@, deraadt@, kettenis@, and others
2011-06-01Kill the nearly-15-years-dead cf_ivstubs field from struct cfdata.Matthew Dempsky
ok miod@, deraadt@ N.B.: If you're following -current, you MUST recompile config(8) and re-config your kernel or else ioconf.c will fail to compile.
2011-06-01Add a few KASSERTs to config_attach() for sanity to make sure we don'tMatthew Dempsky
try to reuse device unit numbers and to check that the device pointer array is allocated and large enough. Also, improve the panic message generated by config_detach() when we detect that we're detaching a device that still has children. Discussed with deraadt@ while trying to brainstorm ways that interleaving config_attach and config_detach could blow up.
2011-05-31Minor fixes by kristaps@, based on issues reported by jmc@.Ingo Schwarze
2011-05-31Test lint warnings about empty non-compound selection statements.Martynas Venckus
2011-05-31Lint didn't take into account padding of LDOUBLE, LDCOMPLEX,Martynas Venckus
LDIMAGINARY, therefore was doing portability checks against a non-existent architecture. Make psizes of the mentioned types 128-bits for portability checks. (since it's rarer).
2011-05-31Warn on empty non-compound selection statements, such as "if (foo);".Martynas Venckus
- "empty body of the if statement", - "empty body of the else statement". millert@ thought it's useful.
2011-05-31Make tt_domain = 3 (complex), not 1 (real) for the complex typesMartynas Venckus
(COMPLEX, DCOMPLEX, LDCOMPLEX). While at it, _Complex float -> float _Complex since that's the type defined by C99. OK millert@.
2011-05-31Call the single, not double-precision version of copysign for theMartynas Venckus
float arguments.