summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-19Don't build saveFP/restFP for powerpc. Not needed on OpenBSD.Pascal Stumpf
ok kettenis@
2016-09-19Add PowerPC backend build infrastructure.Pascal Stumpf
ok kettenis@
2016-09-19Add non-VFP arm-specific code.Mark Kettenis
ok patrick@
2016-09-19Add -nostdinc++ like the original CMakeLists.txt does. Fixes bulding withMark Kettenis
clang++. ok pascal@, patrick@
2016-09-19sigh, correct typoPeter Hessler
2016-09-19``bMaxPacketSize'' is reported as a power of 2 for super speed devicesMartin Pieuchot
as per section 4.8.2.1 of xHCI specification. Note that we never got this correctly. Spotted by and ok jsg@
2016-09-19do a better job of setting "last state"Peter Hessler
2016-09-19Fix 'const char *' qualifier removal warning by casting it out withRafael Zalamena
uintptr_t. It is safe here to pass a 'const' to exec*(). improved by and ok millert@
2016-09-19send a nice diagnostic reason when we destroy all bfd interfaces (reboot)Peter Hessler
2016-09-19remove a bunch of noisy implementation-helper printfsPeter Hessler
2016-09-19Replace two more arc4random() loops with arc4random_buf().Martin Natano
tweaks and ok dtucker ok deraadt
2016-09-19once again, fix the bfd state-machine. this time, tested against aPeter Hessler
juniper which rolled through several states during testing (up->admindown->up->timeout->up)
2016-09-19Only allow standard dot notation for IPv4 addresses.Florian Obser
We can get rid of inet_aton(3) and use the AF independent getaddrinfo(3). OK natano@, krw@, millert@, claudio@
2016-09-19Only allow standard dot notation for IPv4 addresses as target.Florian Obser
We can get rid of inet_aton(3) and use the AF independent getaddrinfo(3). OK natano@, krw@, millert@, claudio@
2016-09-19Remove unused getdev() audio driver functions.Alexandre Ratchov
2016-09-19Update ld search path for libssl/libcrypto, fixes cross-build after source ↵Brent Cook
moved. from Patrick Wildt
2016-09-19syncTheo de Raadt
2016-09-18If the APIC table (MADT) isn't present then ci_acpi_proc_id won't be setPhilip Guenther
when acpicpu tries to attach, leading to a NULL dereference. The ACPI processor object on the Dells where this was reported is bogus and useless anyway so apply the same test when deciding whether to attach to processor objects as acpicpu would when matching them to cpus. Problem reported by Eivind Eide (xenofil (at) gmail.com) and Johan Huldtgren (johan+openbsd-bugs (at) huldtgren.com). Testing by Eivind Eide. ok kettenis@ mlarkin@
2016-09-18On arm, set the "triple" to armv7-unknown-openbsdX.Y-gnueabi. This makes theMark Kettenis
compiler generate code for armv7 by default (giving us proper atomic operations) and selects the right default ABI. ok patrick@, tom@
2016-09-18tweak previous;Jason McIntyre
2016-09-18fix buildTheo de Raadt
2016-09-18Add manual for octuctl(4); from Rafael Neves <rafael at diskless dot io>.Ingo Schwarze
Tweaked by jmc@ and by me. OK visa@ (on a previous version) and OK jmc@ and Rafael Neves (author). MikeB@ supported the general direction.
2016-09-18The libedit regress tests require header files generated during theAlexander Bluhm
build. Add a dependency to run make depend in /usr/src/lib/libedit. Problem found by otto@; OK schwarze@
2016-09-18apply the canary to the correct variablePeter Hessler
2016-09-18Test should print SKIPPED if a package is missing.Alexander Bluhm
2016-09-18add a config file parser to acme-client (unused at the moment, so thatSebastian Benoit
it can be worked on in the tree). ok florian@ deraadt@
2016-09-18Convert imxccm(4) and imxiomuxc(4) to attach using the fdt. Use the "early"Mark Kettenis
locator to attach them before other drivers that might need their services. ok patrick@, jsg@
2016-09-18Use a locator (named "early") to let designated drivers attach before others.Mark Kettenis
ok patrick@, jsg@
2016-09-18unbreak IPv6 source selectionFlorian Obser
2016-09-18Bump boot loader versions due to bcrypt pbkdf support.Joel Sing
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.Joel Sing
Based on a diff from djm@
2016-09-18syncTheo de Raadt
2016-09-18We cannot use fputs(3) in passthrough() because the stdout streamIngo Schwarze
might be in stdio wide orientation due to prior formatting of an unformatted manual in man -aTutf8 mode. So for now, use fflush(3) followed by unbuffered write(2) instead. Fixes output corruption on glibc discovered on Linux while testing a diff to fix a loosely related bug reported by <jmates at ee dot washington dot edu>. I detest the concept of stdio stream orientation. One day, i will rewrite term_ascii.c to always use narrow streams, even in UTF-8 output mode. But that's too much work for today.
2016-09-18Switch the i386 floppy ramdisk to fdboot(8), now that it works correctly.Joel Sing
This will avoid overflow caused by upcoming changes to boot(8). ok deraadt@
2016-09-18Make sure an output device is allocated before calling terminal_sepline(),Ingo Schwarze
fixing a NULL pointer access that happened when the first of multiple pages shown was preformatted, as in "man -a groff troff". Crash reported by <jmates at ee dot washington dot edu> on bugs@, thanks!
2016-09-18Correctly handle short read()s in the libsa gzip handling lseek(). AlsoJoel Sing
avoid masking the errno from a failed read(). ok guenther@ tom@
2016-09-18simplify startup, since we know earlier which type of socket we needTheo de Raadt
ok florian
2016-09-18Fix a bug in the bounce buffer handling of BIOS disk I/O.Joel Sing
Currently, if a buffer crosses a 64KB boundary, a bounce buffer is allocated, however it is assumed that this new buffer does not cross the 64KB boundary. In the case of i386 fdboot, it just so happens that (due to the size of fdboot and heap allocations) UFS gets allocated a 4KB buffer that crosses a 64KB boundary, then biosd_io() allocates a bounce buffer, which also crosses a 64KB boundary. At this point the BIOS gets grumpy and refuses to read from the disk. Further clean up to come from tom@.
2016-09-18there's no reason to point readers to options(4) now;Jason McIntyre
2016-09-18whitespaceTheo de Raadt
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-18syncTheo de Raadt
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-18If running in verbose mode and no source address has been specifiedFlorian Obser
with -I find the kernel selected address and print it even for v4 addresses. OK phessler@, natano@, mpi@, claudio@, benno@, sthen@, millert@
2016-09-18Do not print 'ping6' in reporting output, just 'ping'.Florian Obser
OK tom@, natano@, claudio@, sthen@, millert@
2016-09-18merge form libc malloc:Otto Moerbeek
move page junking tp unmap(), right before we stick the region in the cache; ok tedu@
2016-09-18move page junking tp unmap(), right before we stick the region in the cache;Otto Moerbeek
ok tedu@
2016-09-18as is done on amd64, allow using CTF to lookup the function parameters.Jasper Lievisse Adriaanse
ok mpi@
2016-09-18- inline db_ctf_nsyms() into it's only caller. the value remains cached andJasper Lievisse Adriaanse
won't change, so there's no reason to call it again. - remove explicit return from void function ok mpi@
2016-09-18Kill p_env from proc.c. The p_env variable was not being used seriously andRafael Zalamena
it was always a copy of ps->ps_env. You might access the env variable now with: p->p_ps->ps_env. ok reyk@