summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-25For some options that are rarely needed in apropos(1) and man(1),Ingo Schwarze
delete the verbose descriptions and point to man(1) and mandoc(1), respectively, instead. That shortens the pages and makes them easier to read. Tweaks and OK jmc@, based in part on ideas from tedu@.
2017-03-25Introduce a new function to obtain properly sized input data, and convertMike Larkin
i8253/i8259/mc146818 emulation to use this.
2017-03-25More PCI extended capabilities handling in pcidump.Mike Larkin
From Simon Mages ok deraadt@
2017-03-25mention Opteron A1100 systemsJonathan Gray
2017-03-25mention fdt attachmentsJonathan Gray
2017-03-24Check that syslogd(8) is still running if non critical errors happenAlexander Bluhm
during startup.
2017-03-24Keep syslogd(8) running as long as possible. Regular programsAlexander Bluhm
should terminate early in case of an error. But if syslogd dies, no messages can be seen at all. Except from command line parsing and memory shortage during statup, report errors and run all working subsystems, but do not die. OK millert@ dreaadt@
2017-03-24correct my email address. thanks fcambus@Sebastian Benoit
2017-03-24Implement a driver for Marvell's AHCI controller. This is in essencePatrick Wildt
a generic AHCI controller with the twist that the MBUS window needs to be configured in the controller registers. This enables use of SATA on devices like the SolidRun ClearFog or Omnia Turris. ok kettenis@
2017-03-24Implement a driver for Marvell's XHCI controller. This is in essencePatrick Wildt
a generic XHCI controller with the twist that the MBUS window needs to be configured in the controller registers. This enables use of USB on devices like the SolidRun ClearFog or Omnia Turris. ok kettenis@
2017-03-24Simplify ASID allocation code considerably by allocating an ASID up frontMark Kettenis
when a pmap is created and freeing it when the pmap is destroyed. This diff relies on the fill 16-bit ASID space being implemented in the processor. While this is documented as an optional feature in the ARMv8 architecture reference manual, all ARMv8 processors seen in the wild so far implement the full 16-bit space. This change incorporates changes by drahn@ to allocate an empty page table for the lower half of the address space for the kernel. ok drahn@, patrick@
2017-03-24Use the right header sizes for reading .aiff and .au files, ok ratchovNicholas Marriott
2017-03-24There was a race in dosendsyslog() which resulted in a crash.Alexander Bluhm
sosend(syslogf->f_data, ...) could be called with a NULL pointer. syslogf was not NULL, f_data was NULL and f_count was 1. The file structure is ref counted, but the global variable syslogf is not protected. So it may change during sleep and dosendsyslog() possibly used a different socket at each access. Solution is to access syslogf only once, use a local copy, and do the ref counting there. OK millert@ deraadt@
2017-03-24Replace bcopy(3) with memmove(3) in function ttymsg(). Values ofAlexander Bluhm
iov and localiov may overlap. No more bcopy(3) in syslogd(8). from Michael W. Bombardieri
2017-03-24add a helper function to print all pools #ifdef MALLOC_STATSOtto Moerbeek
from David CARLIER
2017-03-24document new recallocarray diagnostic; zap a few diagnostics that shouldOtto Moerbeek
never occur
2017-03-24move recallocarray to malloc.c andOtto Moerbeek
- use internal meta-data to do more consistency checking (especially with option C) - use cheap free if possible ok deraadt@
2017-03-24Bump resolution of frequencies from kHz to Hz, since that is what thePatrick Wildt
clock frequency API expects. Fixes login prompt over serial console.
2017-03-24Write raw strings in one go rather than character at a time.Nicholas Marriott
2017-03-24Mainline u-boot on the ClearFog seems to insert an empty memory regionPatrick Wildt
into the /memory node which we happily physload into UVM. This leads to a quickly panic(9)ing system when there is actual physical memory starting at zero due to how the physeg array is sorted when using the binary search strategy. To fix this, do not physload an empty memory region. ok jsg@ kettenis@
2017-03-24Backout mlarkin's previous commit while he is away:Reyk Floeter
The newly-used function get_input_data() is missing and broke the tree.
2017-03-24Use C99 types (uint32_t) instead of BSD (u_int32_t) - the former areNicholas Marriott
more portable. Add stdint.h to the headers in imsg_init(3). No objections from millert@.
2017-03-24Last bits of cleanup for linux/seabios support in i8253/i8259 emulationMike Larkin
code.
2017-03-24Handle guest interruptibility state - Reset the interruptibility stateMike Larkin
VMCS field on vmentry when we advanced %rip on the last exit (simulating a real processor's behaviour). Handles guest "sti ; hlt" instruction sequences, which is used in seabios as a primitive idle loop construct.
2017-03-24Exit to vmd on byte size PCI accesses.Mike Larkin
2017-03-24Allow vmd to proceed after an interrupt occurred after retiring a cpuidMike Larkin
instruction. Matches previous commit to kernel vmm.c
2017-03-24Allow returns from vmd after handling cpuid exits (handles the case whereMike Larkin
a cpuid instruction was emulated at the same time there was an interrupt pending)
2017-03-24add viocon and a missing full stop in previous;Jason McIntyre
ok mlarkin
2017-03-24Show count of search results in copy mode.Nicholas Marriott
2017-03-24Add "supported targets" in lld --help output to be compatible with whatJonathan Gray
libtool generated configure scripts expect. Otherwise they might assume shared libraries aren't supported. From lld svn revisions 298568 and 298571. Discussed with kettenis@
2017-03-24Add "(compatible with GNU linkers)" to the lld version output to avoidJonathan Gray
problems with configure scripts generated with libtool.m4 that would otherwise have to be regenerated with a patched libtool. Among other things this fixes the build of Mesa on arm64 with lld. From lld svn revision 298532. ok kettenis@
2017-03-23mkdir(2) and mkdirat(2) can also fail with EACCESS if write permissionTodd C. Miller
is denied on the parent directory of the directory to be created. From FreeBSD. OK deraadt@ natano@
2017-03-23Set the maximum value of the msdos options to the value of LLONG_MAXPatrick Wildt
instead of ULLONG_MAX since the type of the comparison is using long long, which has a positive maximum of LLONG_MAX. The affected opts are of type off_t, which should have a maximum of LLONG_MAX anyway. Fixes makefs(8) on msdos with options "create_size" or "offset". ok natano@
2017-03-23Add tests for SA grouped in bundles.Alexander Bluhm
2017-03-23Replace manual loop with SRPL_FOREACH_SAFE_LOCKED macro.Alexander Bluhm
OK mpi@
2017-03-23Update to tzdata2017b from ftp.iana.orgTodd C. Miller
2017-03-23Allow to override location of ipsecctl tool with IPSECCTL environment.Alexander Bluhm
Useful for development testing without make install.
2017-03-23Fix printf() incantation for non-NULL terminated string.Kenneth R Westerback
Pointed out by florian@. ok bluhm@
2017-03-23It is perfectly valid to have a cert / key not owned by root; removeFlorian Obser
useless check. OK benno
2017-03-23pull root check up, the parser will bomb out anywayFlorian Obser
OK benno
2017-03-23Don't check for spamd_black twice in rc_pre and rc_start; just do everythingAntoine Jacoutot
in rc_pre. prodded by and ok jmc@, ok halex@
2017-03-23Remove some obvious statement in previous commitMike Larkin
2017-03-23Mention vmmci(4) in virtio man pageMike Larkin
2017-03-23Bump the emulated PCI MMIO range end to 0xFFFFFFFF. This slightlyMike Larkin
penalizes i386 guests who previously had memory allocated by vmd after 0xF0FFFFFF (the previous range end) but makes memory range calculation in vmd/mc146818 much much easier. This diff needs to be combined with the previous vmd diffs or you won't be able to create a vm with memory size larger than ~3855MB.
2017-03-23Implement memory size and SMP CPU count NVRAM registers in the emulatedMike Larkin
mc146818. This is needed for seabios to boot properly (and construct a sensible e820 map to send to the guest OS).
2017-03-23Various i8253/i8254 implementation improvements - Fix an error that usedMike Larkin
the wrong i/o latch index on reads (resulting in erratic counter values possibly being read). Also do proper return size setting (don't clobber %eax high bits). This diff also implements counter readback mode, which is used in seabios.
2017-03-23Various mc146818 emulation fixes - don't block interrupts needlessly, andMike Larkin
set proper return data size (don't clobber high %eax bits). Also apply a mask on incoming data (from OUT instruction in guest) to avoid misinterpreting register index values. Found when implementing Linux and seabios support.
2017-03-23use proper return data size when doing PIC reads - don't clobber %eaxMike Larkin
high bits.
2017-03-23set ps_noaction to not fork uneeded children when checking config with -nJonathan Gray
ok mikeb@ reyk@
2017-03-23Use explicit_bzero() to wipe out key material and add some sizes to free().Theo Buehler
ok stsp