Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-05 | It was possible to leak the control mbuf in raw ip user request | Alexander Bluhm | |
with sendmsg(2) and MSG_OOB. Sync the code in udp, rip, and rip6_usrreq. Add an inp NULL check in rip6_usrreq for consistency. OK benno@ mpi@ | |||
2018-07-05 | Add acpipci(4), a driver that supports generic ECAM-compatible PCI host | Mark Kettenis | |
bridges based on information provided by ACPI. ok mlarkin@ | |||
2018-07-05 | Do not leak memory and a fp reference when !root passes `allow_other'. | Martin Pieuchot | |
Fix CID 1470236. ok helg@ | |||
2018-07-05 | regen | Martin Pieuchot | |
2018-07-05 | Put back sendto(2) and sendmsg(2) under KERNEL_LOCK(). | Martin Pieuchot | |
malloc(9) is apparently not mpsafe as found the hardway by sthen@. | |||
2018-07-05 | Serialize the sosplice taskq allocation. This prevents an unlikely | Visa Hankala | |
duplicate allocation that could happen in the future when each socket has a dedicated lock. Right now, the code path is serialized also by the NET_LOCK() (and the KERNEL_LOCK()). OK mpi@ | |||
2018-07-05 | Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked code | Visa Hankala | |
paths create kernel threads. This will be utilized by sosplice() for the taskq allocation. OK mpi@ | |||
2018-07-05 | backout r1.11 "Add retguard macros for kernel asm", ok deraadt | Stuart Henderson | |
after starting iked kernel enters ddb with: Stopped at aesni_ctr_enc+0xd8: int $3 | |||
2018-07-05 | RTM_BFD route messages are also a special case. suggested by claudio@, | Sebastian Benoit | |
ok phessler@ | |||
2018-07-05 | not all route messages have a priority. Move the priority filter check | Sebastian Benoit | |
where it belongs. Problem spotted by by remi@ ok sthen@ claudio@ krw@ | |||
2018-07-05 | Enable bwfm(4). | Patrick Wildt | |
Requested by brad@ Tested by fcambus@ ok stsp@ | |||
2018-07-05 | Cast physical addresses to 64-bits so we can shift them by 32-bit on | Patrick Wildt | |
32-bit platforms without the compiler complaining. In the end the value will turn out as 0 anyway. Allows enabling bwfm(4) on 32-bit platforms. ok stsp@ | |||
2018-07-05 | Add support for the VIA VX900 chipset in viapm(4). | Frederic Cambus | |
OK kettenis@ | |||
2018-07-05 | forgot to commit vmmvar.h needed by previous two commits, thanks ccardenas | Mike Larkin | |
for noticing. | |||
2018-07-05 | vmm(4): print guest vcpu mode and cpl in debug output if VM crashes | Mike Larkin | |
2018-07-05 | vmm(4): add some utility functions for checking vcpu cpl and mode | Mike Larkin | |
ok pd@, guenther@ | |||
2018-07-05 | Plug a vnode leak in namei(). If the file system is unmounted | Alexander Bluhm | |
during name lookup, the directory vnode was not released. Add a vrele() to the error return path. NetBSD has added a vput() there after we imported the check. OK krw@ visa@ | |||
2018-07-04 | It is possible for a memory write to not complete if no barrier exists | Dale Rahn | |
between the write and a wfi instruction. Make certain system state is coherent when waiting on interrupts. ok kettenis@ | |||
2018-07-04 | enable trunk(4) | kn | |
OK deraadt kettenis | |||
2018-07-04 | Properly pass around the PCI "chipset tag" in acpi(4) and refactor | Mark Kettenis | |
acpimcfg(4) to call an MD initialization functions that sets up a tag for PCI ECAM. ok guenther@, mlarkin@, krw@ | |||
2018-07-04 | ptrace debug support for arm64. | Dale Rahn | |
Single step is not yet supported but reading and setting registers are working as expected, breakpoints also are working. ok kettenis@ | |||
2018-07-04 | Move allocation behind sanity check to address possible memory leak as | Patrick Wildt | |
seen by Coverity CID 1470240. Cast the ieee80211_frame struct pointer to uint8_t to address concerns raised by Coverity CID 1470239 and CID 1470237. ok stsp@ | |||
2018-07-04 | Do not try to unlock the fdplock() in an error path if it isn't held. | Martin Pieuchot | |
Found the hardway by mlarkin@, ok bluhm@ | |||
2018-07-04 | Prevent a mbuf double free by not freeing it along the error-path in | anton | |
rip{6,}_usrreq() since soreceive() will free it. ok bluhm@ | |||
2018-07-04 | Fix a wrong memcmp in k7/k8 powernow code. | Mike Larkin | |
ok brynet | |||
2018-07-04 | Clean up some extern definitions and includes in hibernate MD code | Mike Larkin | |
2018-07-04 | Clean up some extern definitions and includes in hibernate MD code | Mike Larkin | |
2018-07-03 | Add retguard macros for libkern | mortimer | |
ok deraadt | |||
2018-07-03 | Add retguard macros for kernel asm. | mortimer | |
ok deraadt, ok mlarkin (vmm_support) | |||
2018-07-03 | Add a new so_seek member to "struct file" such that we can have seekable | Mark Kettenis | |
files that aren't vnodes. Move the vnode-specific code into its own function. Add an implementation for the "DMA buffers" that can be used by DRI3/prime code to find out the size of the graphics buffer. This implementation is very limited and only supports offset 0 and only for SEEK_SET and SEEK_END. This doesn't really make sense; implementing stat(2) would be a more obvious choice. But this is what Linux does. ok guenther@, visa@ | |||
2018-07-03 | Make intrframe the exact same size as trapframe: instead of pushing | Philip Guenther | |
the PPL on top, store it where trapframe puts the trap number. This makes interrupt handlers get called with the correct stack alignment. Also, document the use of if_err to differentiate resumed/recursed interrupts from 'real' ones. tested in snaps ok deraadt@ | |||
2018-07-03 | Use LIST_FOREACH construct instead of homebrew loop. | Kevin Lo | |
ok bluhm@, mpi@ | |||
2018-07-03 | Avoid NULL pointer deref in vn_writechk() when calling ftruncate() on a file | anton | |
descriptor belonging to a cloned device. ok kettenis@ | |||
2018-07-03 | add amd speculation control cpuid bits | Jonathan Gray | |
documented in 'AMD64 Technology Indirect Branch Control Extension' and 'Speculative Store Bypass Disable' ok mlarkin@ deraadt@ | |||
2018-07-03 | regen | Frederic Cambus | |
2018-07-03 | Add device IDs of the VIA VX900 chipset. | Frederic Cambus | |
OK mlarkin@ | |||
2018-07-03 | During attach, give the loop a while to settle before we start looking | Jonathan Matthew | |
for targets. With some combinations of controllers and targets, the loop seems to bounce a bit, but with a short delay we can attach targets more reliably. | |||
2018-07-03 | regen | Landry Breuil | |
2018-07-03 | Add usb ids for the Logitech Webcams C210 and C270. | Landry Breuil | |
Their audio isn't properly detected yet, but a new quirk will fix that. ok mpi@ | |||
2018-07-03 | If we're not on a fabric, we may still need to attach and detach targets | Jonathan Matthew | |
as part of processing port database changes. | |||
2018-07-03 | Instead of overwriting `f_data' replace the 'struct file' with a new one. | Martin Pieuchot | |
With this change `f_data' is effectively immutable. While here prevent a lock ordering issue by not unterleaving the vnode's lock and the fdplock(). Tested by bluhm@, ok kettenis@, visa@, jsing@ | |||
2018-07-03 | Remove dead code present since r1.1. Fix CID 1470238. | Martin Pieuchot | |
ok guenther@ | |||
2018-07-03 | Fix typo. | Kevin Lo | |
ok claudio@, deraadt@, mpi@, rob@ | |||
2018-07-03 | Nuke unused variable. | Kevin Lo | |
ok deraadt@, mpi@, rob@ | |||
2018-07-02 | Use more list macros for v_dirtyblkhd. | Alexander Bluhm | |
OK mpi@ | |||
2018-07-02 | Update the file reference count field `f_count' using atomic operations | Visa Hankala | |
instead of using a mutex for update serialization. Use a per-fdp mutex to manage updating of file instance pointers in the `fd_ofiles' array to let fd_getfile() acquire file references safely with concurrent file reference releases. OK mpi@ | |||
2018-07-02 | Assert that fdp is locked in fdalloc(). | Visa Hankala | |
OK mpi@ | |||
2018-07-02 | Allow pluart(4) to attach to acpi(4). | Mark Kettenis | |
ok mlarkin@, patrick@ | |||
2018-07-02 | Allow xhci(4) to attach to acpi(4). | Mark Kettenis | |
ok dlg@, patrick@, mpi@ | |||
2018-07-02 | Enable the FPU when calling EFI runtime services. The new UEFI firmware for | Mark Kettenis | |
the od1000 that I built myself seems to use the FPU when setting the RTC, and the UEFI standard allows this. ok drahn@ |