Age | Commit message (Collapse) | Author |
|
handler registration. The code is inherited from isa(4), but on the O2,
although some interrupt sources on CRIME are edge-triggered, all
the MACE interrupts are level-triggered.
From miod@
|
|
the inpcb apart from the disconnect. Just call soisdisconnected() and
clear the inp->inp_faddr since the socket is still valid after a disconnect.
Problem found by syzkaller via Greg Steuck
OK visa@
Fixes:
Reported-by: syzbot+2cd350dfe5c96f6469f2@syzkaller.appspotmail.com
Reported-by: syzbot+139ac2d7d3d60162334b@syzkaller.appspotmail.com
Reported-by: syzbot+02168317bd0156c13b69@syzkaller.appspotmail.com
Reported-by: syzbot+de8d2459ecf4cdc576a1@syzkaller.appspotmail.com
|
|
include sys/types.h first.
ok guenther@ deraadt@
|
|
which was broken by the previous commit.
ok jsg@, mpi@
|
|
sizes.
OK patrick@
|
|
Together with the already imported Spleen 5x8, it will allow using the
same font family across a wide range of screen resolutions, from small
OLED displays to 4K monitors.
The fonts are 2-Clause BSD licensed and are my original creation.
OK jcs@, brynet@, bcallah@, kettenis@
|
|
|
|
Add nVidia Quadro M1200
from Peter Ezetta, thanks.
|
|
OK bluhm@
|
|
the function is doing the same initialisation as arprequest().
OK bluhm@
|
|
OK bluhm@
|
|
OK bluhm@
|
|
OK bluhm@
|
|
this is a step toward better rfc6040 support
ok claudio@
|
|
ok claudio@
|
|
ok claudio@
|
|
- Use m_align() since it handles all cases
- Use same rounding logic in the size check as in m_align() so all data will
filt always.
- consolidate pkthdr initalisation into one place
- use m_prepend() instead of direct pointer manipulation (including the panic
in case an underflow happens).
OK bluhm@
|
|
tvtohz(9) adds an extra tick to account for the present tick, but this
tick needs to be removed when the timeout is reloaded thereafter. We
already do this for periodic setitimer(2) timeouts.
Prompted by Paul Herman's writeup on clock aliasing for DragonflyBSD:
https://frenchfries.net/paul/dfly/nanosleep.html
Also fixed in FreeBSD r238424.
Style tweaks from visa.
ok visa@, guenther@
|
|
ok anton@, visa@
|
|
Tested by stsp@
|
|
|
|
|
|
|
|
ifconfig if joinlist
OK stsp@
|
|
tested by brynet@
OK reyk@
|
|
the network mask. This saves converting the prefixlen to a mask and back.
OK phessler@, benno@
|
|
This improves timekeeping on KVM guests as it runs much better than
the virtualized acpihpet or acpitimer timecounters and the invtsc is
not always available.
Many thanks to Janne Johansson, landry@, and benno@ for testing amd64/i386.
OK mlarkin@ phessler@
|
|
Both assignements are in our tree since the driver got imported from
FreeBSD in 2001 and remained untouched since import.
The second assignment in its current form got introduced in FreeBSD in
1997 with r29233 [1], when syncinc the driver. The first assignment got
removed in 2017 with r314147 [2].
[1]: https://svnweb.freebsd.org/base?view=revision&revision=29233
[2]: https://svnweb.freebsd.org/base?view=revision&revision=314147
Coverity CID 1453008.
OK deraadt@
|
|
underflow in a later calcuation. Using the same CMSG_LEN(0) check
that other cmsghdr handlers implemented.
Probelm found by anton@
OK anton@, deraadt@, visa@
|
|
SCM_RIGHTS from being sent to the userland since they hold kernel internal
data and it does not make sense to externalize it.
OK deraadt@, guenther@, visa@
|
|
ok mikeb@, visa@
|
|
|
|
ok visa@
|
|
translates such requests into TIOCSPGRP.
ok visa@
|
|
Reported by anton@ and Natasha Kerensikova
|
|
that the mask is contiguous and not longer then the prefixlen is not
bigger then the maximum. Make the function behave a bit more like the
similar netmask handling code in the old patricia codebase.
Fixes a problem reyk@ reported regarding IPv6 masks and the fact that
sin6_scope_id is after sin6_addr.
OK mpi@
|
|
dropped as the sequence number matches the initial value of the
cached last sequence number (zero). On some APs (notably Android
WIFI hotspots) this hits the first packet of the WPA2 4-way
handshake. This causes connection delays and in some cases
connection to the AP fails completely. Initialize the cached last
sequence numbers for received packets to an invalid value instead.
From Christian Ehrhardt
ok gerhard@ stsp@
|
|
|
|
of the process who opens the device the default recipient of sigio is removed as
a side-effect of this change. Issuing ioctl(FIOSETOWN) is therefore mandatory in
order to receive sigio, which is more consistent with other subsystems
supporting sigio.
This change is all made possible by the new sigio(9) API and prevents wscons
from keeping a pointer to the recipient process. Usage of such pointer could
cause a panic since wscons is not inform on process deallocation, leaving a
dangling pointer behind.
ok mpi@ visa@
|
|
|
|
OK mpi@
|
|
It was used by the original patricia tree.
OK mpi@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-1/0xffffffff, so we don't run off the end of the register area and crash.
The controller doesn't initialise, but this is still an improvement.
Seen on Dell R6415s when booting in BIOS mode, and possibly on some
Supermicro systems.
ok mpi@
|