summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-10Inroduce malloc_conceal() and calloc_conceal(). Similar to theirOtto Moerbeek
counterparts but return memory in pages marked MAP_CONCEAL and on free() freezero() is actually called.
2019-05-10Enforce messages after IKE_SA_INIT exchange to contain onlyPatrick Wildt
encrypted payloads. Also increment message id only for valid messages. From Tobias Heider ok sthen@
2019-05-10The cdrom contains a nested ffs filesystem, so indicate that dependencyTheo de Raadt
for large-factor make -j, hit by claudio
2019-05-10Python for scapy must be executed a bit differently in this test.Alexander Bluhm
2019-05-10The correct header for KASSERT(9) is <sys/systm.h>.Martin Pieuchot
ok deraadt@
2019-05-10Add a function to draw a simple menu onto a screen.Nicholas Marriott
2019-05-10 Implement DNS block lists. If unwind is queried for a domainFlorian Obser
in the block list it answers with rcode REFUSED.
2019-05-10When calculating how much payload ospf6d can put into DD and LSREQ packetsClaudio Jeker
substract the size of the IPv6 header and not the IPv4 header from the MTU. This stops ospf6d to send out fragmented packets. Found with and OK benno@
2019-05-10ld.so boot cleanup support:Philip Guenther
- put functions and data which are only used before calling the executable's start function into their own page-aligned segments for unmapping (only done on amd64, arm64, armv7, powerpc, and sparc64 so far) - pass .init_array and .preinit_array functions an addition argument which is a callback to get a structure which includes a function that frees the boot text and data - sometimes delay doing RELRO processing: for a shared-object marked DF_1_INITFIRST do it after the object's .init_array, for the executable do it after the .preinit_array - improve test-ld.so to link against libpthread and trigger its initialization late libc changes to use this will come later ok kettenis@
2019-05-10Add some more edge case tests.rob
2019-05-10Make the red-black tree example -Wmissing-prototypes clean by providingFlorian Obser
prototypes with RB_PROTOTYPE.
2019-05-10Fix prototype of upgrade(). OK benno@Claudio Jeker
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.