summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-03Create gap.S and gap.o with umask 077. Create lorder and bsd* with umask 007.Theo de Raadt
Prying eyes cannot look at the kernels in the compile directory. ok tb rpe, kernel developers seem unimpacted
2017-06-03".section .bss" is portable to more platforms than plain ".bss"Theo de Raadt
2017-06-03use .balign instead of .align, it is portable to more architecturesTheo de Raadt
discussed with patrick
2017-06-03Make set-clipboard a three-state option so tmux itself can ignore theNicholas Marriott
sequencess.
2017-06-03ignore blank lines in man(7) next line scope;Ingo Schwarze
strange groff edge case behaviour found in multimedia/mjpegtools
2017-06-03Add a few sizes to free().Theo Buehler
Input, help & ok stsp
2017-06-03delete -n option, now covered by mandoc; OK jmc@Ingo Schwarze
2017-06-03enable -Wstyle by default in -Tlint; OK jmc@Ingo Schwarze
2017-06-03Add missing NET_LOCK().Martin Pieuchot
Found by jmc@
2017-06-03Explicitly zero out the wepseed for TKIP and WEP.Theo Buehler
ok stsp
2017-06-03syncFlorian Obser
2017-06-03Move slaacd to /sbinFlorian Obser
jca points out that all the other interface configuration tools live there (like ifconfig or dhclient). Furthermore it starts so early in the boot process that /usr might not be mounted yet if it's a nfs filesystem. sthen and deraadt agree
2017-06-03vioblk/virtio: Re-arrange some struct membersStefan Fritsch
This reduces holes/padding and makes the structs smaller.
2017-06-03Foreground colours with the bright attribute set need to use the brightNicholas Marriott
entries in the palette. GitHub issue 954.
2017-06-03Avoid printing garbage when aborting a program that tries to use aTheo Buehler
prohibited sysctl. ok deraadt
2017-06-03use proper name for LPIAlexander Hall
2017-06-03fix spelling in a handful of the Swedish entriesAlexander Hall
2017-06-02Perform grant table page allocation outside of the table mutexMike Belopuhov
witness(4) has found that km_alloc will trigger an rw_enter via uvm_map and vm_map_lock. While rw_enter is called with RW_SLEEPFAIL, there's also an msleep in there, so it's easier to avoid getting in the middle of that.
2017-06-02Use += instead of = for extra flag. Prompted by miod@Otto Moerbeek
2017-06-02Fix an infinite loop in fortune(6).Frederic Cambus
When invoking fortune with the -l option (to get long dictums only), the program gets stuck in an infinite loop because fortlen() doesn't return the fortune length correctly. OK mestre@, tb@, deraadt@, schwarze@
2017-06-02Partial implementation of \h (horizontal line drawing function).Ingo Schwarze
A full implementation would require access to output device properties and state variables (both only available after the main parser has finalized the parse tree) before numerical expansions in the roff preprocessor (i.e., before the main parser is even started). Not trying to pull that stunt right now because the static-width implementation committed here is sufficient for tcl-style manual pages and already more complicated than i would have suspected.
2017-06-02regenMark Kettenis
2017-06-02Intel HD Graphics 510.Mark Kettenis
2017-06-02Scale the missed beacon counter threshold to the AP's beacon interval.Stefan Sperling
This should make fading APs time out consistently regardless of what the beacon interval is set to (range is 1 to 2^16 TU, though in practice 100 TU seems to be a common value). Print the beacon interval and missed beacon counter threshold to dmesg if the DEBUG flag was set on the wireless interface with ifconfig(8). This should help with diagnosing any issues that pop up. Requested and diff eye-balled by kettenis@ help & ok tb@ phessler@
2017-06-02Remove a bogus run_read() call about getting MAC version.Kevin Lo
ok stsp@
2017-06-02typo; meant to say locore0.STheo de Raadt
2017-06-02add about 15 missing character escape sequences found in groff_char(7);Ingo Schwarze
triggered by multimedia/mkvtoolnix mkvmerge(1) using \(S2
2017-06-02When iwm(4) firmware reports missed beacons, send a probe request onlyStefan Sperling
if ic_mgt_timer indicates that we're not already waiting for a response. Fixes a flood of probe requests sent out while the interrupt kept firing. Also, byteswap the missed beacon counter value when reading it. ok mpi@
2017-06-02When iwn(4) firmware reports missed beacons, send a probe request onlyStefan Sperling
if ic_mgt_timer indicates that we're not already waiting for a response. Fixes a flood of probe requests sent out while the interrupt kept firing. Also, read the missed beacon counter value after DMA sync. ok mpi@
2017-06-02Attach the xhci(4) FDT driver to the generic-xhci compatible as well.Patrick Wildt
2017-06-02Synonym -Wno-cpp for -Wno-#warnings. That one is not a headache forMarc Espie
scripting. (got it into upstream, it's just a backport) okay kettenis@, patrick@
2017-06-02handle 64bit dva in the tx path as well as the rx path.David Gwynne
2017-06-02rationalise the long list of manual CDIAGFLAGS that we add; most ofDamien Miller
these were redundant to -Wall -Wextra
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-06-02only update the tx descriptors high address if it changes.David Gwynne
this should effectively double (or restore?) the number of packets that can be fit on the tx ring. tested on an od1000.
2017-06-02be less tricky about when ifq_free is handled.David Gwynne
instead of assuming start routines only run inside the ifq serialiser, only rely on the serialisation provided by the ifq mtx which is explicitly used during ifq_deq ops. ie, free the mbufs in ifq_free at the end of ifq_deq ops instead of in the ifq_serialiser loop. ifq deq ops arent necessarily called within the serialiser. this should fix panics caused by fq codel on top of bce (which calls bce_start from it's tx completion path instead of ifq_restart). ok mikeb@
2017-06-01reorder ops in sk_start to avoid possibly rolling back ifq_deq.David Gwynne
instead of checking for space after beggining to deq a packet, check for space before committing to handling a packet. this means we can use ifq_dequeue instead of ifq_deq_begin/commit/rollback. this is a port of src/sys/dev/pci/if_sk.c r1.187, but tweaked to account for msk using twice the tx ring descriptors thanks to its annoying support for 64bit addresses. tested on an od1000 ok jmatthew@ sthen@
2017-06-01reorder ops in sk_start to avoid possibly rolling back ifq_deq.David Gwynne
instead of checking for space after beggining to deq a packet, check for space before committing to handling a packet. this means we can use ifq_dequeue instead of ifq_deq_begin/commit/rollback. ok mikeb@
2017-06-01Pass the correct dma tag to the load buffer function. Passing t onlyPatrick Wildt
passes the tag where the pointer to the simplebus_dmamap_load_buffer() wrapper is stored in. We want to call the load buffer function that was passed from our parent device, so we have to pass the parent's tag. Otherwise we end up in a recursive and neverending loop. This only occurs when a simplebus attaches to a simplebus, which we apparently didn't have so far.
2017-06-01The fact is simple: Subshells have the same PPID as the current shell.Theo Buehler
What is not so simple is squinting hard enough to conclude that POSIX actually says that. I'm still not sure how to do that. Problem with the shell manual pointed out by "Choose a display name". ok otto, halex, jmc
2017-06-01Revert 1.16 ("add a workaround for the rebound portjacking hijinks"),Stuart Henderson
it breaks at least nslookup, host, dig +tcp.
2017-06-01Minimal implementation of the \h (horizontal motion) escape sequence.Ingo Schwarze
Good enough to cope with the average DocBook insanity.
2017-06-01STYLE message about full stop at the end of .Nd; inspired by mdoclint(1)Ingo Schwarze
2017-06-01Expand $eapid in iked tags, allowing PF rules to be written based on EAPStuart Henderson
identity (username). OK mikeb@
2017-06-01Delete -f. What matters is covered by mandoc.Ingo Schwarze
OK jmc@ wiz@
2017-06-01Return time_uptime as value for when pf was enabled instead ofPatrick Wildt
time_second. Since time_second changes depending on the wall- clock time, time_second is not a reliable source for the status. We can even end up with a negative time delta. Thus, use the monotonically growing time_uptime and export it to userland. ok bluhm@ mikeb@
2017-06-01mention /var/db/acpi; diff from Jan Stary <hans at stare dot cz>;Ingo Schwarze
OK deraadt@
2017-06-01Remove branch prediction hint from conditional branch instruction.Christian Weisgerber
These hints are not recognized by clang's builtin assembler. From the corresponding amd64 change. ok visa@ kettenis@
2017-06-01Don't panic when we cannot locate a handle for the Serial IO protocol.Patrick Wildt
Fixes reports on tech and in private. ok yasuoka@ stsp@
2017-06-01Sync with amd64 and allow building the i386 bootstrap with clang:Christian Weisgerber
* build with -ffreestanding * skip the integrated assembler for assym.h * use as(1) to build biosboot.S and the various versions of srt0.S ok kettenis@