| Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
to UDP loghost fails. Otherwise syslogd(8) would no longer send
to this destination after the error occured once.
tested by Rivo Nurges; OK millert@ benno@ deraadt@
|
|
ok deraadt@
|
|
ok patrick@, deraadt@
|
|
|
|
of "phy".
ok patrick@, deraadt@
|
|
to resolve some additional crashes found by afl.
ok mpi@ 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
|
|
|
|
|
|
During subsequent Perl updates, all the documentation changes etc.
got carried along, but the actual code change was deleted
in Rev. 1.3 and never restored. Restore it now.
Bug found by bentley@; OK afresh1@ bentley@.
|
|
symtab and sections. Corrects behaviour that led to crashes found
via afl.
ok mpi@
|
|
fixes parsing of the example configuration
OK benno@
|
|
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@
|
|
Based on a diff from jsg@.
Found independently by jsg@ with afl and markj@FreeBSD with a port.
|
|
default DTB.
|
|
vendor of the SoC.
|
|
set to a non-zero value in dhclient.conf(5).
Fixes the bsd.rd upgrade issue reported by
Eivinde Eide via misc@.
|
|
This is mostly needed by syspatch at the moment to be
to be able to re-link in the same order as the original
libraries were linked with by relying on the readelf(1)
and without this .(s|S) assembly files were not getting
a file directive.
A bug reports has been filed as well:
https://bugs.llvm.org/show_bug.cgi?id=34019
ok deraadt@
|
|
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@
|
|
using a variable which started at 0 and hence got planted in .bss.
Refactor that variable to begin at the maximum and decrease, such that it
lands in .data instead.
ok jsg
|
|
to receive sendsyslog(2) messages.
discussed with martijn@; OK jmc@ deraadt@
|
|
Sync with readdwarf(1).
|
|
diff from lars nooden
tweaked by sthen; ok djm dtucker
|
|
|
|
|
|
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
|
|
OK mikeb@
|
|
|
|
the file. Avoids a crash found with afl.
ok mpi@
|
|
From Mark Johnston, markj@FreeBSD
|
|
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@
|
|
-1 because vflork() failed is bad. Initialize pid to -1 and call
waitpid() only when pid != -1.
Uninitialized use of pid found by clang.
Suggestion of -1 from millert@.
ok millert@
|
|
|
|
default protocols instead of crashing - this makes the behaviour more
useful and mirrors what we already do in tls_config_set_ciphers() et al.
|
|
|
|
- When parsing the OCSP extension we can have multiple responder IDs - pull
these out correctly.
- Stop using CBS_stow() - it's unnecessary since we just need access to the
data and length (which we can get via CBS_data() and CBS_len()).
- Use a temporary pointer when calling d2i_*() functions, since it will
increment the pointer by the number of bytes it consumed when decoding.
The original code incorrectly passes the pointer allocated via CBS_stow()
(using malloc()) to a d2i_*() function and then calls free() on the now
incremented pointer, most likely resulting in a crash. This issue was
reported by Robert Swiecki who found the issue using honggfuzz.
ok beck@
|
|
after we finish building the responder ID list. Otherwise adding to the
responder ID list fails.
ok beck@
|
|
use of uninitialized variables after calls to
FATAL().
ok millert@ guenther@
|