summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-09-02pool_setipl for pf bitsDavid Gwynne
ok phessler@ henning@
2016-09-02Variable 'imp' is set earlier in cd9660_mount() if it's needed (whenTom Cosgrove
MNT_UPDATE is set in mnt_flag), so remove an unnecessary assignment later. ok bluhm
2016-09-02Add switch(4) support to ifconfigKazuya Goda
ok deraadt@ yasuoka@ reyk@ henning@
2016-09-02Don't bother with 'ghpartnum' in gpt_chk_hdr(); it's not usedTom Cosgrove
ok krw@
2016-09-02Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and addVincent Gross
the relevant counters. Ok mikeb@
2016-09-02Go through the set function like normal people; no functional change.Florian Obser
OK benno@
2016-09-02Do not free the configuration descriptor without setting ``dev->cdesc''Martin Pieuchot
to NULL. Prevent a use after free triggerable with invalid interface descriptor. Found with umap2 and a facedancer21.
2016-09-02Prevent a NULL dereference, triggerable with a crafted configurationMartin Pieuchot
descriptor with a bad type. Found with umap2 and a facedancer21.
2016-09-02Avoid calling usbd_set_config_index() in *_attach() and let the stackMartin Pieuchot
do it instead. If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing.
2016-09-02Remove variables 'm' and 'uio' that are only ever assigned toTom Cosgrove
(in swcr_authenc()) ok mikeb@, who pointed out that I'd missed uio
2016-09-02No need to set 'error' to 0 at the beginning of acx_encap(), asTom Cosgrove
we're only going to set it again 10 lines later. ok mpi@
2016-09-01No longer needed to special case RTM_GET in these if statements sinceClaudio Jeker
RTM_GET is no longer sharing this case block.
2016-09-01Move RTM_GET into its own case block not intermixing it with RTM_CHANGEClaudio Jeker
and RTM_LOCK. This is start for more changes here. OK mpi@
2016-09-01Make vcpu_reset_regs use new writeregs codeStefan Kempf
Makes reset code a little simpler. ok mlarkin@
2016-09-01Disable the RTF_UP kassert check in rtisvalid() for now as it canAlexander Bluhm
be triggered from userland. A gateway route is simply not valid if its gwroute is not up. OK phessler@
2016-09-01Add ioctls to get/set VCPU registersStefan Kempf
ok mlarkin@
2016-09-01Remove the clock hack, and properly handle interrupts generated from vmd(8)'sMike Larkin
forthcoming emulated interrupt controller. ok stefan
2016-09-01make the version symbol a fixed size (512) to reduce the potential forTed Unangst
bad effects when savecore reads beyond it ok deraadt (and thanks to bluhm for remembering that this happens)
2016-09-01Fix undefined behaviour when comparing pointers by casting them to vaddr_t.akfaew
OK mlarkin@
2016-09-01MPSAFE is never used, so get rid of it.akfaew
OK natano@ mpi@ guenther@
2016-09-01Get rid of 'relebad:'.akfaew
OK natano@ guenther@
2016-09-01Move the RTF_LOCAL check that only makes sense for userland toMartin Pieuchot
route_output(). ok claudio@
2016-09-01remove three more sparc references noticed by jsgTed Unangst
2016-09-01Import switch(4), an in-kernel OpenFlow switch which can work alone.Kazuya Goda
switch(4) currently supports OpenFlow 1.3.5. Currently, it's disabled by the kernel config. With help from yasuoka@ reyk@ jsg@. ok deraadt@ yasuoka@ reyk@ henning@
2016-09-01add iatp(4), a driver for the i2c touchpad and touchscreen found onJoshua Stein
the chromebook pixel
2016-09-01whitespaceJoshua Stein
2016-09-01Always initialize error code returned from iwm_firmware_load_chunk().Stefan Sperling
Patch by Imre Vadasz.
2016-09-01for broadwell HIDs, apply a magic write found in linux that isJoshua Stein
required in order to talk to certain i2c slave devices behind dwiic
2016-09-01- disable controller when we're done using itJoshua Stein
- read CLR_INTR register when disabling interrupts
2016-09-01- separate hid and ihidev attachment for upcoming driversJoshua Stein
- move power control into a dedicated function - sprinkle aml_freevalue
2016-09-01Use rtable_match() rather than rtalloc() when looking for an existingMartin Pieuchot
entry in RTM_ADD. rtable_match() does not modify the 'Use' counter of the route and unbreak regression tests. Breakage reported by bluhm@
2016-09-01retire sparcTed Unangst
2016-09-01do not enter sparcTheo de Raadt
2016-09-01Celebrate OpenBSD 6.0 release by retiring the sparc port.Ted Unangst
You've served us well, good friend, but now it's time to rest. ok deraadt
2016-09-01RTM_CHANGE should not allow to change the gateway of a mpath route.Martin Pieuchot
Fix rttest13. ok claudio@
2016-09-01one less sparcTed Unangst
2016-09-01remove another straggler hunted down by miodTed Unangst
2016-09-01openbsd.randomdata became RO in userland due to the RELRO work. We shouldTheo de Raadt
also do so in the kernel, which gains us RO ssp cookie, which will prevent spraying attacks. The random layer was openbsd.randomdata annotating working entropy/chacha buffers which in turn required them to be RW. To make that work again, so we need to copy RO seeds to RW working buffers, and later clear the RO seed buffers afterwards using a temporary RW mapping. help & ok kettenis, ok guenther
2016-09-01Avoid mapping the vector page W|X. Map it using PROT_READ|PROT_WRITEMark Kettenis
initially and change it to PROT_READ|PROT_EXEC as soon as we have called pmap_bootstrap(), at which piint we're done modifying the page. ok jsg@, deraadt@, patrick@
2016-09-01Remove the unused ntfs write code. ok benno beckMartin Natano
2016-09-01Fix comment in sys/sem.hTom Cosgrove
From Michal Mazurek <akfaew at jasminek dot net> ok guenther@
2016-09-01Remove last mention of nonexistent ktr_kuser()Tom Cosgrove
From Michal Mazurek <akfaew at jasminek dot net> ok guenther@
2016-09-01space -> tabKenji Aoyama
2016-08-31Remove unused RTF_MASK route flag.Alexander Bluhm
Requested by and OK mpi@
2016-08-31this little piggy tried to stay aroundTheo de Raadt
2016-08-31Remove rt leftovers in isapnp, unbreak kernel config.Alexander Bluhm
OK deraadt@
2016-08-31pl011 and pl031 are licenseable peripherals from arm present in multiple socs.Jonathan Gray
Move the pluart and plrtc drivers for them out of the vexpress directory and into dev to reflect this and rename the files to match the driver names. discussed with patrick and kettenis
2016-08-31Support A Radio Free Europe!Ted Unangst
remove long disabled radio devices ok deraadt
2016-08-31Support A Radio Free Europe!Ted Unangst
remove long disabled radio devices ok deraadt
2016-08-31Don't put a device in the wake device list if _STA says it's not there.Mike Larkin
Fixes at least one machine that woke up from sleep / poweroff immediately. ok kettenis@, tested by kettenis and martijn@