summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-19tweak partition sizes for auto-alloction to better suit 8G disksOtto Moerbeek
ok kr@ aja@
2017-05-19Make monitor work with athn(4) on my 3T3R AR9380 device.Stefan Sperling
This card can now receive packets. Transmit is still broken and Kevin Lo reports that his 2T2R AR9380 device cannot receive yet.
2017-05-19Make rtwn(4) add frames which failed to transmit to AMRR's transmit counter.Stefan Sperling
More closely matches what other drivers are doing.
2017-05-19Make rtwn(4) support fixed transmit rates set with ifconfig(8).Stefan Sperling
Useful for development and testing but not recommended for regular usage.
2017-05-19Change PF behavior to allow MLD Listener Report packets to be sentRafael Zalamena
without needing a previously created state by MLD Listener Query. It wasn't working because: (1) you might not have a previous MLD Listener Query and (2) the addresses of the Query and Report don't match. ok mikeb@, sashan@
2017-05-19Fix R92C_USTIME_TSF register definition.Stefan Sperling
According to Kevin Lo it was wrong (and is also wrong in the Linux driver). FreeBSD made the same change in r282623. Patch by Kevin Lo.
2017-05-19replace tabs with spaces, for consistency, in the BNF display;Jason McIntyre
from michal mazurek
2017-05-19Add some comments about the assumptions of the scsi mid layerStefan Fritsch
ok krw@
2017-05-19Silence a whole slew of clang warnings by doing a no-op in the crazyTheo Buehler
internal obfuscation scheme the other way around, thereby avoiding a signed underflow. ok mestre
2017-05-19Respect max VPID/ASID limits. VMX VPIDs are capped at 4095, for now.Mike Larkin
2017-05-19header updates from kevlo;Jason McIntyre
2017-05-19return EIO to vmd if the guest HLTs with interrupts disabledMike Larkin
2017-05-19Add input targeted at the Bentley and McIrlroy quicksort generatedTodd C. Miller
by McIlroy's "A Killer Adversary for Quicksort". This results in quadratic behavior and the test aborts before completion.
2017-05-19Replace __cpu_cas() with atomic_cas_ulong().Visa Hankala
OK kettenis@
2017-05-19Implement copyin32(9) for mips64.Visa Hankala
OK kettenis@
2017-05-19tweak the spllower asm so it is more straightforward.David Gwynne
this properly identifies the registers used as input and output operands to the code running in the trap handler, and passes them to the asm statement as such. this means we dont have to do an extra copy in the asm, or an extra clobber to keep the compiler away from the registers. it also lets gcc set up and use the input register nicely before it reaches the asm. ok kettenis@
2017-05-18Add a gap of 1MB between the stack and mmap spaces.Mark Kettenis
ok deraadt@, millert@, stefan@
2017-05-18Implement copyin32(9).Mark Kettenis
"your chicken scratches look fine to me" deraadt@
2017-05-18use mergesort instead of heapsort when comparing resultsTodd C. Miller
2017-05-18Grab the netlock in umb_state_task() and umb_decode_ip_configuration()Alexander Bluhm
when calling in_ioctl(). These ioctls modify the routing table, which is global. So they need the lock. Found with Zaur Molotnikov's static lock analyzer. OK gerhard@ mpi@
2017-05-18syncTheo de Raadt
2017-05-18enable acpisbs on i386 for old MacBooksJoshua Stein
tested by Jan Stary
2017-05-18document installpath, explain PKG_PATH defaults in terms of it.Marc Espie
2017-05-18introduce new url "installpath" to mean "the contents of installurl"Marc Espie
use it to simplify logic. have ./ always be silent, wherever it may come from. zap NOINSTALLPATH since it's more intuitive to just define PKG_PATH= (nothing) now.
2017-05-18Don't pass `-m' to ftp(1). Instead let isatty() decide whether we display theAntoine Jacoutot
progress bar or not for better cron(1)/logger(1) output. req. by henning@
2017-05-18better describe "!";Jason McIntyre
from michal mazurek, tweaked a bit by myself
2017-05-18Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> inMartin Pieuchot
<netinet/tcp_debug.h>. The IPv6 variant was always included and the IPv4 version is not present on all systems. Most of the offending ports are already fixed, thanks to sthen@!
2017-05-18The function name ip4_input() is confusing as it also handles IPv6Alexander Bluhm
packets. This is the IP in IP protocol input function, so call it ipip_input(). Rename the existing ipip_input() to ipip_input_gif() as it is the input function used by the gif interface. Pass the address family to make it consistent with pr_input. Use __func__ in debug print and panic messages. Move all ipip prototypes to the ip_ipip.h header file. OK dhill@ mpi@
2017-05-18Since copyin(9) already doeas access 32-bit quantities atomically, we canMark Kettenis
add copyin32(9) as a simple C wrapper around it. These wrappers do check alignment and return EFAULT if the userland pointer is misaligned. This is enough to guarantee that the access doesn't cross a cache line boundary which could make the access non-atomic. ok mpi@, visa@, tedu@
2017-05-18Add copyin32(9) prototype.Mark Kettenis
2017-05-18Fix a uvm fault in athn_clock_rate():Stefan Sperling
Don't deref an IEEE80211_CHAN_ANYC channel pointer. ok mpi@
2017-05-18Do not panic if we find ourself on the sleep queue while being SONPROC.Martin Pieuchot
If the rwlock passed to rwsleep(9) is contented, the CPU will call wakeup() between sleep_setup() and sleep_finish(). At this moment curproc is on the sleep queue but marked as SONPROC. Avoid panicing in this case. Problem reported by sthen@ ok kettenis@, visa@
2017-05-18AAPCS64 requires 16 byte stack alignment. Set the bits in the systemJonathan Gray
control register to enable alignment fault exceptions if the stack pointer is not correctly aligned when used as a base address in load or store instructions. drahn@ pointed out that FreeBSD made this change in svn rev 295270 and believes we should do the same.
2017-05-18When an array of PCIe extended cability strings was added it missedJonathan Gray
some offsets, leading to the wrong strings being used in some cases. Add the missing strings. ok mpi@ deraadt@ millert@
2017-05-18Fix kernel build on armv7 and sh.Visa Hankala
Pointed out by deraadt@
2017-05-17Delete the -T xhtml command line option.Ingo Schwarze
It has been obsolete for more than two years. Use -T html.
2017-05-17Fix documentation bug:Ingo Schwarze
man(1) does not ignore manpath directories lacking mandoc.db(5) files; instead, it uses filename lookup to find manuals in such directories.
2017-05-17Modernize an example showing antiquated syntax,Ingo Schwarze
and delete an example showing the arcane -W stop option.
2017-05-17*Add* a test checking that no empty databases get created,Ingo Schwarze
by *removing* one line from the Makefile. Neat, isn't it?
2017-05-17Never create empty databases.Ingo Schwarze
When pkg_add(1)ing packages installing manual pages into some directory, the database in that directory automatically gets created or updated, no change so far. This patch causes the database file to be automatically unlinked when pkg_delete(1)ing the last package having manual pages in that directory, to leave less cruft behind. Suggested by ajacoutot@.
2017-05-17Stop testing the creation and the properties of empty databases.Ingo Schwarze
They are about to be deprecated. For the tests built on top of them, use a database containing a single page instead.
2017-05-17Avoid running the "killer" tests multiple times with the sameTodd C. Miller
parameters.
2017-05-17Add "median of three" killer, as seen in "Introspective Sorting andTodd C. Miller
Selection Algorithms" by David R Musser.
2017-05-17Do not warn if a database file does not existIngo Schwarze
because that is simply equivalent to an empty database. Suggested by ajacoutot@
2017-05-17Approximate nlgn instead of using libm. The same approximation mayTodd C. Miller
be used in qsort.c in a later commit.
2017-05-17Add "killer" input from "algorithmic complexity attacks and libcTodd C. Miller
qsort()". This causes quadratic behavior with the 4.4BSD qsort's "switch to insertion sort" optimization when the input appears to be mostly sorted. That optimization was removed in qsort.c r1.12 but it is worth having in the regress test too.
2017-05-17Revert MI AES-XTS code back to T-tables amid poor performanceMike Belopuhov
Suffered by many, the revert tested by stsp@.
2017-05-17Delete pointless width calculation for SYNOPSIS .Nm block heads.Ingo Schwarze
Just let HTML <table> do its work of selecting the needed width. <Anton dot Lindqvist at gmail dot com> reported that the manually calculated width was insufficient in some manual pages.
2017-05-17The BSD qsort() performs tail recursion elimination on the secondTodd C. Miller
side of the array being partitioned to save on stack space. Greater savings can be gained by choosing recursion for the smaller side of the partition and eliminating recursion for the larger side. This also results in a small but measurable performance gain. OK otto@ schwarze@
2017-05-17The large and nested GIF #ifdef in protosw made it hard to figureAlexander Bluhm
out what is going on. There were also some inconsistencies that seem to be oversights. Use more specific the #ifdefs. OK mpi@