summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-15clang warns on unused static const variables. Remove one such unusedJonathan Gray
variable so the kernel will build on arm64 again.
2017-05-15Document the new flow queue specificationMike Belopuhov
With input and OK sthen
2017-05-15Hook up FQ-CoDel to the tree and enable configuration in the pfctl(8)Mike Belopuhov
OK sthen, visa
2017-05-15Use splraise() rather than splsoftnet() which is going away.Martin Pieuchot
2017-05-15Replace remaining SPLUSBCHECK by a splsoftassert(IPL_SOFTUSB).Martin Pieuchot
USB is the last real user of IPL_SOFTNET.
2017-05-15Avoid a crash servicing requests when a server is configured withJonathan Gray
"block return 401". Problem reported by Jurjen Oskam. ok florian@
2017-05-15Make atomic.h ready to be included in userland.Martin Pieuchot
- keep setbits/clearbits inside _KERNEL ok visa@
2017-05-15The Konsole SU bug means it can't clear the entire scroll region (itNicholas Marriott
ignores if >= size, not if > as I first thought). So we can't effectively fix it in code - remove the workarounds which just cause bugs on other terminals.
2017-05-14delete the -a option, it's now fully covered by mandoc -Tlint;Ingo Schwarze
OK jmc@ wiz@
2017-05-14warn about punctuation between .Xr and .Rs in SEE ALSO;Ingo Schwarze
inspired by mdoclint
2017-05-14remove the -s option, it is fully covered by mandoc -Tlint;Ingo Schwarze
OK jmc@
2017-05-14Tweak previous: tb@ noticed that some browser/font combinationsIngo Schwarze
have so amazingly wide bold fonts (for the same nominal font size) that adding 15% to the column width still isn't sufficient to make text reliably fit, so go for 20%.
2017-05-14Align vioscsi's bus_dma* dancing with vioblk. EliminatesKenneth R Westerback
creating/destroying maps on each i/o. ok sf@, "makes sense" dlg@ as part of larger diff.
2017-05-14Default lpd spool directory is /var/spool/output/lpd.Antoine Jacoutot
reported by martin at martinbrandenburg dot com ok tb@
2017-05-13Return EADDRNOTAVAIL if UDP sendto(2) is used with a mapped address.Alexander Bluhm
OK mpi@
2017-05-13Check for mapped addesses in rip6_output() like it is done inAlexander Bluhm
udp6_output(). Move the EAFNOSUPPORT error from rip6_usrreq() to rip6_output() like it is done for UDP. OK mpi@
2017-05-13Do not check for locally bound mapped addresses in in6_pcbconnect(),Alexander Bluhm
this is done during bind(2) in in6_pcbaddrisavail(). OK mpi@
2017-05-13Do not check for mapped addresses in tcp_usrreq(PRU_CONNECT),Alexander Bluhm
this is done in in6_pcbconnect(). OK mpi@
2017-05-13Pick aes.c instead of rijndael.cMike Belopuhov
2017-05-13No more CD releases, and advertise HTTP rather than FTP for packages.Ingo Schwarze
Patch from <Timo dot Myyra at wickedbsd dot net>.
2017-05-13Handle drive strength.Mark Kettenis
2017-05-13Scroll the right number of lines off the region when clearing.Nicholas Marriott
2017-05-13Some other unused variables.Nicholas Marriott
2017-05-13- fix bug wrt posix_memalign(3) of blocks between half a page and a pageOtto Moerbeek
- document posix_memalign() does not play nice with reacallocarray(3) and freezero(3)
2017-05-12Compare >= for columns not >.Nicholas Marriott
2017-05-12Can scroll away full lines to clear them too.Nicholas Marriott
2017-05-12IPsec packets were passed through ip_input() a second time afterAlexander Bluhm
they have been decrypted. That means that all the IP header fields were checked twice. Also fragment reassembly was tried twice. At pf incoming packets in tunnel mode appeared twice on the enc0 interface, once as IP-in-IP and once as the inner packet. In the outgoing path pf only sees the inner packet. Asymmetry is bad for stateful filtering. IPv6 shows that IPsec works without that. After decrypting immediately continue with local delivery. In tunnel mode the IP-in-IP protocol functions pass the inner header to ip6_input(). In transport mode only pf_test() has to be called for the enc0 device. Introduce ip_local() to avoid needless processing and cleaner pf behavior in IPv4 IPsec. OK mikeb@
2017-05-12Unify duplicate code from address family switch in bridge_ipsec().Alexander Bluhm
Remove an if condition that cannot happen. OK mikeb@
2017-05-12Remove an unused variable.Nicholas Marriott
2017-05-12Reset updated flag when restarting job so new output is detected,Nicholas Marriott
reported by Gregory Pakosz in GitHub issue 922.
2017-05-12subtract one sector from the disk size before passing it back to theJoshua Stein
scsi layer, which will add one sector back fixes incorrect disk size reporting which was causing fdisk to create a protective MBR of one too many sectors, which caused our EFI bootloader to fail to recognize it as a GPT disk ok dlg
2017-05-12No more CD-ROM releases, and advertise HTTP forIngo Schwarze
package download rather than FTP. Based on a patch from <timo dot myyra at wickedbsd dot net>, tweaked by me.
2017-05-12Use the common switch(af) construct for address family specificAlexander Bluhm
code in tcp_usrreq(PRU_CONNECT). Do not access sockaddr_in before checking the address family. Return EAFNOSUPPORT error in the default case. OK mikeb@
2017-05-12queue is not owned by _smtpd but _smtpq so a bug in lookup process does notGilles Chehade
allow read/write of envelopes and messages, unfortunately the purge_task() function which is in charge of garbage collecting left-overs from aborted transactions is still executed as _smtpd preventing it from working. issue reported by Philippe Meunier, fix from Edgar Pettijohn
2017-05-12Make copyin(9) and copyout(9) atomic for naturally aligned 32-bit words.Mark Kettenis
ok mpi@, visa@
2017-05-12Export delay statistics instead of bucket informationMike Belopuhov
2017-05-12Replace memset(3) with explicit_bzero(3) on user(8) on sensitive dataRicardo Mestre
(passwords) as soon as they are not needed on memory anymore. OK millert@
2017-05-12Make the tag column in .Bl -tag lists wider:Ingo Schwarze
1. I forgot about the 2n padding between tag and body. 2. The factor 1.1 was too small for bold fold, make it *1.15 + 1n. Ugliness spotted by tb@.
2017-05-12Fix the man.cgi target after the recent file additions;Ingo Schwarze
this didn't break the build because it's not built by default.
2017-05-12When expanding a line in order to clear it, we need to use the defaultNicholas Marriott
background colour - there may be portions that we do not want to clear with the new background colour.
2017-05-12Make the markup of negative parameters consistently use .Cm;Ingo Schwarze
those are command modifiers, not flags. Inconsistency noticed and patch sent in by Anton dot Lindqvist at gmail dot com.
2017-05-12Make sure we have a valid URL in /etc/installurl to prevent ending up stuck inAntoine Jacoutot
ftp(1) interactive mode. reported by and OK sthen@
2017-05-12Need to store bg for ECH.Nicholas Marriott
2017-05-12Improve UTF-8 handling on lines that are wider than the terminal,Ingo Schwarze
in two respects: 1. During output in x_e_putc(), when counting display columns, skip UTF-8 continuation bytes. Fixes backward movements that cause horizontal scrolling. 2. After deleting characters, recalculate the last byte that fits on the line. Patch from <Anton dot Lindqvist at gmail dot com> on tech@. OK millert@ tb@
2017-05-12Instead of printing a debug message at the end of processing, panicAlexander Bluhm
early if the IPsec security protocol is unknown. ipsec_common_input() and ipsec_common_input_cb() can only be called with the IP protocols ESP, AH, or IPComp. Everything else is a programming mistake. OK claudio@
2017-05-12Cannot rely on cursor position after DL and IL (some terminals move toNicholas Marriott
column 0, some do not).
2017-05-12Use the IPsec policy check from ipv4_input() also when forwardingAlexander Bluhm
in ip6_input(). While there avoid an ugly #ifdef in ipv4_input(). OK mikeb@
2017-05-12Make a kernel with switch(4) but without INET6 compile again.Alexander Bluhm
Sprinkle some #ifdef INET6 and do not use in6addr_any from the netinet6 code. test and OK rzalamena@
2017-05-12Need to clear tty context before using it.Nicholas Marriott
2017-05-12Only redraw single client, and tweak some logging.Nicholas Marriott