Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-20 | Align the basename(3) and dirname(3) prototypes with the POSIX spec: | Christian Weisgerber | |
Both functions take a non-const parameter. Implementations may modify the passed string, even though ours do not. ok stsp@ deraadt@ millert@ | |||
2020-10-20 | alpha, loongson, sh, sparc64: recompute tick, tick_nsec when hz(9) is reset | cheloha | |
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@. | |||
2020-10-20 | Use a trap instruction that unconditionally terminates the process. | Visa Hankala | |
OK deraadt@ | |||
2020-10-20 | Add handling for a trap instruction that terminates the process. | Visa Hankala | |
OK deraadt@ | |||
2020-10-20 | Add arm64 support. | Mark Kettenis | |
ok deraadt@ | |||
2020-10-20 | Remove guard, uao_init() is called only once and no other function use one. | Martin Pieuchot | |
ok kettenis@ | |||
2020-10-20 | use drm_mm from linux 5.7.y | Jonathan Gray | |
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@ | |||
2020-10-19 | Retguard sigsetjmp on powerpc64. | mortimer | |
ok deraadt@ | |||
2020-10-19 | Adapt XMSS to new logging infrastructure. With markus@, ok djm@. | Darren Tucker | |
2020-10-19 | Decode the UDF ("permanently undefined") instruction in ddb(4)'s arm64 | Christian Weisgerber | |
disassembler. The particular immediate16 format appears to be unique to this instruction. ok kettenis@ deraadt@ | |||
2020-10-19 | Accommodate POSIX basename(3) that takes a non-const parameter and | Christian Weisgerber | |
may modify the string buffer. ok florian@ millert@ | |||
2020-10-19 | Accommodate POSIX basename(3) that takes a non-const parameter and | Christian Weisgerber | |
may in fact modify the string buffer. truncation check requested and ok florian@ | |||
2020-10-19 | Only use OPAL_CONSOLE_FLUSH if the firmware implements it. Should help | Mark Kettenis | |
on POWER8 machines with older versions of OPAL. | |||
2020-10-19 | the userland pagefault handler can drop the kernel lock before going | Theo de Raadt | |
into trapsignal() discussed with kettenis | |||
2020-10-19 | deliver SIGSEGV rather than SIGBUS for T_PROTFLT,T_SEGNPFLT,T_STKFLT. | Theo de Raadt | |
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 | |||
2020-10-19 | Add explicit casts to double to quiet a clang warning. | Todd C. Miller | |
OK deraddt@ | |||
2020-10-19 | Clear vmspace pointer in struct process before calling uvmspace_free(9). | Mark Kettenis | |
ok patrick@, mpi@ | |||
2020-10-19 | replace ad-hoc illegal instruction with the architecturally defined one | Christian Weisgerber | |
("permanently undefined") ok deraadt@ kettenis@ | |||
2020-10-19 | Handle NO_PROPOSAL_CHOSEN as IKE_AUTH initiator. | tobhe | |
ok markus@ | |||
2020-10-19 | Do not "fall through" to the last "else" when we parsed the character. | Florian Obser | |
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 | |||
2020-10-19 | add retguard prologue/epilogue | Theo de Raadt | |
ok mortimer | |||
2020-10-19 | Disable FP exception masking tests on armv7 and arm64. ARM hardware doesn't | Mark Kettenis | |
implement this feature. | |||
2020-10-19 | Skip floating-point exception checks on arm64 and armv7 as the hardware | Mark Kettenis | |
(typically) doesn't implement support for these. ok patrick@, drahn@ | |||
2020-10-19 | Save and restore the FPCR register such that floating-point control modes | Mark Kettenis | |
are properly restored by longjmp(3). | |||
2020-10-19 | Set %r0 to EFAULT instead of the return value from uvm_fault() when it | Mark Kettenis | |
fails and we're doing a copyin/copyout. Fixes a buf where systems calls would return EACCESS instead of EFAULT when accessing userland memory that can't be accessed. ok patrick@ | |||
2020-10-19 | Serialize accesses to "struct vmspace" and document its refcounting. | Martin Pieuchot | |
The underlying vm_space lock is used as a substitute to the KERNEL_LOCK() in uvm_grow() to make sure `vm_ssize' is not corrupted. ok anton@, kettenis@ | |||
2020-10-19 | fix SEGV on fatal() errors spotted by dtucker@ | Damien Miller | |
2020-10-19 | On powerpc64, restore %r2 when needed while unwinding. | Mark Kettenis | |
Makes exception handling work on powerpc64. ok patrick@ | |||
2020-10-19 | Client could be NULL in select-window (for example in .tmux.conf), do | Nicholas Marriott | |
not set latest session if so. GitHub issue 2429 from Han Boetes. | |||
2020-10-18 | The maxoperand test is currently expected to fail. | Patrick Wildt | |
ok mpi@ | |||
2020-10-18 | Accommodate POSIX basename(3) that takes a non-const parameter and | Christian Weisgerber | |
may modify the string buffer. improved and ok jca@ | |||
2020-10-18 | Add powerpc64 retguard macros for setjmp / longjmp. | mortimer | |
ok deraadt@ | |||
2020-10-18 | XFAIL tests on arm64 and armv7 as floating-point exception support is | Mark Kettenis | |
optional and isn't implemented on most hardware. | |||
2020-10-18 | Implement pmap_proc_iflush(). | Mark Kettenis | |
2020-10-18 | Handle trace interrupts from userland. | Mark Kettenis | |
2020-10-18 | SYS___threxit cannot fail, but this integration looks like a gadget. | Theo de Raadt | |
Put a hard-trap instruction after the syscall instruction. ok kettenis mortimer | |||
2020-10-18 | Fix typo. Spotted by patrick@ | Mark Kettenis | |
2020-10-18 | Remove leftover debugging output for EXC_PGM traps. | Mark Kettenis | |
2020-10-18 | Add code to print CPU features. | Mark Kettenis | |
ok naddy@ | |||
2020-10-18 | use the new variant log macros instead of prepending __func__ and | Damien Miller | |
appending ssh_err(r) manually; ok markus@ | |||
2020-10-18 | variants of the log methods that append a ssherr.h string from | Damien Miller | |
a supplied error code; ok markus@ | |||
2020-10-18 | remove a level of macro indirection; ok markus@ | Damien Miller | |
2020-10-18 | add some variant log.h calls that prepend the calling function | Damien Miller | |
name; ok markus@ | |||
2020-10-18 | Fix several bugs in the TTM page fault handler and porperly integrate all the | Mark Kettenis | |
changes made to Linux 5.7. Pointed out by jsg@. ok jsg@ | |||
2020-10-18 | Fix typo in reference, period that should be comma. | Anthony J. Bentley | |
The error is present in the RFC byline, but that's no reason to ignore an obvious typo when the correct punctuation is visible right above it. ok jmc@ martijn@ | |||
2020-10-18 | Use all 64 bits of the RETGUARD cookie on powerpc64 | gkoehler | |
Change the 64-bit target to use "ld" (load 64-bit doubleword) for the cookie. The 32-bit target stays with "lwz" (load 32-bit word). ok mortimer@ | |||
2020-10-17 | Avoid potential infinite loop in pmap_vp_destroy(). | Mark Kettenis | |
2020-10-17 | Logitech Webcam Pro 9000 works. | Marcus Glocker | |
2020-10-17 | regen | Marcus Glocker | |
2020-10-17 | Add Logitech Webcam Pro 9000. | Marcus Glocker | |
From Raf Czlonka <rczlonka at gmail dot com> |