summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-08move subprocess() so scp/sftp do not need uidswap.o; ok djm@Markus Friedl
2018-01-08switch ssh-pkcs11-helper to new API; ok djm@Markus Friedl
2018-01-08split client/server kex; only ssh-keygen needs uuencode.o;Markus Friedl
only scp/sftp use progressmeter.o; ok djm@
2018-01-08only ssh-keygen needs uuencode.o; only scp/sftp use progressmeter.oMarkus Friedl
2018-01-08uuencode.h is not usedMarkus Friedl
2018-01-08Override membar_producer() for octeon.Visa Hankala
OK dlg@
2018-01-08Drop two outdated entriesJeremie Courreges-Anglas
Namely POSIX character classes and tilde expansion within parameter substitution. While here, kill a useless line and fix a typo. From Klemens Nanni
2018-01-08Remove unused "args" param from kb_add(), it is always NULL.Todd C. Miller
OK anton@ jca@
2018-01-08optimization and some cleanup; mostly from kshe (except the unmap() part)Otto Moerbeek
2018-01-08Kill entries that are obviously outdated/out of scopeJeremie Courreges-Anglas
Pointed out by Klemens Nanni who had ~ the same diff
2018-01-08TIOCUCNTL is now allowed by promise "tty".Martin Pieuchot
Reminded by jmc@
2018-01-08Enable TIOCUCNTL to be able to set ns8250's break detected condition.Martin Pieuchot
It is now possible to send BREAK commands to vmd(8) independently of the serial terminal emulator. Happy virtual ddb(4) hacking! No objection from mlarkin@, ok nicm@, ccardenas@, deraadt@
2018-01-08Allow TIOCUCNTL issued on a pty(4) master in promise "tty".Martin Pieuchot
This will be soon be used to emulate BREAK commands in vmd(8). ok nicm@, ccardenas@, deraadt@
2018-01-08Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave toMartin Pieuchot
corresponding user mode ioctls. If the master part of the pseudo terminal previously enabled TIOCUCNTL, it will now receive the TIOCUCNTL_{S,C}BRK commands. This allows to send BREAKS commands over a pty(4) independently of the serial terminal emulator used. Guidance and ok nicm@, ok ccardenas@, looks ok to deraadt@
2018-01-08Attach dwiic_pci on Dell Precision 7520. Also restrict ihidev reportsMike Larkin
to those of 3 bytes or more (as per the hid-over-i2c spec). discussed with jcs, kettenis
2018-01-08Mark up command strings with Cm, and variables with Va.Anthony J. Bentley
ok jmc@
2018-01-08Delete flowrings when we take the interface down or change itsPatrick Wildt
settings.
1995-10-18initial import of NetBSD treeTheo de Raadt
2018-01-07Add regression tests for cdrom keywordccardenas
ok mlarkin@
2018-01-07Create multiple transmit flowrings in station mode, four in total, basedPatrick Wildt
on TOS values. In AP mode create multiple flowrings per connected node.
2018-01-07delete a wrong commentMike Larkin
2018-01-07remove all PG_G global page mappings from the kernel when running onMike Larkin
Intel CPUs. Part of an ongoing set of commits to mitigate the Intel "meltdown" CVE. This diff does not confer any immunity to that vulnerability - subsequent commits are still needed and are being worked on presently. ok guenther, deraadt
2018-01-07Add proper bounds checking to kb_add(). OK anton@Todd C. Miller
2018-01-07amd64_{get,set}_fsbase() are superfluous and unused; delete them.Philip Guenther
Delete unused/never-implemented sysarch defines and structs while here. ports check and ok naddy@ ok deraadt@ mlarkin@
2018-01-07Use __inline instead of inline as this header file might be included in aMark Kettenis
"strict ansi" environment (even though it shouldn't be). Found out the hard way by phessler@ with a port that uses gcc -ansi. ok millert@, phessler@
2018-01-07add arch to Dt;Jason McIntyre
2018-01-07On OpenBSD/armv7 we deliberately trap unaligned access. UnfortunatelyMark Kettenis
the assembly code in libcrypto assumes unaligned access is allowed for ARMv7. Make these paths conditional on __STRICT_ALIGNMENT not being defined and define __STRICT_ALIGNMENT in arm_arch.h for OpenBSD. ok tom@
2018-01-07Remove unused extern variable in openssl(1) s_timeKinichiro Inoguchi
This extern variable appears not to be used. And it is overridden by local variable in doConnection(). This causes MSVC warning C4459 "declaration of 'verify_error' hides global declaration". OK millert@
2010-10-01import OpenSSL-1.0.0aDamien Miller
2018-01-07Delete obsolete/untrue commentsPhilip Guenther
2018-01-07remove a ridiculous comment and move another comment to the line it wasMike Larkin
really intended to describe. no functional change
2018-01-07Assume that direct-mapped addresses come from the xkphys segment.Visa Hankala
2018-01-07Add references to errata.Visa Hankala
2018-01-07Add identcpu.c and specialreg.h definitions for the new Intel/AMD MSRsMike Larkin
that should help mitigate spectre. This is just the detection piece, these features are not yet used. Part of a larger ongoing effort to mitigate meltdown/spectre. i386 will come later; it needs some machdep.c cleanup first. ok kettenis@
2018-01-06Add fs to the application/octet-stream extensions, mostly for installXX.fs,Stuart Henderson
to help with a problem noticed by tj@ and diagnosed by job@, ok phessler For OpenBSD distfile mirrors running httpd who want to do this before getting the updated mime.types, you can set: . types { . application/octet-stream fs . }
2018-01-06Handle %gs like %[def]s and reset set it in cpu_switchto() instead of onPhilip Guenther
every return to userspace. ok kettenis@ mlarkin@
2018-01-06Fix an interrupt storm condition in vldcp(8) (sparc64).Stefan Sperling
If the Rx channel goes down with pending data on the ring, toss the pending data to ensure that the firmware's rx ring head index matches the rx ring tail index. Otherwise we trigger an interrupt storm since vldcpread() never consumes pending data while the channel is down, and the firmware keeps triggering the interrupt until all data on the ring is consumed. Interrupt storm observed and fix tested on a T5220 (which can now run ldom guests; without this fix starting ldomd would trigger the problem). ok kettenis@
2018-01-06Don't advertise L0s if the "aspm-no-l0s" property is present. Base availableMark Kettenis
bus numbers on the "bus-range" property. Create outbound translations based on the "ranges" property.
2018-01-06regenMark Kettenis
2018-01-06Add Silicon Motion SM2260 NVMe.Mark Kettenis
2018-01-06syncTheo de Raadt
2018-01-06pckbd: don't change translation mode if controller is in table 2Joshua Stein
This was changed a decade ago to forcibly try table 3 first in order to make some now-long-gone hardware work. Newer Lenovo machines seem to have trouble being asked to change modes which manifests as a long boot delay as it waits for each request to timeout, or by causing the keyboard to generate junk when typing. Assume table 2 by default and just leave it alone if it's already there. This is how Linux has operated for quite a while and seems to help on these Lenovo machines. Tested by a few with these machines and has been in snaps for a bit.
2018-01-06Bring back the sign compare changes, this time with a fix from otto@Todd C. Miller
that fixes the issues seen on hppa. OK deraadt@ otto@
2018-01-06unifdef LOGIN_CAP, we always want to use login.confTodd C. Miller
OK jca@, no objection deraadt@
2018-01-06Remove dead gettimeofday calls and timevals.cheloha
ok jca@
2018-01-06sxits(4)Mark Kettenis
2018-01-06Enable sxits(4).Mark Kettenis
2018-01-06Add sxits(4), a driver for the temperature sensor on the Allwinner A10/A20Mark Kettenis
touchpad controller.
2018-01-06Enable sxitemp(4).Mark Kettenis
2018-01-06Set the proper bus clock rate based on the "clock-frequency" property andMark Kettenis
the rate of the parent clock. If the "clock-frequency" property isn't present, use the default standard mode clock of 100kHz.