summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-06Handle fuse client private data. Needed by encfs.Sylvestre Gallon
Bump shlib_version. ok stsp@.
2013-11-06simplify a crazy expressionTheo de Raadt
2013-11-06In hibernate_write_chunks(), keep track of relative block numbers insteadTheo de Raadt
of absolute, so that we can add range checking. ok mlarkin
2013-11-06spacingTheo de Raadt
2013-11-06return the known error, instead of EIOTheo de Raadt
2013-11-06shorten dev_t in hib_infoTheo de Raadt
2013-11-06Don't cargo-cult copy the invocation of size(1) on compiled bootblocks,Miod Vallat
when 1) they aren't in ELF format, and 2) the result does not EVEN REMOTELY matter on these architectures.
2013-11-06forgot armv7/armv7 files...Sylvestre Gallon
2013-11-06After factorizing armv7_machdep code here is an effort to factorize allSylvestre Gallon
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c All this code looks quite the same, so we move it in a generic armv7/armv7.c This is a step closer to only one kernel for all armv7 boards. ok patrick@, rapha@
2013-11-06shorten variable name for the hibernate info struct, throughout. MuchTheo de Raadt
easier to read now. ok mlarkin
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-06fix spacing in usage()Igor Sobrado
2013-11-06Document 'machine boot' in boot(8) on i386 and amd64.Bryan Steele
"fine" deraadt@
2013-11-06See previous commit. This is the next step in the process. The code nowTheo de Raadt
accepts either format, but we start using the IETF bits. Hopefully we get a mail later again from David Dahlberg reminding us to remove the legacy acceptance.
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-06use DEV_BSIZE instead of "secsize"Theo de Raadt
ok mlarkin
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Tested and okay mpi@
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-06fix rekeying for AES-GCM modes; ok deraadtMarkus Friedl
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-06Make usbd_free_xfer return void, since no callers use the return value.Jeremy Evans
OK mpi@
2013-11-06Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-06Add support for the RTS5229 card reader to rtsx(4).Stefan Sperling
From Pedro Martelletto.
2013-11-06teach the side-effect free drivers about the partition they are dealingTheo de Raadt
by passing a start/length in the HIB_INIT op. Then rebase all hibernate-time block offsets to be relative to the start of that partition. This simplifies things a lot. ok mlarkin
2013-11-06regenStefan Sperling
2013-11-06Add RTS5229 Card Reader PCI ID. From Pedro Martelletto.Stefan Sperling
2013-11-06Call the new MD hook before and after setting the power state of a device.Martin Pieuchot
This is actually a noop on all arches but ACPI ones, where it deals with Power Resources. ok kettenis@, deraadt@
2013-11-06Add support for Power Resources for Dx states and the necessary hookMartin Pieuchot
for PCI devices. This hook should be called twice, before and after changing the power state of a PCI device. Before setting the device to the new state, the ACPI layer will notify every power resources linked to the device for that state and make sure they are turned "_ON". After changing the state of the device, it will decrement the reference of every power resources linked to that device for the old state and turn them "_OFF" if they are no longer referenced. This fixes the no-USB after resume problem seen on various ThinkPad, problem initialy diagnosed with Alexander Polakov. ok kettenis@, deraadt@
2013-11-06fix format stringEric Faurot
2013-11-06fix assertion that could lead to orphaned messages left in the queueEric Faurot
after all envelopes are gone.
2013-11-06Much much improved config parser and related changes.Eric Faurot
Simplify code and do not impose an order on conditions and rule options. Format changes that may require smtpd.conf update for some setups: - SSL certificates are no longer automatically loaded, but must be explicitely declared using the "pki" keyword. - "certificate" option becomes "pki" in listener and accept rules. - "ssl://" becomes "secure://" in relay via rules. - "helo" becomes "hostnames" in relay rules New features: - accept rules do not need an explicit action, in which case alias table or .forward must provide one. - new "forward-only" action to force relaying and reject rcpts that expand as local delivery. - "!" (negation) modifier on rule matching conditions. - new "recipient" rule matching condition. - new "verify" option on listeners and relay rules to reject invalid certificates. Other changes: - remember the helo name advertised on incoming mail and use it for sending bounces. - bump envelope version (existing envelopes are updated on-the-fly).
2013-11-06dont leak ccbs in mpii_sas_remove_device. detaching lots (like, 1000) ofDavid Gwynne
things could run you out of command slots without this.
2013-11-06remove some abuse of bufqs where they were overloaded to store workq_tasksDavid Gwynne
for completing swap io against files. this in turn bloated struct buf. this moves from using workq_tasks to the task api, but stores the task handler in vndbuf which is allocated specially for every io in this path anyway. ok kettenis@ beck@
2013-11-06Errant assignment that snuck in long ago. Pointed out by deraadt@Mike Larkin
2013-11-05Fix ifconfig with IPv6 tunnel addresses which was broken by theAlexander Bluhm
vxlan(4) commit. found by todd@; OK reyk@
2013-11-05Cleanup, no functional change:Ingo Schwarze
1. avoid code duplication in rewinddir() by calling seekdir() directly 2. move __seekdir() into seekdir() and _telldir_unlocked() into telldir() Both functions were called from nowhere else. 3. remove some unused #include directives and one unused function prototype ok otto@ millert@
2013-11-05no more iop/ioprbs; ok deraadtJason McIntyre
2013-11-05avoid touching the signal traps during autoinstallUwe Stuehler
With this, the installer finishes even when there are kernel messages output during the installation. :) original diff and ok halex@
2013-11-05octrng: Add name checks during match.Paul Irofti
2013-11-05octrng: Fix control flags.Paul Irofti
They had the wrong endian representation. Found the hardway by bcallah@. Thanks!
2013-11-05octrng: Disable debug by default.Paul Irofti
2013-11-05syncTheo de Raadt
2013-11-05kill iop(4); spotted by jmcTheo de Raadt
2013-11-05Remove useless #ifdef *BSD cruft from sppp(4). No binary change.Stefan Sperling
ok sthen
2013-11-05Sigh. How many typos can be made in one diff. Fix DL_SETPSOFFSET() toKenneth R Westerback
be DL_SETPOFFSET().
2013-11-05DL_SETDSIZE() and DL_SETPSIZE() are not the same thing. Use the latterKenneth R Westerback
to set partition size. Fixes tree breakage found by Scott McEachern.
2013-11-05Instead of comparing the lower and higher addresses of all the multicastMartin Pieuchot
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not introduce any behavior change but will help changing our representation of multicast entries.
2013-11-05Add a stub for the new MD hook needed to handle ACPI Power Resources.Martin Pieuchot
ok kettenis@
2013-11-05Make sure seekdir(3) works even when dirp->dd_buf still contains someIngo Schwarze
pending entries: At the time of the lseek(2), also invalidate the buffer in order to force getdents(2) during the next readdir(3). Because this throws away buffered data that could still be used in some cases, this is not particularly efficient, but at least it works; i will suggest optimizations soon. Bug found when investigating perl-5.18.1/t/op/threads-dirh.t that was reported broken by Andrew Fresh <andrew at afresh1 dot com>. ok guenther@ deraadt@
2013-11-05Fix RAID levels 0, 4, 5, and 6 with partitions larger than 2TB.Reyk Floeter
A 64bit bit operation with the 32bit strip size could overflow and result in ridiculously small volumes when using large partitions (eg. 4x 3TB in RAID 5 resulted in a ~2TB volume). It is fixed by casting the strip size to an unsigned 64bit value. ok tedu@ millert@ deraadt@