Age | Commit message (Collapse) | Author |
|
zero the buffers first. All the current objects appear to be safe,
however future changes might introduce structure pads.
Discussed with guenther, ok bluhm
|
|
copyout to avoid leaking kernel stack
ok deraadt@
|
|
future disk info sysctl has pads in the structures, use M_ZERO when
allocating the storage to avoid leaking kernel memory.
|
|
it has no pads, but a future ABI change could add something and leak
kernel memory.
|
|
changes to avoid exposing userland memory.
|
|
remove some debug printfs, get rid of STATIC and __inline defines and
remove a bit more unused code.
ok drahn@, visa@
|
|
the release write becomes globally visible only after any writes
of the critical section are globally visible. In practice, the
reordering has not happened because the kernel runs in the total
store order mode.
Tested by and OK kettenis@
|
|
|
|
need to be installed by hand until the iwm-firmware package has been updated.
This includes handling (by ignoring) of IWM_UCODE_TLV_FW_MEM_SEG and
IWM_DEBUG_LOG_MSG firmware commands. Mostly stolen from dragonflybsd.
With this in the X270 has working ethernet and wifi.
Commit! deraadt@
|
|
|
|
|
|
ok guenther
|
|
to enable RDTSCP to 0, so when solaris attempted to use the instruction
(since it wasn't filtered out of CPUID information), the CPU issued an
#UD exception.
|
|
reason to explicitly flush the cache before invalidating the TLB. The
barrier that is included in out TLB flushing code should be enough to
guarantee that the TLB walking hardware sees the updated page table
contents, so the explicit barriers can go as well. Sanitize the code
immediately surrounding the removed bits while I'm there.
Tested by jsg@, ok drahn@, visa@
|
|
|
|
|
|
Return the sum of per-cpu counters instead of the current cpu's
counters. Brainfart on my side. Analysis and fix by Andrei-Marius Radu.
|
|
This lets an idle SoC run a bit cooler.
Tested on CN5020, CN6120 and CN7130.
|
|
|
|
|
|
from sthen and others
|
|
them, but for release let's be conservative and use 0.
|
|
the received packet fits in a single mbuf cluster, which isn't necessarily
the case. This might fix the pool corruption seen by jcs@.
ok jcs@, jmatthew@, deraadt@
|
|
Also, the firmware was rejecting RTS frames so iwi(4) didn't work against
an OpenBSD athn(4) hostap anymore; fix the config sent to firmware.
Prompted by report from bg2200 at jamesjerkinscomputer on misc@
ok deraadt@
|
|
|
|
|
|
that are now covered by the generic class matching.
|
|
0 "No class specific protocol required" in addition to the existing
protocol 1 "AT Commands: V.250 etc" match.
This lets umodem(4) attach to the serial console on the overdrive 1000
which is a usb type-b socket on the back of the box not a db9 like the
overdrive 3000.
|
|
the vfp state via cpacr_el1. This matches the advice given in the
"Synchronization requirements for system registers" section of the ARMv8
ARM.
Without this an overdrive 1000 with A1120 (Cortex A57 r1p2) reliably
triggers "panic: VFP exception in the kernel" when init(8) is run.
ok drahn@ kettenis@
|
|
Before seabios, this didn't matter much but now it does since various
bootloaders/kernels need such treatment.
ok deraadt
|
|
ok guenther, deraadt
|
|
tables. We need to set them in the final kernel page tables as well.
ok visa@
|
|
switching code might think the old pmap is still active after a resume
which could lead to a page fault in the kernel.
ok stsp@, mlarkin@, deraadt@
|
|
from Matthias Pitzl; OK deraadt@
|
|
a wrong rate being reported when a unsupported rate was requested.
|
|
Michael W. Bombardieri <mb at ii.net>. Thanks.
|
|
Thanks!
|
|
This aligns code with documentation & matches what was available before
etherip(4) was split from gif(4). sysctl net.inet.etherip.allow=1 is
still needed to accept etherip packets not protected with IPsec.
Reported by at least Jason Tubnor, ok mikeb@
|
|
need to call hibernate_free() to clean up a partial mess.
ok mlarkin kettenis
|
|
work.
ok mlarkin kettenis
|
|
|
|
|
|
unwinds that. Upon hibernate fail, this was a collection of double-frees..
ok claudio mlarkin
|
|
failure as early as possible.
ok mlarkin claudio
|
|
RTC clocks that aren't battery powered.
ok deraadt@, millert@, visa@, tom@
|
|
syslogf always points to a file object with increased reference
count. This makes the implementation independent from the fact
whether changing the reference counter may sleep.
pointed out by Mateusz Guzik; OK deraadt@
|
|
calculate the prefixlen using the address before sending the RTM_NEWADDR
message.
ok claudio@
|
|
|
|
ok kettenis@ reyk@
|
|
|