summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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@
2016-09-18add missing call to db_ctf_init().Jasper Lievisse Adriaanse
this was part of the larger diff that was ok guenther@ mpi@, somehow I forgot to commit this particular piece.
2016-09-18Go down the right path in the _LIBUNWIND_ARM_EHABI case.Mark Kettenis
ok patrick@
2016-09-18Fix compilation by replacing old m_copym2() usage with the newerRafael Zalamena
m_dup_pkt(). While at it: fix comment and use m_dup_pkt() to align packets instead of swofp_mbuf_align(). ok mikeb@, yasuoka@
2016-09-18Use unified syntax such that this compiles with both gcc and clang.Mark Kettenis
ok jsg@
2016-09-18minor tweaks;Jason McIntyre
2016-09-18Ensure that the device descriptor ``bMaxPacketSize'' value is usableMartin Pieuchot
before using it as the ``wMaxPacketSize'' of the default endpoint. This prevents host controller drivers from using incorrect value, in particular 0, that makes ehci(4) crash. While here do the 0xff -> 512 conversion for super speed devices. Crash found with a facedancer21. ok deraadt@
2016-09-18Use ${INSTALL} instead of install, like in all the other Makefile's.Martin Natano
ok guenther
2016-09-18add some barebones manual pagesJonathan Gray
2016-09-18unbreak the build by including stddef.h for the definition of NULLJonathan Gray
fix suggested by and ok guenther@
2016-09-17For now, force soft-float; our kernel doesn't support saving the FPU state yet.Mark Kettenis
ok patrick@
2016-09-17backwards if(v6flag); pointed out by naddyFlorian Obser
2016-09-17Report a LAPIC address override entry in the dmesg if it doesn't matchPhilip Guenther
the normal one ok kettenis@ mlarkin@
2016-09-17Add an interface to find the ARM.exidx table for use by the ARM EHABI unwinder.Mark Kettenis
Makes exceptions work in C++ code work again om armv7. ok guenther@
2016-09-17pathnames for cert and key files need to be quoted.T.J. Townsend
reported by brynet
2016-09-17Make the flag tests consistent in buf_realloc_pages() and explain what'sPhilip Guenther
going on more clearly ok beck@ tedu@
2016-09-17... and we have unification.Florian Obser
"Das tritt nach meiner Kenntnis... ist das sofort... unverzueglich..."
2016-09-17unhook ping6 from the buildFlorian Obser
2016-09-17Merge ping6(8) manual into ping(8).Florian Obser
Tweak & OK jmc@
2016-09-17replace two arc4random loops with arc4random_bufTed Unangst
ok deraadt natano
2016-09-17rename ddb/db_ctf.h to sys/ctf.h which is the expected location for the publicJasper Lievisse Adriaanse
CTF bits. ok kettenis@ mpi@
2016-09-17move the .SUNW_ctf section name definition to exec_elf.h and document it in ↵Jasper Lievisse Adriaanse
elf(5) feedback from guenther@ ok guenther@ kettenis@
2016-09-17Fix types for OpenBSD/arm.Mark Kettenis
ok stefan@, jsg@, patrick@
2016-09-17Add missing build infrastructure for arm.Mark Kettenis
ok patrick@, jsg@, pascal@
2016-09-17Use the asm global register extension for the TCB pointer in userspacePhilip Guenther
as it's simpler to understand and generates better code. ok kettenis@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2016-09-17remove comment about CMS; ok jsingTheo de Raadt