Age | Commit message (Collapse) | Author |
|
an uhidev(4) on OpenBSD and there is not point in rerolling your own
reportID handling. Simply use uhidev_*_report().
This is a first step towards better error handling required to deal
with broken upd(4) firmwares.
Tested by David Higgs.
|
|
|
|
save / replay modes of operation that have not yet been cleaned up).
OK, I've let the cat out of the bag, now some of you know you can cheat
at them..
ok millert guenther tedu
|
|
|
|
subsystem out of strong random mode. No effective change from what we've
been doing for a while. Result is it becomes 1 line of code.
ok millert
|
|
standards-mandated "seed" method is used, simply call
srand_deterministic() and the subsystem switches out of strong
random mode into C89 crap mode.
ok millert
|
|
13.2.3, and let the stack set the status to USBD_SHORT_XFER if
appropriate.
From David Higgs.
|
|
to returning strong random by default, source from arc4random(3).
Parameters to the seeding functions are ignored, and the subsystems remain
in strong random mode. If you wish the standardized deterministic mode,
call srand_deterministic(), srandom_determistic(), srand48_deterministic(),
seed48_deterministic() or lcong48_deterministic() instead.
The re-entrant functions rand_r(), erand48(), nrand48(), jrand48() are
unaffected by this change and remain in deterministic mode (for now).
Verified as a good roadmap forward by auditing 8800 pieces of software.
Roughly 60 pieces of software will need adaptation to request the
deterministic mode.
Violates POSIX and C89, which violate best practice in this century.
ok guenther tedu millert
|
|
|
|
While at it, use formatters for fds, counts, ids of all types, and "small
buffer sizes" that always show them in decimal, while paths, pointers, and
"big buffer sizes" get formatters that always show them in hex. The -d
option only affects args when the -n option is used or for unknown syscalls,
as well as syscall return values, and unrecognized ioctls.
ok otto@ millert@
|
|
OK sthen@
Unfortunately you only get the dedication to support the infrastructure
of the universally connected self-organizing Internet - and the
autonomy of its participants iff you are a paying customer with a
support contract.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from enh at google
|
|
add siphash
delete setkey, encrypt, cfree
|
|
|
|
|
|
ok deraadt naddy
|
|
From Bertrand Janin (b at janin dot com), thanks!
OK reyk@
|
|
|
|
These are the direct sources from NLnet Labs upstream, minus these:
compat contrib libunbound/python pythonmod testcode testdata winrc
ok deraadt@ jakob@
|
|
them and the vast majority of the rest of the drivers do not do this.
ok mikeb@
|
|
|
|
|
|
dequeue pointer past the last enqueued TRB and let xhci_xfer_done()
properly accounts free TRBs.
|
|
interrupts of PC-9801 extension board slot bus (so-called 'C-bus') on
LUNA-88K2.
Existing pcex(4) is now attached at cbus(4), i.e.
cbus0 at mainbus0
pcex0 at cbus0
With this driver, some other PC-9801 boards might be supported on luna88k
in the (near?) future:-)
ok miod@
|
|
ok florian@
|
|
|
|
as is the case for a lot of the other drivers. Remove some redundant
calls to foo_stop() and foo_reset() before foo_init().
Tested with DP83815, 3c905C, 8139 and ST201.
Mostly from FreeBSD.
|
|
ok millert@, bluhm@
|
|
used by enc(4) devices to attach their routes.
ok sthen@, mikeb@
|
|
to decide whether or not to remove local routes.
Prevent from having a NULL ifp pointer in the routing table when an
address present in another rdomain is removed from an interface.
ok bluhm@
|
|
spotted by deraadt@, ok eric@
|
|
moves a copy of this to the RW tramp data page during bootup.
ok deraadt@
|
|
.rodata (kernel copies to the RW page), protect the code page with RX
permissions, protect the code page with RW permissions.
ok deraadt@
|
|
ok deraadt@ tobias@
|
|
Casting a pointer to an unsigned long discards bits on an LLP64 system.
ok deraadt@
|
|
Some 64-bit platforms (e.g. Windows 64) have a 32-bit long. So, shifting
1UL 32-bits to the left causes an overflow. This replaces the constant 1UL with
(size_t)1 so that we get the correct constant size for the platform.
discussed with tedu@ & deraadt@
|
|
Found with the afl fuzzer.
|
|
|
|
link comes up and nothing has yet been displayed.
|
|
but even after repeated enquiries on misc@, nobody can explain why,
so tedu the two confusing words; ok tedu@.
|
|
|
|
has expired. In S_REBOOT state_reboot() assumes link is present and
starts sending REQUEST/DISCOVER packets and doing the backoff dance
after retry_interval expires. Stay in S_PREBOOT until link appears.
Pointed out by and initial diff from Nathanael Rensen.
|