summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-19More NUL (not NULL) checks.Vadim Zhukov
With support from guenther@ and millert@; final okay espie@
2017-12-19Pass calibrated TSC frequency to vmm(4) guests. On machines where TSCPatrick Wildt
cannot be calculated from the CPUID register, because the CPU does not support it, but can be calibrated from another timer, the vmm(4) guest doesn't have a chance to read or calibrate its own TSC frequency since it has no access to a precise enough time counter. In that case, fake the existence of the register and supply our calibrated TSC frequency. mlarkin@ tells me this also greatly helps Linux guests. ok mlarkin@
2017-12-19Remove EXAMPLES section.Martijn van Duren
The example itself was taken directly from the POSIX specification by jmc@, who doesn't remember adding it. This example isn't very clear about what it actually does, so just remove it. If someone can come up with one or more examples that give a more clear introduction to the workings of sed feel free to send them in. Prompted by a diff by kshe59 <at> zoho <dot> eu OK jmc@
2017-12-19curproc access isn't necessarily as cheap as a local variable access,Theo de Raadt
so only get it once ok guenther
2017-12-19Report better error from server when socket create fails, GitHub issueNicholas Marriott
1201.
2017-12-19somehow, I lost that static.Marc Espie
From Michal W. Bombardieri, thx
2017-12-19Remove unused ps_stackgap from process structStefan Kempf
Nothing uses this field since Linux compat was removed. ok mpi@ deraadt@ guenther@
2017-12-19Remove a 27 year old #ifdef notdef chunk involving SB_LOCK.Martin Pieuchot
ok bluhm@
2017-12-19Inline socket buffer related defines, no functional change.Martin Pieuchot
ok bluhm@
2017-12-19Remove unnecessary unlock/lock dance when following a goto.Martin Pieuchot
ok bluhm@
2017-12-19explicitly test all key types and their certificate counterpartsDamien Miller
refactor a little
2017-12-19include signature type and CA key (if applicable) in some debug messagesDamien Miller
2017-12-18unbreak hostkey rotation; attempting to sign with a desired signatureDamien Miller
algorithm of kex->hostkey_alg is incorrect when the key type isn't capable of making those signatures. ok markus@
2017-12-18log mismatched RSA signature types; ok markus@Damien Miller
2017-12-18pass kex->hostkey_alg and kex->hostkey_nid from pre-auth to post-authDamien Miller
unpriviledged child processes; ok markus@
2017-12-18Change the question at the end of installs and upgrades to present a choiceRobert Peichaer
between exiting to the shell or to reboot the latter being the default. (On sparc64 the second choice is to halt the system which leaves it at the OpenBoot PROM prompt) While there add a newline after the CONGRATULATIONS message. OK tb@ positive feedback naddy@ deraadt@ giovanni@
2017-12-18Do not try to put more in command message than will fit when sendingNicholas Marriott
(the server will treat as a fatal error). GitHub issue 1200.
2017-12-18always initialize the hce_launch_checks event timer.Sebastian Benoit
Fixes a crash when poll is run without any checks. Found and fixed by Hiltjo Posthuma (hiltjo -AT- codemadness -DOT- org). ok claudio@
2017-12-18Display $MODE (install/upgrade) in the prompt before we know the hostname.Theo Buehler
suggested by deraadt ok rpe
2017-12-18Sync cross references related to libutil; ok jmc@anton
2017-12-18Get rid of a todo by stop declaring variable texec as static and instead zeroinganton
it out prior to continuing down the recursive call chain. Initial diff from Michael W. Bombardieri, later tweaked; ok tb@
2017-12-18Properly implement the rsb attribute and actually use it.Mark Kettenis
2017-12-18Add sensors for the AXP809.Mark Kettenis
2017-12-18Generate SIGBUS/BUS_ADRALN when we see a PC Alignment Exception from userland.Mark Kettenis
ok patrick@
2017-12-18Use axppmic as a dependency instead of axppmic_rsb.Mark Kettenis
2017-12-18Add tests for the environment related commands in csh. While here, print aanton
descriptive header before each test, inspired by the many others in regress.
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton
redundant call to free() since name is always freed upon return. From Michael W. Bombardieri, with some tweaks by myself.
2017-12-18Add another pair of home/end key bindings; from Lari Rasku.anton
ok jca@
2017-12-18Read RAM size for chips with SOCRAM like the BCM4334 on one of myPatrick Wildt
Intel machines.
2017-12-18Read RAM size for chips with SOCRAM like the BCM4334 on one of myPatrick Wildt
Intel machines.
2017-12-18Add helper function for uri handing in scp where a missing pathTodd C. Miller
simply means ".". Also fix exit code and add warnings when an invalid uri is encountered. OK otto@
2017-12-18When setting KTRACE in the environment, client and server writeAlexander Bluhm
ktrace files. This simplifies debugging as system calls can be inspected with kdump.
2017-12-18Pass the BSSID to the join command so that we connect to the AP thatPatrick Wildt
we chose instead of any AP the firmware chooses based on the SSID.
2017-12-18Pass scan type directly to the scan command instead of using the globalPatrick Wildt
variable.
2017-12-18Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do thehelg
opposite of fuse_setup(3). ok mpi@
2017-12-18Stop inserting and paying attention to 'interface <if>;'Kenneth R Westerback
inside 'lease {}' declarations. We don't keep leases from multiple interfaces in dhclient.leases.<if> files. One less thing to parse and keep in memory. More rope for those wanting to do unspeakable things with their lease files.
2017-12-18Add sizes for free() in libsa for amd64 and i386.Frederic Cambus
OK tom@, deraadt@
2017-12-18Remove unused variable from Thomas Adam.Nicholas Marriott
2017-12-18Refactor libfuse option processing to better support options in thehelg
future. Immediate benefits are that gid, uid and umask are now supported and max_read is now honoured for all file systems. Mounting read_only is now possible but requires more thorough testing. ok mpi@
2017-12-18Enable RSB attachment for axppmic(4).Mark Kettenis
2017-12-18Add i2c interface code to the new axppmic(4) code and add support for theMark Kettenis
AXP152 and AXP209 here as well. The AXP209 is extended to support regulators and sensors. The ACIN and VBUS indicators are now exported as sensors. Retire the old AXP152/AXP209 support code.
2017-12-18Map framebuffer into userland as non-cachable (but normal) memory. We stillMark Kettenis
map the framebuffer as device memory in the kernel. Using mismatched memory attributes like this is discouraged (and we should probably fix this at some point) but this particular case is well-defined and the potential side-effects should not matter for thus use-case. ok patrick@
2017-12-18Revert support for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot
It is not clear if this change is responsible for the lockups experienced by dhill@ and jcs@ but since we're no longer grabbing the socket lock in kqueue(2) filters there's no need for this change.
2017-12-18Revert grabbing the socket lock in kqueue(2) filters.Martin Pieuchot
This change exposed or created a situation where a CPU started to be irresponsive while holding the KERNEL_LOCK(). These led to lockups and even with MP_LOCKDEBUG it was not clear what happened to this CPU. These situations have been experience by dhill@ with dcrwallet and jcs@ with syncthing. Both applications are written in Go and do kevent(2) & networking across multiple threads.
2017-12-18Make rw_exit() always succeed after a panic.Martin Pieuchot
Prevents a deadlock in if_downall() when rw_enter() succeed without really grabbing the lock. Reported by and ok phessler@
2017-12-18Size for free(9).Martin Pieuchot
From <kshe59 at zoho.eu>
2017-12-18Add support for enabling registered regulators. Make sure that we leaveMark Kettenis
regulators with a "regulator-always-on" property alone. ok patrick@
2017-12-18Reclaim browser screen real estate in bgplgjob
Removing versioning information too. OK deraadt@
2017-12-18Tighten /usr/local and /usr/X11R6 so that 8G disks still fit in our defaultAntoine Jacoutot
partitioning scheme. ok florian@ benno@
2017-12-18let's not try to document the number of items in a list...Jason McIntyre