summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-29update to unbound 1.7.0Florian Obser
testing tb, sthen OK benno, sthen
2018-03-29Set p->p_cpu in cpu_switchto() like we do on other MP architectures.Patrick Wildt
ok kettenis@
2018-03-29Enable mvclock(4), mvicu(4), mvpinctrl(4), mvgpio(4) and mvrtc(4). ThisMark Kettenis
brings us very basic support for the SolidRun MACCHIATOBin.
2018-03-29mvicu(4)Mark Kettenis
2018-03-29Fix HISTORY.Mark Kettenis
2018-03-29Make sure that the global config is send out immediately when it isMartijn van Duren
loaded. This makes sure that the local prefix specied in the config is always used. OK ccardenas@
2018-03-29mvrtc(4)Mark Kettenis
2018-03-29Add mvrtc(4), a driver for the RTC integrated on various Marvell Armada SoCs.Mark Kettenis
2018-03-29Use "marvell,spi-ranges" property to map GICP interrupts numbers into GICMark Kettenis
SPI numbers. Makes higher numbered GICP interrupts actually work.
2018-03-29Resolve some code duplication.Ingo Schwarze
Minus eight lines of code, no functional change. OK martijn@.
2018-03-29Fix three bugs in setlocale(3):Ingo Schwarze
1. setlocale(LC_ALL, "A"); setlocale(LC_CTYPE, "T"); setlocale(LC_ALL, NULL); must return "A/T/A/A/A/A", not "A". Fix this by always initializing the LC_ALL entry of newgl to "" in dupgl(). Reported by Karl Williamson <public at khwilliamson dot com> on bugs@, thanks! 2. Do not leak newgl when strdup(3) fails in setlocale(3). 3. For setlocale(LC_ALL, "C/C/fr_FR.UTF-8/C/C/C"); correctly set _GlobalRuneLocale; i found 2. and 3. while looking at the code. Feedback on a buggy earlier version and OK martijn@.
2018-03-29Add support for legacy binding used in device trees for Marvell devices forMark Kettenis
USB PHY support and add support for "usb-nop-xceiv" PHYs. ok patrick@, jsg@
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@
2018-03-29Make sparc64 ofwboot open the softraid boot chunk early on and keep theStefan Sperling
handle open until a kernel has been loaded from the softraid volume. This works around an apparent memory leak in the firmware on T5220 which fails to load an ldom guest kernel from softraid with a "Fast Data Access MMU Miss" trap after many OF_open()/OF_close() calls. This problem goes away when we call OF_open()/OF_close() just once instead of for every block we want to read. Crank ofwboot version to 1.10. Make sure to keep working boot media around before upgrading! Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1), have been tested and are known to work. Please report issues to bugs@. ok kettenis@
2018-03-29Do not crash on empty window, reported by Jamie Macdonald in GitHubNicholas Marriott
issue 1299. Patch from Thomas Adam.
2018-03-29NET_LOCK is also required in pppxwrite and pppxclose.Jonathan Matthew
ok dlg@ mpi@
2018-03-29Limit ASN.1 constructed types recursive definition depthKinichiro Inoguchi
Fixes for CVE-2018-0739. Copied from commit below, and modified for adaption to our code. https://github.com/openssl/openssl/commit/9310d45087ae546e27e61ddf8f6367f29848220d ok bcook@ beck@ jsing@
2018-03-29Remove RDTSCP from the CPUID flags reported to the guest VM. The instructionMike Larkin
was already disabled, but reporting it as available and then failing it caused SmartOS to crash during boot. ok pd@
2018-03-29KNF (wrap a long line)Mike Larkin
2018-03-29Explicitly declare the gdt storage in struct cpu_info_full instead ofPhilip Guenther
implicitly putting it in the padding to page-size. This eliminates a couple Coverity issues from the Meltdown work. testing daniel@ ok mlarkin@
2018-03-28Fix a lint style issue.Visa Hankala
2018-03-28Add USG and USG PRO-4.Visa Hankala
2018-03-28Use RWL_IS_VNODE with locks that are acquired through VOP_LOCK(),Visa Hankala
to appease WITNESS. ext2fs and ffs already use the flag. The same locking pattern appears with other file systems too, so this patch addresses the remaining cases. OK mpi@
2018-03-28- memory leak occurs when adding same table twice.Alexandr Nedvedicky
(tj found fix in FreeBSD repo for us) OK @bluhm, @henning
2018-03-28Call FREF() right after fd_getfile() in getsock().Martin Pieuchot
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@
2018-03-28Call FREF() right after fd_getfile() in sys_flock().Martin Pieuchot
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, bluhm@
2018-03-28Call FREF() right after fd_getfile*() in pread(), prwrite() & co.Martin Pieuchot
This ensure that all operations manipulating a 'struct file *' do so with a properly refcounted element. ok visa@, tedu@, bluhm@
2018-03-28Check for possible race after sleeping instead of using a rwlock toMartin Pieuchot
protect insertions in `nm_ntree'. This will prevent a future lock ordering problem with NFSnode's lock. ok tedu@, visa@
2018-03-28Mark ext2fs inode recursive lock as RWL_IS_VNODE like for ffs to let itMartin Pieuchot
play with WITNESS. ok visa@
2018-03-28Configure tx and rx chain delay based on device tree properties.Mark Kettenis
ok mlarkin@
2018-03-28drm/edid: set ELD connector type in drm_edid_to_eld()Jonathan Gray
From Jani Nikula b59718a13495d420491fa86f915273066d89fcab in linux 4.4.y/4.4.123 1d1c36650752b7fb81cee515a9bba4131cac4b7c in mainline linux
2018-03-28drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)Jonathan Gray
From Chris Wilson 1b3ec39d3b6d1d252e03a86fcdcc8f8a2970258e in linux 4.4.y/4.4.123 608b20506941969ea30d8c08dc9ae02bb87dbf7d in mainline linux
2018-03-27Update to tzdata2018d from ftp.iana.orgTodd C. Miller
2018-03-27Add acpicmos(4), a driver that implements SystemCMOS OperationRegionMark Kettenis
access support. This fixes machines where the AML doesn't check whether support for this OperationRegion type has been registered by the OS. ok mlarkin@
2018-03-27found a complete archive of SSLeay-0.4 to SSLeay-0.8.1b tarballsIngo Schwarze
on the web, so fix up SSLeay HISTORY accordingly
2018-03-27Clear password buffers in non-terminating casesTheo de Raadt
ok tobias
2018-03-27Use memcpy instead of bcopy when the memory does not overlap.David Hill
OK deraadt@ florian@
2018-03-27Link apply into regress build.Tobias Stoeckmann
2018-03-27Fix possibly wrong execution of commands and out of boundary write withTobias Stoeckmann
unusual input. Correction and regression tests based on FreeBSD bin/95079. While at it, fix another segmentation fault when using ' ' as magic character and also disallow '\0' as magic character. This cannot make any sense and avoids a theoretical out of boundary read. ok tb@
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
protection cannot block the final SIGABRT. While here apply the same logic to ddb(4)'s kill command. From semarie@, ok deraadt@
2018-03-27Try harder to execute code protected by mutexes after entering ddb(4).Martin Pieuchot
Should prevent a panic after panic reported by mlarkin@. ok mlarkin@, visa@
2018-03-27Use a goto to merge multiple error blocks in sosplice().Martin Pieuchot
ok bluhm@
2018-03-27Exclude SIGKILL from ptrace(2) interception.Martin Pieuchot
This can lead to a deadlock where the parent waits infinitely for the traced process. Original problem reported by tb@ and worked around by visa@ for release by not calling CURSIG() twice in userret(). ok tb@, visa@
2018-03-27sync supported hardwareJonathan Gray
2018-03-27take us to 6.3-currentTheo de Raadt
2018-03-24openssh-7.7Markus Friedl
2018-03-24fix bogus warning when signing cert keys using agent; from djm; ok deraadt ↵Markus Friedl
dtucker
2018-03-24bump to 2.7.2Brent Cook
2018-03-24Fix intr_restore() on luna88k to restore the previously saved stateVisa Hankala
rather than enable interrupts unconditionally. Tested by and OK aoyama@; no objection deraadt@
2018-03-24Avoid calling issignal() twice on signal delivery in order notVisa Hankala
to generate more than one ptrace(2) event. Do that by checking pending signals first without altering any state. If there is an unmasked signal ready for delivery, acquire the kernel lock and redo the checks in issignal(). This prevents gdb from blocking on exit when it attempts to kill an attached process, issue reported by tb@. OK mpi@, deraadt@