summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-14regenJonathan Gray
2020-10-14don't match on 17ef:3083 in ure(4)Jonathan Gray
Stefan Hagen reports this is an audio device found on the Lenovo ThinkPad Thunderbolt 3 Workstation Dock Gen 2. Originally added as the id appeared in rtux64w10.INF from thinkpad_usb-c_dock_gen2_drivers_v1.0.3.03241.exe as %Lenovo-FFF.DeviceDesc% = RTL8153Bx64_S5WOL.ndi,USB\VID_17EF&PID_3083&REV_3101 but this appears to be wrong.
2020-10-14Introduce scsi_copy_internal_data() to copy 'faked' data from a driver to aKenneth R Westerback
scsi_xfer. Will replace various equivalent functions/hand-rolled chunks, none of which were setting xs->resid.
2020-10-14delete strange historical FFS_SOFTUPDATES ifdef...Theo de Raadt
ok millert
2020-10-14use symbolic SYS_exit rather than 1, and skip usingTheo de Raadt
the 0x400 %g2 syscall method ok kettenis
2020-10-14use symbolic SYS_exit instead of the value 1Theo de Raadt
ok kettenis
2020-10-14typo in error messageChristian Weisgerber
2020-10-14Accommodate a basename(3) that takes a non-const parameter and mayChristian Weisgerber
in fact modify the string buffer. ok kn@ sashan@ cVS: ----------------------------------------------------------------------
2020-10-14Accommodate POSIX basename(3) that takes a non-const parameter andChristian Weisgerber
may modify the string buffer. ok millert@
2020-10-14replace a MAXPATHLEN that slipped back in with PATH_MAX so userland won'tChristian Weisgerber
have to pull in <sys/param.h> ok kn@ sashan@ deraadt@
2020-10-14Replace SSL_IS_DTLS with SSL_is_dtls().Joel Sing
Garbage collect the now unused SSL_IS_DTLS macro. ok tb@
2020-10-14Provide SSL_is_dtls().Joel Sing
For now this is #ifdef LIBRESSL_INTERNAL and will be exposed during the next library bump. ok tb@
2020-10-14Split the userland vs kernel uvm_fault reaching paths to reduce lateTheo de Raadt
checking of variables and avoid the KERNEL_LOCK in more cases. Much discussion with kettenis led up to this. ok kettenis
2020-10-14Mark DTLS methods as DTLS.Joel Sing
Rather than inferring DTLS from the method version, add a field that marks a method as specifically being DTLS. Have SSL_IS_DTLS condition on this rather than on version. ok tb@
2020-10-14Hook up dtls regress.Joel Sing
2020-10-14Add regress tests for DTLS.Joel Sing
Test the operation of a DTLS client and server, with and without cookies, using the default MTU and a specifically lowered MTU. Further regress tests will be built on this to exercise other parts of the DTLS code base (such as retransmission, fragmentation and reassembly).
2020-10-14add missing mention of Werner Lemberg,Ingo Schwarze
noticed by Werner himself on <groff at gnu dot org>; while here, add missing .An macros
2020-10-14remove unused locally added drm_driver struct membersJonathan Gray
2020-10-14don't multiply ticks by hz when result is compared to jiffiesJonathan Gray
Used in the return value of drm_sched_suspend_timeout() which nothing currently uses.
2020-10-14no need to initialize i if it's re-initialized a few lines downTheo Buehler
2020-10-14Add an interrupt barrier in bnxt_down() and check if the interface isJonathan Matthew
running before processing rx or tx events, to avoid crashes if an interrupt is received before we finish shutting down the completion ring. tested by Pavel Mateja ok dlg@
2020-10-14Free peekaboo pbuf at end of s_client_main()Theo Buehler
Otherwise each run of the s_client leaks 16k of memory. This hurts in interactive mode. ok inoguchi jsing
2020-10-14make UpdateHostkeys still more conservative: refuse to proceed ifDamien Miller
one of the keys offered by the server is already in known_hosts under another name. This avoid collisions between address entries for different host aliases when CheckHostIP=yes Also, do not attempt to fix known_hosts with incomplete host/ip matches when there are no new or deprecated hostkeys.
2020-10-13Make sure an OCSP query sends a host headerTheo Buehler
While OCSP uses HTTP/1.0 where a host header is optional, some widely used OCSP responders will return 400 bad request if it is missing. Add such a header unless it's already provided in the user's custom headers. OpenSSL did something similar in ff4a9394a23 and 76e0cd12f68 (both commits are under the old license) ok inoguchi
2020-10-13setitimer(2): zero itv.it_interval if itv.it_value is zerocheloha
If itv.it_value is zero we cancel the timer. When we cancel the timer we don't care about itv.it_interval because the timer is not running: we don't use it, we don't look at it, etc. To be on the paranoid side, I think we should zero itv.it_interval when itv.it_value is zero. No need to write arbitrary values into the process struct if we aren't required to. The standard is ambiguous about what should happen in this case, i.e. the value of olditv after the following code executes is unspecified: struct itimerval newitv, olditv; newitv.it_value.tv_sec = newitv.it_value.tv_usec = 0; newitv.it_interval.tv_sec = newitv.it_interval.tv_usec = 1; setitimer(ITIMER_REAL, &newitv, NULL); getitimer(ITIMER_REAL, &olditv); This change should not break any real code.
2020-10-13setitimer(2): realitexpire(): call getnanouptime(9) oncecheloha
timespecadd(3) is fast. There is no need to call getnanouptime(9) repeatedly when searching for the next expiration point. Given that it_interval is at least 1/hz, we expect to run through the loop maybe hz times at most. Even at HZ=10000 that's pretty brief. While we're here, pull *all* of the other logic out of the loop. The only thing we need to do in the loop is timespecadd(3).
2020-10-13More useless stuff snuck in.Florian Obser
OK sthen
2020-10-13Fix note for "previous-window" default key binding, from SebastianNicholas Marriott
Falbesoner.
2020-10-13import NSD 4.3.3, ok florian@Stuart Henderson
2020-10-13remove dir useless for cvsStuart Henderson
2020-10-13merge NSD 4.3.3Stuart Henderson
2020-10-13import NSD 4.3.3, ok florian@Stuart Henderson
2020-10-13typo in commentMartin Pieuchot
2020-10-13Set RGB flag if capabilities are present, GitHub issue 2418.Nicholas Marriott
2020-10-13Un-const what we pass to dirname(3).Martijn van Duren
Original diff by and OK naddy@
2020-10-13move ifdef to make it clear we don't use __create_shmem()Jonathan Gray
2020-10-13Do some easy .data -> .rodata/.data.rel.ro conversionsPhilip Guenther
ok millert@ deraadt@
2020-10-13annoying whitespace gliches spotted during re-readTheo de Raadt
2020-10-12make fixed-sized fixed-value mib[] arrays be constTheo de Raadt
ok guenther tb millert
2020-10-12annoying whitespaceTheo de Raadt
2020-10-12mib[2] is no longer used; ok guentherTheo de Raadt
2020-10-12Add support for the i.MX8M AHB clocks. These behave just like all thePatrick Wildt
other composite clocks. With this we can get the frequency for the OCOTP.
2020-10-12OCOTP's parent clock is the IPG clock on i.MX8M.Patrick Wildt
2020-10-12Disable retguard for clang build.mortimer
Fixes build on powerpc
2020-10-12update retguard listTheo de Raadt
2020-10-12Add RETGUARD implementation for powerpc and powerpc64.mortimer
ok deraadt@ kettenis@
2020-10-12Accommodate POSIX basename(3) that takes a non-const parameter andChristian Weisgerber
may modify the string buffer. From Joerg Sonnenberger for DragonFly BSD. ok millert@
2020-10-12Accommodate POSIX basename(3) that takes a non-const parameter andChristian Weisgerber
may modify the string buffer. ok millert@
2020-10-12avoid two overlong lines and drop an unused printf argumentTheo Buehler
2020-10-12Fix build of tmpfsVisa Hankala
The breakage was caused by the removal of #include <sys/systm.h> from <uvm/uvm_map.h>. OK deraadt@, mpi@, beck@