summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-23Switch from 4-clause to 2-clause BSD license.Frederic Cambus
Matthias Drochner rescinded the third and fourth clauses of wsconscfg(8) and wsfontload(8) licenses in 2008 in NetBSD. https://mail-index.netbsd.org/source-changes/2008/05/26/msg206199.html OK deraadt@
2017-08-23Run alert hooks based on the options rather than unconditionally, fromNicholas Marriott
Brad Town.
2017-08-23typo in error messageJeremie Courreges-Anglas
2017-08-23Use the correct argument to sizeof. Coverity CID 1453382.Jonathan Gray
2017-08-23Reverting 1.126. espie@ pointed out that the change was misledingNayden Markatchev
becuase the compilers, which are part of comp62, still provide support for Objective-C, hence the original text was still correct.
2017-08-23Update the INSTALL docs to reflect the removal of Objective-C support fromNayden Markatchev
comp62. ok tom@
2017-08-22scan_dmesg sorts words within a hardware model string. Switch to usingJonathan Gray
the hw.product sysctl to avoid the problem. ok deraadt@ rpe@ kettenis@
2017-08-22Include Pine64 support in the install media now we can do so without boot0.Jonathan Gray
Tested by abieber@
2017-08-22Do not treat comma as part of the command modifier.anton
ok schwarze@
2017-08-22Make the edit regress tests respect the KSH variable just like the main regressanton
tests. Makes it easier to run all tests using another binary: $ pwd /usr/src/regress/bin/ksh $ make KSH=/usr/src/bin/ksh/obj/ksh
2017-08-22Remove mpool.libtp, it was part of the Berkeley DB tarball but notTodd C. Miller
present int the CSRG libc. It is only of historical interest and, given the amount of time passed, probably not even that anymore. OK deraadt@, prodded by miod@
2017-08-22add 6.3 packages keyChristian Weisgerber
2017-08-22Correct the mandoc.db(5) requirements of man(1) after the deprecationIngo Schwarze
of MLINKS. Inaccuracy pointed out by espie@.
2017-08-22When finding a bogus database entry,Ingo Schwarze
print a meaningful warning and skip the entry. Issue reported by espie@.
2017-08-22Some small cleanups to reduce the diffs to the armv7 efiboot.Mark Kettenis
ok tom@, jsg@
2017-08-22kill .TnIngo Schwarze
2017-08-22default automount dir was changed from /a to /tmp_mnt in amd.c rev. 1.15;Ingo Schwarze
noticed by Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net>
2017-08-22fix default automount dir below FILES, related to amd.c rev. 1.15;Ingo Schwarze
from Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net>
2017-08-22Call isatty(3) prior to ioctl(TIOCEXCL) to check if cu(1) was invoked on aRicardo Mestre
non-TTY and if that's the case then close the application. Otherwise without this verification if it's really a non-TTY then cu(1) will be aborted by pledge(2). feedback and OK by deraadt@
2017-08-22Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2017-08-22Use a boolean variable to remember the quotation level instead ofAlexander Bluhm
doing string pointer arithmetic. Fixes a clang warning. OK otto@ tom@
2017-08-22Remove listing of fixed bugs.Martin Pieuchot
ok markus@
2017-08-22Prevent a race against ipsec_in_use.Martin Pieuchot
Problem reported and fix tested by Hrvoje Popovski. ok bluhm@, visa@
2017-08-22syncTheo de Raadt
2017-08-22syncTheo de Raadt
2017-08-22slaacd.sock moved to /dev a while ago.Florian Obser
Noted by Christer Solskogen on misc@, thanks!
2017-08-22typoFlorian Obser
2017-08-22Add support for KARL:Antoine Jacoutot
- only extract the according /usr/share/compile/GENERIC{,.MP} - if a "kernel" patch was properly installed (or rolled back), run /usr/libexec/reorder_kernel _once_ just before exiting - don't backup /bsd anymore, reorder_kernel already does it for us - drop 2 now unused functions: install_kernel() and sp_cleanup() While it appears to work fine after some quick testing, it should still be considered WIP.
2017-08-22Remove legacy code.Antoine Jacoutot
2017-08-22Update inaccurate comment: rasops_copycols() doesn't use bcopy()Frederic Cambus
anymore, but either memmove() or slow_bcopy(). OK nayden@
2017-08-22Move array bounds tests before access to avoid reading past the end ofJonathan Gray
an array. Coverity CIDs 1452968 1453000. ok jung@ who mentions this case isn't hit in practice due to arrays having a terminating NULL.
2017-08-22Fix negative array index read. Coverity CID 1453243 and 1453334.Ricardo Mestre
Check if cp->dev value is invalid prior to using it as an array index and only then make the assignment si = &as->source_info[cp->dev]. OK tb@ and jsg@
2017-08-22explain new new COMPILERMarc Espie
2017-08-22Make sogetopt(9) caller responsible for allocating an MT_SOOPTS mbuf.Martin Pieuchot
Move a blocking memory allocation out of the socket lock and create a simpler alloc/free pattern to review. Now both m_get() and m_free() are in the same place. Discussed with bluhm@. Encouragements from deraadt@ and tedu@, ok kettenis@, florian@, visa@
2017-08-22Fix off by one overwrite. Covery CID 1452938.Ricardo Mestre
ee->ee_ctls evaluates to either 16 or 32 depending on the card's EEPROM version and with the current loop condition it will write out of bounds in the second ee->ee_ctls assignment once the condition is either i < 16 or i < 32. OK stsp@ and tb@
2017-08-22syncJonathan Gray
2017-08-22descend into reorder_kernelJonathan Gray
2017-08-22add amdisplay.4 to armv7 man Makefile listians
ok deraadt@
2017-08-22Rename now oddly-named variable.Jeremie Courreges-Anglas
2017-08-22reboot: don't wait for processes to die if there are noneStefan Fritsch
If processes are already dead, reduce wait times between SIGTERM and SIGKILL and wait time after SIGKILL. The reboot syscall will cause another sync later on, therefore the long wait times are not necessary for disk i/o, either. "makes sense" deraadt@
2017-08-22Add some buffercache docsStefan Fritsch
* add clarifications and bread_cluster() buffercache(9) * add some comments to vfs_bio.c ok tedu@
2017-08-21Split up ahci_port_portreset into a few smaller bits, and also slightlyJonathan Matthew
adjust port multiplier detection so it doesn't call ahci_port_portreset again directly, but instead restarts the loop for the current call. During attach, poll for device detection across all ports until either all ports have detected a device, or one second has passed, rather than doing them sequentially. Devices are still attached in order of port number, so disk unit numbers won't change. ok visa@
2017-08-21Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),Theo de Raadt
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
2017-08-21Move the kernel relinking code from /etc/rc into a seperate scriptRobert Peichaer
/usr/libexec/reorder_kernel. Requested by ajacoutot@ to be able to relink the kernel from within syspatch(8). OK deraadt@ tb@
2017-08-21Same as previous for \r alone.Nicholas Marriott
2017-08-21Add RK3399 CPU core related clocks. Fix RK3399 SD/MMC controller clock.Mark Kettenis
For now, expose the clock speed of the Cortex-A53 cores through the hw.cupseed sysctl.
2017-08-21Do not emit \r\n to move to column 0 if there are margins, because itNicholas Marriott
will instead move to the margin left.
2017-08-21add basedir of the kernel link-kitRobert Peichaer
requested by ajacoutot@ OK tb@
2017-08-21Pass the address of the EFI system table and the EFI memory map throughMark Kettenis
properties in the /chosen node of the FDT. The properties match the ones used by Linux (see Documentation/arm/uefi.txt in the Linux kernel source tree) but with the "linux," prefix replaced by "openbsd,". While there, reduce the diffs to the arm64 efiboot. ok tom@, jsg@
2017-08-21Remove unnecessary NULL check and fix an incorrect warning.rob
Ok jca@