summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-19Disable FP exception masking tests on armv7 and arm64. ARM hardware doesn'tMark Kettenis
implement this feature.
2020-10-19Skip floating-point exception checks on arm64 and armv7 as the hardwareMark Kettenis
(typically) doesn't implement support for these. ok patrick@, drahn@
2020-10-19Save and restore the FPCR register such that floating-point control modesMark Kettenis
are properly restored by longjmp(3).
2020-10-19Set %r0 to EFAULT instead of the return value from uvm_fault() when itMark 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-19Serialize 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-19fix SEGV on fatal() errors spotted by dtucker@Damien Miller
2020-10-19On powerpc64, restore %r2 when needed while unwinding.Mark Kettenis
Makes exception handling work on powerpc64. ok patrick@
2020-10-19Client could be NULL in select-window (for example in .tmux.conf), doNicholas Marriott
not set latest session if so. GitHub issue 2429 from Han Boetes.
2020-10-18The maxoperand test is currently expected to fail.Patrick Wildt
ok mpi@
2020-10-18Accommodate POSIX basename(3) that takes a non-const parameter andChristian Weisgerber
may modify the string buffer. improved and ok jca@
2020-10-18Add powerpc64 retguard macros for setjmp / longjmp.mortimer
ok deraadt@
2020-10-18XFAIL tests on arm64 and armv7 as floating-point exception support isMark Kettenis
optional and isn't implemented on most hardware.
2020-10-18Implement pmap_proc_iflush().Mark Kettenis
2020-10-18Handle trace interrupts from userland.Mark Kettenis
2020-10-18SYS___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-18Fix typo. Spotted by patrick@Mark Kettenis
2020-10-18Remove leftover debugging output for EXC_PGM traps.Mark Kettenis
2020-10-18Add code to print CPU features.Mark Kettenis
ok naddy@
2020-10-18use the new variant log macros instead of prepending __func__ andDamien Miller
appending ssh_err(r) manually; ok markus@
2020-10-18variants of the log methods that append a ssherr.h string fromDamien Miller
a supplied error code; ok markus@
2020-10-18remove a level of macro indirection; ok markus@Damien Miller
2020-10-18add some variant log.h calls that prepend the calling functionDamien Miller
name; ok markus@
2020-10-18Fix several bugs in the TTM page fault handler and porperly integrate all theMark Kettenis
changes made to Linux 5.7. Pointed out by jsg@. ok jsg@
2020-10-18Fix 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-18Use all 64 bits of the RETGUARD cookie on powerpc64gkoehler
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-17Avoid potential infinite loop in pmap_vp_destroy().Mark Kettenis
2020-10-17Logitech Webcam Pro 9000 works.Marcus Glocker
2020-10-17regenMarcus Glocker
2020-10-17Add Logitech Webcam Pro 9000.Marcus Glocker
From Raf Czlonka <rczlonka at gmail dot com>
2020-10-17Use CLEANFILES instead of a custom hack for cleaning up stuffTheo Buehler
2020-10-17remove debugging output capture to /tmp/ that is not neededBob Beck
2020-10-17use the full 64-bit cookies, rather than just 32 bitsTheo de Raadt
spotted by gkoehler, ok mortimer
2020-10-17Avoid a possible dead-lock in kthread_stop(): when stopping, wakeup()Sebastien Marie
the caller of kthread_stop(). The thread should also be unparked as else it will not seen the KTHREAD_SHOULDSTOP flag. it follows what Linux is doing. ok kettenis@
2020-10-17Update to tzdata2020c from www.iana.org.Todd C. Miller
Fiji starts DST later than usual, on 2020-12-20.
2020-10-17make the log functions that exit (sshlogdie(), sshfatal(), etc) haveDamien Miller
identical signatures. Makes things a bit more consistent...
2020-10-16Use the retguard macros from asm.h to protect the function.Theo de Raadt
ok mortimer kettenis
2020-10-16Use the retguard macros from asm.h to protect the system call stubs.Theo de Raadt
ok mortimer kettenis
2020-10-16Adapt SYS.h to use retguard macros from asm.h, so that generated systemTheo de Raadt
calls are guarded. Adapt the first few hand-written functions to this model (a few remain) ok kettenis mortimer
2020-10-16Add retguard asm macros for ppc64.mortimer
ok deraadt@
2020-10-16With TLS 1.2 the step by step handshake created precise errorAlexander Bluhm
conditions. TLS 1.3 shortens the handshake, so some errors cannot be reported properly to the other side. Instead the connection is closed and the other side receives a SIGPIPE when it tries to write the next TLS protocol message. Ignore this SIGPIPE signal in TLS client and server and adapt error messages when grepping the log files. discussed with tb@ and jsing@
2020-10-16Implement propper handling for make clean and obj.Alexander Bluhm
2020-10-16make this test compile and pass on sparc64Theo Buehler
Two functions missed (void) in their declaration which made gcc whine "warning: function declaration isn't a prototype".
2020-10-16Add an explicit cast to make this test compile and pass with gcc.Theo Buehler
gcc emits a signed vs unsigned comparison warning which breaks the build due to -Werror.
2020-10-16Architecture guarantees that the fields in ID register have the propertyMark Kettenis
that a value of n+1 implies all the features included in feature n. Adjust various checks to a simple >= comparison. ok patrick@
2020-10-16In HTML output, avoid printing a newline right after <pre>Ingo Schwarze
and right before </pre> because that resulted in vertical whitespace not requested by the manual page author. Formatting bug reported by Aman Verma <amanraoverma plus vim at gmail dot com> on discuss@.
2020-10-16add space between macro arg and punctuation;Jason McIntyre
2020-10-16few more things needs match.c and addrmatch.c now that log.cDamien Miller
calls match_pattern_list()
2020-10-16Display of P2P links has changeddenis
Reported by patrick@
2020-10-16LogVerbose keyword for ssh and sshdDamien Miller
Allows forcing maximum debug logging by file/function/line pattern- lists. ok markus@
2020-10-16revised log infrastructure for OpenSSHDamien Miller
log functions receive function, filename and line number of caller. We can use this to selectively enable logging via pattern-lists. ok markus@