summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-04Be more strict about escape sequences that rename windows or set titles:Nicholas Marriott
ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
2017-06-04Support SIGUSR2 to stop and start logging for an existing server. AlsoNicholas Marriott
we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v.
2017-06-04Typo/style; plus man page escaping from jmc.Nicholas Marriott
2017-06-04Re-arrange struct bus_dmamap membersStefan Fritsch
This reduces holes/padding and makes the struct smaller by 8 bytes. ok kettenis@
2017-06-04update link to Ken Kato's vmware backdoor protocol documentationJonathan Matthew
from Seth Jackson
2017-06-04use htolem32 and lemtoh32 instead of htole32 and letoh32.David Gwynne
saves about half a k on sparc64.
2017-06-04Pure preprocessor implementation of the roff(7) .ec and .eo requestsIngo Schwarze
(escape character control), touching nothing after the preprocessing stage and keeping even the state variable local to the preprocessor. Since the escape character is also used for line continuation, this requires pulling the implementation of line continuation from the input reader to the preprocessor, which also considerably shortens the code required for that. When the escape character is changed, simply let the preprocessor replace bare by escaped backslashes and instances of the non-standard escape character with bare backslashes - that's all we need. Oh, and if anybody dares to use these requests in OpenBSD manuals, sending a medium-sized pack of axe-murderes after them might be a worthwhile part of the punishment, but probably insuffient on its own.
2017-06-03config -e mode should match our other policies which ensure og-rwx /bsd.Theo de Raadt
pointed out by brynet
2017-06-03We have been running a small awk program before installing the relinked libc.Theo de Raadt
Perform the same kind of test for relinked libcrypto, using an openssl sequence (proposed by sthen)
2017-06-03Immediately after mounting / read-write, chmod og-rwx the kernel. RemoteTheo de Raadt
prying eyes were already been hindered at determining kernel addresses, now local prying eyes are also hindered. ok tb rpe
2017-06-03After installing, chmod og-rwx {/bsd bsd.mp bsd.sp bsd.rd }Theo de Raadt
(Should we make them kmem readable? Let's ignore that for now and see if any issues surface). ok tb rpe
2017-06-03kernels in compile dirs are readonly, and the bsd.rd we created hasTheo de Raadt
tracked that permission. Make the copy in $RELEASEDIR a+r
2017-06-03kernels in compile dirs are og-rwx, so need to make them readable inTheo de Raadt
$RELEASEDIR ok tb rpe
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@