Ignore whitespace-only or whitespace-then-comment lines from -f sysctl.conf
" " or " # comment" would be parsed as variable name rather than skipped.
Found and fixed by "Alf" on bugs@, thanks.
New regress/sbin/sysctl spc and spc-com targets now pass with this.
"looks good" deraadt
Bail out if the node's status is "reserved". This is the case on Qualcomm's
SC8280XP, where typically the IOMMU is managed by QHEE and we can't touch it
unless we trick the system into making us EL2.
In some cases the RDE ends up with many RIB dump runners active and so
the rib_dump_runner() code consumes a lot of time to churn through all
of those calls.
Try to limit the time spend in rib_dump_runner() to roughly 10ms and
then stop and restart from that point on the next poll loop round.
This ensures that the poll loop is not blocked for too long and
improves the overall responsiveness of bgpd.
OK tb@
Add rkusbdpphy(4), a driver for the USB DP Combo PHY on Rockchip SoCs.
The USB DP Combo PHY is used to mux the USB 3.0 and DisplayPort lanes.
In some boards there's e.g. no USB 3.0, in others no DP, and in others
a mix of both.
This driver so far only supports enabling USB 3.0, which helps bring up
the "blue" USB-A port on my RK3588 NanoPi R6S.
ok kettenis@
Use adjout_prefix_size for the amount of memory used by adj-rib-out
prefixes. Split printf since fmt_mem() uses a static char buffer to
hold the result.
OK tb@
Rename acpihid(4) into inthid(4). This driver is really an Intel thing
and I'd like to re-use acpihid(4) for a new driver that supports the
generic button device that is defined by recent versions of the ACPI
standard.
ok jcs@, mlarkin@
pull some of the dhcpv6 options apart and print them for humans.
i was hoping someone else would have a go at this, but obviously
no one felt the need over the last 6 years.
Add compatibility check to EC_POINT_mul()
This is the only public API that doesn't check for compatibility between
group and point. Add the missing check.
ok jsing kenjiro
Replace group->meth != point->meth checks
The method will currently always be identical since all groups use the
EC_GFp_mont_method(). Use the ec_group_and_point_compatible() check to
ensure this and if both group and point have a nid set, check that they
are identical.
ok jsing kenjiro