summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-30Add regression tests for jot(1).Theo Buehler
Adapted from FreeBSD's test suite by attila () stalphonsos ! com. Minor tweaks: * make tests work properly with 'make obj' and setting VERBOSE * add 10 tests checking some examples in our man page * disable the dddd test for now since it loops forever Besides dddd, the following five tests fail: dhhd dhhd2 wp3 wp4 wp5 Suggested fixes for these are on tech@ Many thanks to attila for doing the hard work!
2016-07-30test suite for the new mandoc.db(5) format;Ingo Schwarze
will be enabled after committing in src/usr.bin/mandoc
2016-07-30Remove disabled jumbo frame checks. They will not be neededVisa Hankala
for jumbo frame support.
2016-07-30Drop a redundant parameter of octeon_eth_buf_free_work().Visa Hankala
2016-07-30Stop pretending we can still boot without an FDT. Remove the code pathsMark Kettenis
handling ATAGS and cleanup the early boot code. ok patrick@, tom@, jsg@
2016-07-30Remove compat code.Antoine Jacoutot
2016-07-30This is effectively a ksh(1) script.Antoine Jacoutot
2016-07-30Prep for relro: make sure it's off for any non-PIE stand/ programPhilip Guenther
ok millert@ kettenis@
2016-07-30old keys no longer neededTheo de Raadt
2016-07-29Add a periodic timer to workaround missing completion eventsMike Belopuhov
2016-07-29Disable receive ring slot accountingMike Belopuhov
In the Netfront case it appears that by having scheduler decide when to run the workload we don't need to involve additional mechanisms to artificially limit resource availability to achieve better performance under heavy load. On the contrary, by performing a single pass through Rx and Tx completion rings and having scheduler decide when to run the next attempt, we limit the amount of time spent in the packet processing and achieve system responsiveness.
2016-07-29Move xen interrupt handlers to dedicated task queuesMike Belopuhov
Handling receive and transmit for multiple networking interfaces in a "shared interrupt" within normal interrupt vector code path introduces too much delay from the hypervisor POV which prevents it from injecting further completion event interrupts for Rx and Tx queues. Additionally, Netfront backend driver includes a mechanism to detect Rx ring stalls and "turn the carrier off" when the guest is not replenishing the ring (e.g. due to missing completion interrupts) that relies on guest waking up periodically and making sure that the Rx ring completion handling is progressing. Having tried both task queue + timeout and interrupts + timeout approaches, it appears that using the task queue is more flexible and provides superior performance under heavy network load.
2016-07-29Loop until we've read all available responsesMike Belopuhov
2016-07-29add a check that the arguments to isavail don't overflow.Ted Unangst
callers should probably check too, but checking here won't hurt. possible panic reported by tim newsham. ok kettenis
2016-07-29Fix regression introduced by patch to CVE-2016-0718: Tag names were cut off ↵Remi Pointel
in some cases.
2016-07-29all of the update functions take a size_t. correct type and casts.Ted Unangst
ok deraadt millert
2016-07-29Update TX completion event index when putting a packet on the ringMike Belopuhov
2016-07-29Reduce the amount of sent RX producer notifications; from FreeBSDMike Belopuhov
2016-07-29Reduce the amount of sent TX producer notifications; from FreeBSDMike Belopuhov
2016-07-29max name servers is currently 5, not 3, apparently;Jason McIntyre
from remi locherer
2016-07-29Allow starting a VM again after it was terminatedStefan Kempf
If a VM exits, terminate it and remove it from the list of available VMs. That allows a VM with name `foo' to be restarted after it has exited. This changes structures shared between vmd and vmctl. You need to rebuild vmctl also. ok mlarkin@
2016-07-29Bump copyright in files that I touched last.Reyk Floeter
(btw. hostated-hoststated-relayd's 10th birthday is on Dec 16.)
2016-07-29Add support for common WebDAV methods; from httpd.Reyk Floeter
Found and tested by Michael Lechtermann OK benno@
2016-07-29log ip addresses as well in authentication phaseGiovanni Bechis
ok gilles@
2016-07-29Only flush the virtual page if it was actually mapped. OtherwisePatrick Wildt
we will run into translation faults. ok tom@
2016-07-29Reorder code to avoid a divide by zero when there are no sensors.Jonathan Gray
Tested by and ok mglocker@
2016-07-28Store the acpi processor ID/UID in struct cpu_info, and use it to attachMark Kettenis
acpicpu(4) drivers to the right cpu(4). ok mlarkin@, guenther@
2016-07-28rework realloc loop. there's no need to shrink the allocation betweenTed Unangst
calls. if we need a big space once, we'll likely need a big space again.
2016-07-28strncmp is a more reasonable way to check the beginning of a string.Ted Unangst
2016-07-28these programs probably do not need to use TMPDIR. ok florianTed Unangst
2016-07-28after getenv, check for empty string too. ok millertTed Unangst
2016-07-28Remove top level ring processing loops as too ambiguousMike Belopuhov
2016-07-28Typo in the installation notes, from Roman Yakovlev.Vadim Zhukov
Too bad this highly critical bugfix will miss release. okay deraadt@
2016-07-28remove note about command substitution and double quotes: it is probableJason McIntyre
that i misunderstood something when i wrote it; found by guenther and naddy
2016-07-28remove HISTORY: it was a nonsense;Jason McIntyre
2016-07-28some text cutting, after feedback from jsing;Jason McIntyre
2016-07-28replace hand rolled physlock with real rwlock. ok mlarkinTed Unangst
2016-07-28Use long labs(3) for pointer arithmetic.Alexander Bluhm
Found by David Hill with clang.
2016-07-28Revert previous commitMike Belopuhov
2016-07-28Revert previous commitMike Belopuhov
2016-07-28Convert ifq_deq_{begin,rollback,commit} dance to a single ifq_dequeueMike Belopuhov
2016-07-28firmware is the plural;Jason McIntyre
2016-07-28RMD160Update actually takes size_t lengthTed Unangst
2016-07-27better bounds check on iovcnt (we only ever use fixed, positive values)Damien Miller
2016-07-27Get interrupts going for the Allwinner-R8 chip.Marcus Glocker
ok kettenis@, patrick@
2016-07-27Remove a feature to re-use existing early bootstrap mappings. ThisPatrick Wildt
allowed you to pass a virtual address, which you received from an early bootstrap mapping, as physical address to bus_space_map(9). It breaks bus_space_map(9) for peripherals that are after 0xC0000000, as it assumes that everything after that address cannot be a real peripheral. But that's wrong. It does not make sense to pass a virtual address to bus_space_map(9) anyway, so just get rid of this whole "feature". ok kettenis@
2016-07-27Add interface to facilitate iterating over gpios.Mark Kettenis
ok patrick@
2016-07-27improve comments a bit. ok mlarkin tomTed Unangst
2016-07-27When pmap_page_remove() is called by UVM, a physical page is to bePatrick Wildt
removed from pmaps it currently is in. To check if a virtual address pointing to that physical page has been mapped, the code uses the l2pte_valid() function. Unfortunately there is a difference between being valid and the PTE being zero. If a page is mapped but has never been accessed, it will be non-zero but invalid. In that case the PTE for that virtual address will not be zeroed and the virtual address will be removed from the vm page struct. The next time someone tries to map a page to that virtual address, other pmap code will consider the virtual address to be already mapped, even though that assumption is completely wrong. To make sure this does not happen, check the PTE for zero. This way the PTE will be zeroed correctly. The check for zero is how other ARM pmap code also handles this issue. ok kettenis@ tom@
2016-07-27it should not be necessary for yacc to use TMPDIR, /tmp is good enough.Ted Unangst
ok beck deraadt guenther