Age | Commit message (Collapse) | Author |
|
within the correct #ifdef of course.
ok kettenis
|
|
adjustment is effectively a dead store
ok kettenis
|
|
floating-point control modes are properly restored by longjmp(3).
ok guenther@
|
|
need to do it
ok kettenis
|
|
Found by csszep <csszep (at) gmail (dot) com>
ok patrick@
|
|
floating-point control modes are properly restored by longjmp(3).
ok guenther@
|
|
In x509.h r1.70 (2018/08/24) I turned some macros into actual functions
to follow what OpenSSL is doing since 1.1.0. The documentation still
claims that they are implemented as macros. Update a doc sync commit
hash while there.
|
|
suggested by <adr at sdf dot org>, tweaked by me
|
|
syscall. So whenever we pass a bad address we get a SIGSEGV instead of
EFAULT. POSIX explicitly allows this behaviour. So adjust the test
to deal with this case.
ok deraadt@, millert@, guenther@
|
|
file as part of tcpdump(8). Unbreaks the tree.
ok deraadt@
|
|
copyoutstr(9) should bail out properly if they are called with
a length of 0.
ok visa
|
|
OK mpi
|
|
|
|
Used a different variable to not shadow `entry' allocated before grabbing
the lock.
|
|
by socket(2). They also receive all ICMP packets on the system, for
example from parallel running ping(8)s.
After creating the raw socket ping(8) sets various socket options with
setsockopt(2) and assumes that they apply to all packets it later
processes.
For example ping6(8) uses setsockopt(IPV6_RECVHOPLIMIT) to print the
IPv6 hop count. Packets received between the socket(2) and
setsockopt(2) call however do not have the hoplimit information and
ping6(8) prints a wrong and missleading warning.
To avoid this we have to drain our socket of packets we received
before we were fully setup.
Problem reported and testing by martijn
Input deraadt
OK benno
|
|
sysupgrade(8) calls fw_update(1) without specifying a path, so
running on pre-6.8 snapshot and upgrading to 6.8 release with "-r"
will update firmware packages to snapshots.
Spotted by sthen
OK sthen
"looks good" deraadt
|
|
ATF (Automated Testing Framework), so we use a small wrapper to map
it to our bsd.regress.mk framework. Only half of the 80 NetBSD
tests have been taken, the others need more work to adapt. Of them
34 syscall tests pass.
Moritz Buhl ported the tests to OpenBSD.
|
|
While here put some KERNEL_ASSERT_LOCKED() in the functions called from
the page fault handler. The removal of locking of `uobj' will need to be
revisited and these are good indicator that something is missing and that
many comments are lying.
ok kettenis
|
|
The name, uvm_fault_check() and logic comes from NetBSD as reuducing diff
with their tree is useful to learn from their experience and backport fixes.
No functional change intended.
ok kettenis@
|
|
outside of NET_LOCK()/PF_LOCK() scope in easy spots.
OK kn@
|
|
need to use or set error anymore.
OK deraadt@
|
|
warning on non __KAME__ systems.
OK deraadt@
|
|
|
|
|
|
cdefs.h may not exist on some systems and the portable framework uses
sys/types.h to define __dead.
OK deraadt@
|
|
copyoutstr(9) should bail out properly if they are called with a
length of 0.
ok kettenis@
|
|
reduces the diff to linux 5.7.y
ok kettenis@
|
|
properly if they are called with a length of 0.
Found by our regression tests
Debugged with deraadt@
ok kettenis@
|
|
With this change, daily(8) only sends email when something looks
dubious.
Consequently VERBOSESTATUS is now a no-op and may be unset.
The code is trivial and riddled with choices that look like personal
preferences. The old behavior can be achieved through
/etc/daily.local.
With schwarze@, tweak kn@, sthen@
OK schwarze@, kn@, jung@
|
|
|
|
Both functions take a non-const parameter. Implementations may modify
the passed string, even though ours do not.
ok stsp@ deraadt@ millert@
|
|
Normally we set hz(9) at compile-time in sys/conf/param.c to the value
of HZ. HZ is one of the fundamental compilation options(4). However,
sometimes we need to reset hz(9) at runtime.
Whenever we reset hz(9) we need to recompute tick and tick_nsec.
Otherwise a variety of "time stuff" in the kernel will not work
correctly. For example, most timeouts will expire "too slow" or "too
fast". There are a bunch of other places we use tick and tick_nsec
that will exhibit similar problems.
Test-compiled by deraadt@.
|
|
OK deraadt@
|
|
OK deraadt@
|
|
ok deraadt@
|
|
ok kettenis@
|
|
Without this boot time tests from setting amdgpu_testing = 1 fail.
For example on Vega 56:
drm: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
...
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xa00000
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0xb00000
...
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1fe00000
[drm] Tested GTT->VRAM and VRAM->GTT copy for GTT offset 0x1ff00000
[drm] *ERROR* 0xffff80000135f858 bind failed
Error while testing BO move
ok kettenis@
|
|
ok deraadt@
|
|
|
|
disassembler. The particular immediate16 format appears to be unique to
this instruction.
ok kettenis@ deraadt@
|
|
may modify the string buffer.
ok florian@ millert@
|
|
may in fact modify the string buffer.
truncation check requested and ok florian@
|
|
on POWER8 machines with older versions of OPAL.
|
|
into trapsignal()
discussed with kettenis
|
|
This is a similar translation as i386, and matches the idea that SIGBUS
signals refer to problems with the underlying object rather than the
mapping.
ok kettenis
|
|
OK deraddt@
|
|
ok patrick@, mpi@
|
|
("permanently undefined")
ok deraadt@ kettenis@
|
|
ok markus@
|
|
rev 1.9 of lex.c broke the parser by deleting an outer "if" block
when only the inner was supposed to go.
OK tb
|