summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-10Delete support for military timezones in %z (A-I and K-Y).Ingo Schwarze
They were originally defined in one way, then RFC822 erroneously redefined them the opposite way, then RFC5322 said they can no longer be used reliably. So return NULL like FreeBSD, DragonFly, glibc, and musl do. Issue reported by Hiltjo Posthuma <hiltjo at codemadness dot org>. Deletion suggested by tedu@ and deraadt@. Feedback and OK on the patch from tedu@.
2019-05-10Browsers using SAN instead of CN in Subject is now more than just "someStuart Henderson
new browsers" and it's a strict requirement rather than just deprecating cn; adjust the text accordingly. ok reyk@
2019-05-10Move bridge_filterrule() before doing the mbuf copy. Fixes a memory leakClaudio Jeker
when multiple interfaces do MAC filtering. Memory leak reported by Daniel Levai With and OK mpi@
2019-05-10syncStuart Henderson
2019-05-10vmm(4) was removed from share/man/man8/man8.i386/MAKEDEV.8 but not theStuart Henderson
input file or MAKEDEV script itself; sync up the input file. req by jmc@
2019-05-10Add support for from/to in relay filter rules.Reyk Floeter
For example, pass from 10.0.0.0/8 path "/hello/*" forward to <b> Ok benno@
2019-05-09Test IPv6 raw sockets with checksum calculation in kernel.Alexander Bluhm
2019-05-10Backout latest, commited by mistake.Alexandre Ratchov
2019-05-10Use the correct length for MIDI common messages.Alexandre Ratchov
2019-05-10Don't try to send to device helper process if it's terminated.Alexandre Ratchov
2019-05-10simplify logic after wakeup since this variable is only manipulatedBob Beck
under lock ok guenther@
2019-05-10Simplify the detection for installed python and scapy. RefactorAlexander Bluhm
these tests to make them similar. Use the setup and cleanup variables.
2019-05-10Check for nowait failed *after* the wakeup point, not before.Bob Beck
ok guenther@
2019-05-10Add more flags to the debug bitmaskPhilip Guenther
ok mpi@
2019-05-10Apply retpoline protection to the indirect call to the thread startfuncPhilip Guenther
ok mortimer@
2019-05-10Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>Philip Guenther
ok krw@, jsg@
2019-05-10tweak verbosity; ok ccardenas@Christian Weisgerber
2019-05-09Drop reference to sparc and expand 'VAC' so the comment makes sensePhilip Guenther
to semi-gurus
2019-05-09Add a test vector for Streebog 512 from Guido VrankenTheo Buehler
2019-05-09Fix incorrect carry operation in 512 bit addition: in the caseTheo Buehler
that there is already a carry and Sigma[i-1] == -1, the carry must be kept. From Dmitry Eremin-Solenik. Fixes incorrect Streebog result reported by Guido Vranken.
2019-05-09Test IPv6 raw sockets with checksum calculation in kernel.Alexander Bluhm
2019-05-09This no longer uses utime(3), so it doesn't need <utime.h>Philip Guenther
2019-05-09Don't ignore configured netmask/prefixlen on restartingKenneth R Westerback
an install. Use the info as default answers in relevant questions.
2019-05-09Neither rde_apply_set() nor rde_filter() are called with a NULL state soClaudio Jeker
remove some unneeded == NULL checks. OK benno@
2019-05-09If mallocing the array program header fails, give up on coredumpingPhilip Guenther
instead of panicing ok deraadt@, tedu@, mpi@
2019-05-09Simplify v4_config() and v6_config() by getting updated informationKenneth R Westerback
via [v4|v6]_info() after calling ifconfig. As a side effect 'inet' lines in hostname.if will always use the hex format for the netmask, i.e. as displayed by ifconfig(8).
2019-05-09Add a -k flag to keep the files in /home/_sysupgrade, since theyChristian Weisgerber
will be deleted after the upgrade by default. ok kn@
2019-05-09sysupgrade already verifies all sets, so eliminate redundantChristian Weisgerber
verification by the installer: Verification is triggered by the presence of SHA256.sig. In sysupgrade, remove SHA256.sig once the signature has been verified. Compare SHA256 against a stored copy from the previous install/upgrade. In the installer, stash away a copy of SHA256 and move that code into install_files() where the sets are actually processed. Confirm in the response file that we want to proceed without verifying the sets. ok florian@ tj@
2019-05-09Ensure that pagedaemon wakeups as a result of failed UVM_PLA_NOWAITBob Beck
allocations will recover some memory from the dma_constraint range. The allocation still fails, the intent is to ensure that the pagedaemon will free some memory to possibly allow a subsequent allocation to succeed. This also adds a UVM_PLA_NOWAKE flag to allow special cases in the buffer cache to not wake up the pagedaemon until they want to. ok kettenis@
2019-05-09Unlock adjfreq(2), adjtime(2), clock_settime(2), and settimeofday(2).cheloha
clock_settime(2)/settimeofday(2) still need KERNEL_LOCK for a moment when resetting the RTC, as that's done periodically from a task under KERNEL_LOCK. Not quite sure how to approach that one yet. ok visa@ mpi@, "good stuff" tedu@, "please wait until after [tree] unlock" deraadt@
2019-05-09compare now wants a state object, so make it.Marc Espie
noticed by bluhm@
2019-05-09rm lists of hereditary wizards and bad users to ensure level playing fieldTed Unangst
ok benno mlarkin tb
2019-05-09set up IFP using the gen3 path on pineviewJonathan Gray
Avoids crashes on boot with pineview on chipset flush due to IFP not being initialised. Diagnosed by, tested by and ok ratchov@ ok kettenis@
2019-05-09Measure poll interval with monotonic clock. ok jcs@cheloha
2019-05-09Stop tromping over the saved interface configuration whenKenneth R Westerback
invalid address or netmask/prefixlen values are entered. Keeps the presented default values sane in the face of cats or otherunintended keyboard events.
2019-05-09add free sizesSebastien Marie
ok tedu@
2019-05-09Shuffle code to make v4_config() and v6_config() look evenKenneth R Westerback
more like each other.
2019-05-09Shuffle code a bit to consistently call 'ifconfig $_if [-inet|-inet6]' toKenneth R Westerback
completely clear existing configurations after restarting an install.
2019-05-09Correctly mask status bits in iwm's ADD_STA command response; remainingStefan Sperling
bits are used by firmware to return the BAID for a BA session. matches: Dragonfly 74d41163ddac72b0d7ea7b7873d53fe134723a12 Linux 837c4da98481d4e504b2aba077c8528fee1b6d13 ok kevlo mpi jmatthew
2019-05-09Add two sanity checks to iwm's firmware notification interrupt handler:Stefan Sperling
1) Clamp firmware-provided index into the rx ring to the size of the ring. Linux started doing this, too, to work around HW bugs in the 9000 series. (mathes Linux 5eae443eb5e2b3777582ea37c6a002171ec134d5) 2) Don't call iwm_cmd_done() if the firmware response in the Rx buffer is not recognized. We should just skip such buffers, not act on them. ok beck kevlo mpi
2019-05-09Link rip6cksum regress to build.Alexander Bluhm
2019-05-09Test IPv6 raw sockets with checksum calculation in kernel.Alexander Bluhm
2019-05-09Nope, the right byte layout is happening, but we still need to figure outTheo de Raadt
a reported baddir panic. Discussed with guenther tedu kettenis millert..
2019-05-09Don't unconditionally throw away dma memory when we don't need to.Bob Beck
Noticed by me and otto@ ok tedu@
2019-05-09Document KERN_PFSTATUSClaudio Jeker
2019-05-09Use the new sysctl to print systat pf 1. This now works even for unprivedClaudio Jeker
users. OK deraadt@, sashan@
2019-05-09Add a sysctl accessor to struct pf_status. The pf_status only holds theClaudio Jeker
current status and statistics and can be exported without super-user rights via sysctl to make it easier for tools like systat to access those. OK deraadt@, sashan@
2019-05-09For filenames which are a multiple of 4 bytes long, the zero pad isTheo de Raadt
incorrectly placed underneath the last 4 bytes (and then overwritten) rather than afterwards. We got confused and followed FreeBSD's lead, which curiously increased the leakage of kernel stack from 3 bytes to 4... ok millert kettenis
2019-05-09ftp makes a new connection for each auto-fetch file. Remove a lie claimingChristian Weisgerber
otherwise. ok tb@ tedu@
2019-05-09add free sizesBrent Cook
ok tedu