| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
does not block the signal. If all threads block the signal, we
delivered it to the main thread. This does not conform to POSIX.
If any thread unblocks the signal, it should be delivered immediately
to this thread.
Mark such signals pending at the process instead of a single thread.
Then any thread can handle it later.
OK kettenis@ guenther@
|
|
|
|
|
|
|
| |
This allows to set such flag after completing the initialization of a
bridge and still have bstp_tick() be scheduled from the begining.
Fix a regression reported by and ok markus@
|
|
|
|
|
|
|
|
| |
Since `bif' are removed from the interface list before calling smr_barrier()
and the hash queue is cleaned up afterward, it is possible to find an ifidx
with bridge_rtlookup() that won't match to any `bif'.
Fix a panic reported by Hrvoje Popovski, ok visa@
|
|
|
|
|
| |
and incorrectly return EBADF when n>curlim.
ok millert guenther tedu
|
| |
|
|
|
|
|
|
|
|
|
| |
Emulate kvm pvclock in vmm(4). Compatible with pvclock(4) in OpenBSD. Linux
does not attach to this (yet).
Fixes by reyk@ and tested extensively by reyk@, tb@ and phessler@
ok mlarkin@ phessler@ reyk@
|
| |
|
|
|
|
|
|
|
| |
commit to unbreak the build.
from kettenis@
ok drahn@
|
|
|
|
|
|
| |
cpu_idle_cycle()
ok mpi@ kettenis@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a first cut of x86 page table walker to vmd(8) and vmm(4). This function is
not used right now but is a building block for future features like HPET, OUTSB
and INSB emulation, nested virtualisation support, etc.
With help from Mike Larkin
ok mlarkin@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the KERNEL_LOCK() around the list iteration in bridge_enqueue().
Since the NET_LOCK() isn't protecting any data structure, release it early
in all the code paths coming from the Network Stack to prevent possible
deadlock situations with smr_barrier().
bridge_input() is still KERNEL_LOCK()ed as well as bridge_filterrule().
ok visa@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in ieee80211com's ic_flags because we haven't been paying attention to
them (they're not in the same place in the code and hence easy to miss).
Move them to a dedicated variable to avoid this problem in the future.
Add a new 'stayauth' nwflag which can be set to let net80211 ignore
deauth frames. This can be useful when deauth frames are being
persistently spoofed by an attacker. Idea from beck@
ok beck@ phessler@
|
|
|
|
| |
OK mpi@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration done by TF-A between boards we have to shift the priorities
that we use for both the architected ICC_PMR_EL1 register and the
memory mapped priority registers on the GIC in different ways. Make this
explicit in the code and try to handle all the cases we care about.
This includes QEMU and RK3399 boards that still use the TF-A version
provided by Rockchip.
Seems to make the rockpro64 run stable with a GENERIC kernel.
ok drahn@, patrick@
|
| |
|
|
|
|
| |
Introduced in zlib-1.2.5.2, used by a few ports. ok deraadt@
|
|
|
|
|
|
|
| |
using them. Fixes machines with ancient ACPI 1.0 (such as recent
hypervisors).
ok deraadt@
|
|
|
|
| |
ok tedu@, guenther@, ians@
|
|
|
|
|
|
| |
representation from the FADT. Mostly fixes the Lanner NCA-1510.
ok lteo@, mlarkin@, deraadt@
|
|
|
|
|
|
| |
Fix a regression introduced by the bridge(4) refactoring.
Found by and ok bluhm@
|
|
|
|
| |
ok mpi@
|
| |
|
| |
|
| |
|
|
|
|
|
| |
statement at the end of a void function. All inside #if 0, so
no effect on generated code.
|
|
|
|
|
|
|
|
| |
knob, since we found a proram which tests RWX mapping then changes execution
behaviour to non-W^X.
(that program is chrome, as v8 is heading towards W^X compliance with
mprotect RW/RX swaps, and also has jitless components in developent.)
ok sthen kettenis robert
|
|
|
|
|
|
|
|
| |
encountered a wxneeded binary that attempts correct operation when started
on a nowxallowed filesystem (it tries mprotect with RWX, notices ENOTSUP
and acts in a different way). So permit execution (but of course don't
allow W^X violating mappings)
ok sthen kettenis robert
|
|
|
|
|
|
| |
Removes some code and files not needed by efi32 and efi64.
ok guenther
|
|
|
|
|
|
|
|
|
| |
changes. While we do get RTM_IFINFO messages for the (physical) member
interfaces there is no indication that something changed from the
trunk(4) interface.
It is helpful to get this information in userland from the trunk so that
userland daemons do not need to track interface membership by themselves.
OK phessler
|
|
|
|
| |
OK visa@, OK mpi@
|
|
|
|
| |
ok claudio@ deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the RTF_MPLS can't be toggled without rt_mpls_set() being called. While
RTF_MPLS is part of RTF_FMASK it should be excluded from the flags and mask
when they are applied to the route since toggling it requires a call to
rt_mpls_set().
OK bluhm@
Reported-by: syzbot+86344a9e31c27aa6f15b@syzkaller.appspotmail.com
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
|
| |
GPIO driver. This allows us to use the fusbtc(4) interrupt
on the RockPro64.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A Type-C controller has multiple tasks. Even though the orientation
of the plug doesn't matter for the user, it matters for the hardware.
To be able to know how to route the SuperSpeed pins you need to know
which way the plug is connected. Also you need to know if you're a
sink/source or device/host. To get the first connection, you toggle
between the modes until you find a connection. In case you see that
a sink is connected, you can turn on USB Vbus to power the sink.
This driver explicitly does not implement USB's Type-C state machine,
but if we get more and more of these controllers it might be worth
doing. Also there's no support for Power Delivery messages yet.
ok kettenis@
|
| |
|
| |
|
|
|
|
| |
OK deraadt@
|
|
|
|
|
|
|
|
| |
locks.
ok jturner@ visa@
Reported-by: syzbot+f9f13034fd656af6c48f@syzkaller.appspotmail.com
|
|
|
|
| |
ok kettenis
|
|
|
|
|
|
|
|
| |
Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow
us to remove lots of #ifdef code. Needed to ease the development effort
for random-VA linked kernels
ok tedu, deraadt
|
|
|
|
|
|
|
|
| |
Make 2 separate efiboots, one for 32 bit and one for 64 bit to allow
us to remove lots of #ifdef code. Needed to ease the development effort
for random-VA linked kernels
ok tedu, deraadt
|
|
|
|
|
|
|
|
| |
Separate out files used by both BIOS and EFI boot modes. These files
had many #ifdef EFIBOOT code paths that make it difficult to move forward
with changes needed to support random base VA linked kernels.
ok deraadt@
|
|
|
|
|
|
|
|
| |
There were some exits for instructions that were unhandled and caused the guest
to terminate if it tried to execute them. We now inject a #ud for those. Also
intercept and #ud RDTSCP and INVLPGA instructions.
ok mlarkin@
|
|
|
|
| |
OK kettenis@ deraadt@
|