Age | Commit message (Collapse) | Author |
|
not memcpy().
'oh oh' deraadt@
|
|
|
|
|
|
divert-packet. Bring back the loop over the global list to find
the divert socket.
|
|
It used a loop over the global list divbtable that would be hard
to make MP safe. The port net/dnsfilter does not work without this,
it should be converted to divert-to. Neither other ports nor base
use this filter feature.
ports checked by sthen@; OK mpi@ benno@
|
|
All other bit fields use hex as well as the MNT_ constants. Change
this to hex to make it cosistent and less confusing.
OK krw@
|
|
If frequency of an invariant (non-stop) time stamp counter is measured
using an independent working timecounter that has a known frequency, we
can assume that the measured TSC frequency is as good as the resolution
of the timecounter that we use to perform the measurement. This lets us
switch from this high quality but expensive source to the cheaper TSC
without sacrificing precision on a wide range of modern CPUs.
From Adam Steen <adam@adamsteen.com.au> with tweaks from reyk@ and myself.
Tested by brynet@, sthen@ and others, OK mlarkin, sthen
|
|
as 32 bit linux guests do.
ok pd@
|
|
prevents the video output problem on ThinkPad X121e and so on.
diff from Klemens Nanni, test by Andrew Daugherity
|
|
Debug builds only.
|
|
found with grep 'KASSERT.* = '; OK kettenis@
|
|
sensor to the ugold(4) driver.
Patch by Jan Klemkow
Tested by Remi Locherer
ok mpi@ patrick@
|
|
warning during linux guest bootup relating to fpu save state size.
|
|
mode bits. From Brad Smith.
|
|
wrong place, no functional change.
|
|
|
|
ok tom, mpi, deraadt
|
|
the .got section was put into the randomdata segment. This caused
the bootloader to overwrite parts of the .got and leads to broken
pointers. Explicitly put the .got section into the .data segment.
ok kettenis@
|
|
emission temporaries no lifetime markers are emitted. This causes
clang to not re-use stack slots properly. By forcing the function to
be inlined this can be worked around.
ok kettenis@ jsg@
|
|
|
|
When bringing the interface down, the driver now waits for any running
tasks to complete before shutting down the hardware.
Based on suggestions by dlg@ and mpi@
Tested by myself, Manuel Giraud, anton@, and jcs@
|
|
ok deraadt@
|
|
value so simplify.
|
|
|
|
from the trap to a 'resume' address to effectively make xrstor_user()
return an error indication, then do the FPU cleanup and trap generation
from there where we can get access to the original, userspace trapframe.
The original fix tried to handle the trap while on the wrong trapframe,
leaking kernel addresses and possibly leading to double faults.
Problem pointed out by abluhm@
ok deraadt@ mikeb@
|
|
user address is unavailable so use 0 instead, since the typical cases
are coredump or handing to a SIGBUS handler which cannot recover.
Issue observed by bluhm
ok bluhm, mlarkin, guenther said "Foo!"
|
|
is under userspace control via sigreturn, fails various consistency
checks. Rather than trying to replicate the CPU's hardwired checks
in C code, handle it like iretq: check in trap() whether a fault
is from the problem instruction and handle it there.
CPU behavior and the potential issue pointed out on Linux kernel-hardening
ok mikeb@ deraadt@
|
|
rendering the network unusable.
tested by myself
committing on behalf of jsg@
ok deraadt@
|
|
From yasuoka.
I really want this fixed in a different way after release is finished.
|
|
ok deraadt@
|
|
ok patrick@, deraadt@
|
|
of "phy".
ok patrick@, deraadt@
|
|
commits from linux-4.8.x.
The changes are quiet minimal due to the fact that kabylake and skylake share
most of the code because they are both gen9 graphics.
This was tested by many and was also in snapshots for a while.
ok kettenis@
|
|
don't request R+W. Issue observed by jsing in a go test of some sort.
ok mlarkin
|
|
Send an uncatchable SIGABRT to the process specified by the pid
argument. Useful in case of CPU exhaustion to kill the DoSing
process and generate a core for later inspection.
ok phessler@, visa@, kettenis@, miod@
|
|
be triggered by incoming management frames, such as DEAUTH frames. As krw@
found out, a system receiving many such frames would become unresponsive.
Ensure this extra DELAY() only happens if we decide to send an AUTH frame.
ok mpi@ krw@
|
|
the kernel makefiles was removed which lead to C files not being re-
compiled when a dependency changed. This can lead to panics in odd
places and generally a broken system.
ok deraadt@
|
|
|
|
addresses will cause a fault on load by the kernel.
Problem observed by Maxime Villard
ok kettenis@ deraadt@
|
|
Account for the case when wdc is attached to the ISA bus and performs
channel probing using a dummy structure that lacks the back pointer to
the controller's softc.
Bug reported and fix tested by Andrew Daugherity, thanks!
OK phessler, jsg, krw, deraadt
|
|
mkioctls can find the files and not error out as drm headers are not
installed to /usr/include. This results in more complete ioctl coverage
in kdump (not just for drm).
ok kettenis@
|
|
ok deraadt@
|
|
okay bluhm@, deraadt@
|
|
|
|
Compiler complained:
warning: large integer implicitly truncated to unsigned type
No functional change.
reported by & ok visa@
|
|
Without it uhid_do_ioctl() will return EINVAL which will make the
upper layer assume that uhid node do not support non-blocking reads.
Fix a regression introduced by the removal of SIGIO support.
Reported by many, fix tested by Bryan Linton, Micah Muer and Nam Nguyen.
|
|
Those are shared by SD/MMC buses.
|
|
|
|
This makes the system a bit harder to corner when paging to SD/MMC.
In addition, limit the maximum DMA segment size to MAXPHYS.
|
|
ok stsp@
|