Age | Commit message (Collapse) | Author |
|
Tested on Xilinx Zynq-7000.
Input and OK kettenis@
|
|
ok deraadt@ mlarkin@
|
|
|
|
Goldfish Android virtual hardware platform. Used for the RTC on
qemu-system-riscv64 -M virt.
feedback and ok kettenis@
|
|
|
|
arp_rtrequest() in parallel. Move initialization to arpinit()
function.
OK kettenis@ mvs@
|
|
in the arp queue. So the sysctl net.inet.ip.arpqueued must be read
only. In if_ether.c include the header with the declaration of
la_hold_total to ensure that the definition matches.
OK mvs@
|
|
"drop extended_master_secret in renegotiation" since we don't
support this extension.
|
|
|
|
ok deraadt@
|
|
|
|
|
|
makes reboot and poweroff work with qemu
ok kettenis@
|
|
bindings in mainline Linux. Necessary to support the QEMY RISCV target.
ok jsg@
|
|
ok mlarkin@
|
|
when building kern_sig.c
ok mlarkin@
|
|
ok kettenis@
|
|
configured. This will result in a "value is not available" error
from sysctl when trying to enable dt on a kernel without support.
The variable allowdt should be in the device, not in sysctl source.
We don't need #ifdef for extern and prototypes.
OK mpi@
|
|
events, so it can't be allocated when the interface is brought up and
freed when it's taken down.
ok dlg@
|
|
|
|
of each of them, and prepare for having multiple completion rings.
ok dlg@
|
|
matches other archs, fixes -Werror failues,
ok jsg@
|
|
ok drahn@
|
|
without this, something using a kevent to monitor a bpf fd on an
idle interface never has the event fire, which means it never
realises the interface goes away. with this, the read event goes
off and the next read fails with EIO, like pretty much every other
driver when the underlying device is removed.
ok claudio@ visa@ jmatthew@
|
|
when a divert socket gets a packet from userland to send back through
the kernel, it marks it as diverted so pf knows not to divert it
back to userland again. this marking stuck to the packet though,
so if it went through pf again (eg, on the way out of the network
stack) pf would skip it again. this is undesirable if you want pf
to do things to the packet on this outgoing hope, such as nat.
this has pf clear the mark once it's been used, which allows the
next run of a packet through pf to have stuff work on it.
found by some people at parta networks.
ok sashan@ lteo@ bluhm@
bluhm@ also suggested keeping my diff in the same style as the rest of pf.c
|
|
one. Some of this would have got in the way of setting up multiple tx/rx
rings.
ok dlg@
|
|
This work is based on the effort:
https://www.openbsd.org/papers/Porting_OpenBSD_to_RISCV_FinalReport.pdf
"Porting OpenBSD to RISC-V ISA"
by
Brian Bamsch <bbamsch@google.com>
Wenyan He <wenyan.he@sjsu.edu>
Mars Li <mengshi.li.mars@gmail.com>
Shivam Waghela <shivamwaghela@gmail.com>
With additional work by Dale Rahn <drahn@openbsd.org>
|
|
board's compatible string, when printing an error about not being able
to load the firmware. Since most NVRAM files are board- or package-
specific, having the compatible makes it easier for us to find the
correct files, so that we can add them to the bwfm-firmware port.
ok kurt@
|
|
replace-regexp. Unfortunately query-replace-regexp can't be used in a
startup file.
|
|
Add protections against guests with bad virtio-{blk,net,scsi}
drivers, specifically avoiding invalid descriptor chains and
invalid vionet packet sizes. This helps prevent possible lockup
of the host vm process due to a spinning device event loop thread.
Also fix an unneeded cast in the vioblk handling in case of invalid
buffer lengths.
OK mlarkin@
|
|
RFC 4.1.2 specifies the ways in which the extensions in the first and
the second ClientHello may differ. It basically says that extensions
not known to a server must not change. This in turn makes it impossible
to introduce new extensions that do change. It makes little sense to
enforce that extensions we don't know and care about aren't modified,
so make the hashing more lenient and restrict it to the extensions we
do care about. Arguably, enforcing no change in an unknown extension
is incompatible with the requirement that it be ignored.
ok bcook jsing
|
|
When an existing EVFILT_TIMER filter is re-added, cancel the existing
timer and any pending event, and restart the timer using the new timeout
period. This makes the new timeout period take effect immediately and
matches the behaviour of FreeBSD. Previously, the new setting was
applied only after the existing timer expired.
The timer rescheduling is done by using an f_modify callback. The
reading of timer events is moved from f_event to f_process. f_event of
timer_filtops becomes redundant. Unlike most other event sources, timers
activate knotes directly without using a klist and knote(9).
OK mpi@
|
|
it show up with the proper category in hotplug scripts.
From Tilo Stritzky
ok groth@ sthen@
|
|
ok patrick@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This might be added back in a future if copying events to userland becomes
a performance issue. However note that it is not always possible to filter
in-kernel if, for example. a variable has to be evaluated when a rule fires.
|
|
via point2oct and oct2point and that checks the corner case in hybrid
encoding that was fixed in ec2_oct.c r1.13.
|
|
Currently cert_req is used by clients and cert_request is used by servers.
Replace this by a single cert_request used by either client or server.
Remove the certificate types as they are currently unused. This also fixes
a bug whereby if the number of certificate types exceeds SSL3_CT_NUMBER
the number of bytes read in is insufficient, which will break decoding.
ok inoguchi@ tb@
|
|
Because dhcpsz was an uninitialized ssize_t, it was possible that a
garbage "packet" would be queued on the receiving end of the virtio
network device.
Change the type to size_t and add proper checks based on it being
greater than zero. Remove the cast of ssize_t to uint64_t that also
caused garbage sizes when dhcpsz was unintialized and set at runtime
to something < 0.
|
|
ok patrick@
|
|
|
|
|
|
Stop using in-kernel filtering for the moment except for not tracing the
tracer.
Keep track of the number of filtered events.
|
|
|
|
|