summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-30Tweak key numbers to avoid some special keys crossing over with modifier bits.Nicholas Marriott
2020-03-30Add to rather than replace flags with -c.Nicholas Marriott
2020-03-30"eventually" came and went back in 2004.Martijn van Duren
OK schwarze@
2020-03-30Delay failure in mft parsing until all elements of FileAndHash have beenClaudio Jeker
checked. This way all corrupted or missing files should show up in a single run. This should help operators to get a better idea what and how much is broken. OK benno@
2020-03-30Port "mach dtb" code from arm64.Mark Kettenis
ok patrick@
2020-03-30Check the hash and with it the presence of a file referenced in a MFT earlyClaudio Jeker
on. In case the file hash does not match or the file does not exist the full MFT is considered invalid and dropped. With this partial ROA updates based on a corrupt data set will produce less likely inconsistencies in the VRP output. With and OK job@
2020-03-30Void functions obviously do not return values; no need to elaborate.Ingo Schwarze
Patch from Martin Vahlensieck <academicsolutions dot ch>.
2020-03-30Document that `a_p' is always curproc by using a KASSERT().Martin Pieuchot
This will allows for future simplifications of the VFS interfaces. Tested in a bulk by naddy@ and visa@. ok visa@, anton@
2020-03-30Do not check flags after the popup struct has been freed.Nicholas Marriott
2020-03-29Void functions obviously do not return values; no need to elaborate.Ingo Schwarze
Patch from Martin Vahlensieck <academicsolutions dot ch>.
2020-03-29Prevent stack trace saving from inspecting untrusted data. On amd64,Visa Hankala
arm64 and i386, the chain of call frames is continuous from kernel to userspace. The unwinder has to stop at the latest when it reaches the start of the kernel stack. OK mpi@
2020-03-29Don't access past end of cc_alg[] when trying to avoidKenneth R Westerback
unregistering an invalid algorithm. CID 1453298 ok kettenis@ (with suggested improvements to come)
2020-03-29Change space to tabdenis
2020-03-29Rework of rde_asext_get()/rde_asext_put().denis
Also change get_net_link() and get_rtr_link() to work like ospfd(8) couterpart. OK remi@
2020-03-29Prevent out of bounds read in strlcpy due to vcp_name not being NUL-terminated.tobhe
Reported-by: syzbot+48e38ebd31c030b5841c@syzkaller.appspotmail.com Found by Greg Steuck <greg (at) nest (dot) cx> Discussed with deraadt@
2020-03-29ipmi(4) at fdtMark Kettenis
2020-03-29Pin groups have regulators associated with them; enable these such thatMark Kettenis
they get turned on if pins within a group are in use. The Allwinner A80 needs some additional configuration based on the voltage supplied by these regulators. This makes the Ethernet interface in the A80 work. ok patrick@
2020-03-29Add glue to make ipmi(4) attach to FDT.Mark Kettenis
ok deraadt@
2020-03-29Compute MiRA's moving average and standard deviation after computing theStefan Sperling
current measurement, not before. The MiRA paper mentions these calculations in the order we implemented them. But the moving average and standard deviation depend on the value of the goodput measurement, not the other way around. ok tb@
2020-03-28Be concise: do not say that void functions return no values, that's obvious.Ingo Schwarze
Useless text reported by Martin Vahlensieck (academicsolutions.ch) on tech@.
2020-03-28Plug some memory leaks.tobhe
2020-03-28Even though the HTML, man, markdown, PDF, PostScript, and tree formattersIngo Schwarze
never write a ctags(1) file, using a pager still requires writing the main output file and passing the file name to the pager. Recent regression mentioned on IRC and reported by kn@.
2020-03-28Move ND6_PRIV_* constants from nd6.h to slaacd the only place whereFlorian Obser
they are used. Nobody in the wider eco system uses these. While here reduce temporary address valid lifetime to 2 days as per draft-ietf-6man-rfc4941bis. This should considerably reduce the amount of addresses configured on an interface - a common complaint. Original diff from Fernando Gont (fernando AT gont.com.ar), thanks! Ports tree scanning by sthen@
2020-03-28Export the number of arguments exposed by a probe to userland.Martin Pieuchot
Also make the syscall provider exports the number of syscall arguments. This will allow for stricter checks when parsing `argN' and future `args->name'. This is an ABI change, don't forget to keep btrace(8) and your kernel in sync.
2020-03-28CRYPTO_ALGORITHM_ALL died in a 2010 viking raid. UseKenneth R Westerback
CRYPTO_ALGORITHM_MAX + 1 instead.
2020-03-28Add a few more Allwinner A80 clocks and resets.Mark Kettenis
2020-03-28Apply masks to values read from the RTC registers. This is essential forMark Kettenis
the RTC_YEA register since the top bit is used to indicate leap years.
2020-03-28Change default position for menu and popup to centre rather than top left.Nicholas Marriott
2020-03-28Make two -E only close popup automatically if the command exited with 0.Nicholas Marriott
2020-03-28Fix how popup height is calculated to take embedded newlines into account.Nicholas Marriott
2020-03-28Add formats for top paste buffer by default. Also a tmux.1 fix from jmc.Nicholas Marriott
2020-03-28syncTheo de Raadt
2020-03-27Add missing space in stack smash handler error message.Matthieu Herrb
ok kettenis@, deraadt@
2020-03-27imxpwm(4)Patrick Wildt
2020-03-27Add imxpwm(4), a driver for the PWM controller found on various NXP i.MX SoCs.Patrick Wildt
ok kettenis@
2020-03-27btrace(8): simplify builtin_nsecs(); ok mpi@cheloha
2020-03-27Copy EAP ID to new SA when rekeying IKE SA.tobhe
From Bernardo Vieira <bernardocv (at) gmail (dot) com> ok patrick@
2020-03-27Don't free() part of a struct.Kenneth R Westerback
Spotted by CID 1453297, and part of NetBSD's r1.51. ok ratchov@
2020-03-27Use correct bit mask to promptly exit rge_set_phy_power() andKenneth R Westerback
rge_exit_oob() timeout loops. Spotted by CID 1491296 and 1491309. Fix & ok kevlo@
2020-03-27Enable FFS2 on the landisk ramdisk. Booting from FFS2 is trickyOtto Moerbeek
since the bootxx needs to interpret the fs metadata and it has very little spare room. We could make two version of xxboot, but that's hardly worth the trouble.
2020-03-27Adjust cert type when choosing public key fallback.tobhe
ok patrick@
2020-03-27Use the correct math to calculate how many bytes are needed for b64_pton().Claudio Jeker
The size is first rounded up in case where the input string length is not a multiple of 4. Reported by kristaps@
2020-03-27BD71837 uses the same BUCK2 register as BD71847. This allowsPatrick Wildt
CPU frequency scaling to work on the Librem5 Devkit.
2020-03-27Fix use of 'idstr' and 'idstrlen' arguments in print_static_id().tobhe
ok patrick@
2020-03-27unused constantsFlorian Obser
2020-03-27Skip first line if it starts with '#!'Martin Pieuchot
2020-03-27Relax the lockcount assertion in vputonfreelist(). Back when I fixedanton
several problems with the vnode exclusive lock implementation, I overlooked the fact that a vnode can be in a state where the usecount is zero while the holdcount still being positive. There could still be threads waiting on the vnode lock in uvn_io() as long as the holdcount is positive. "go ahead" mpi@ Reported-by: syzbot+767d6deb1a647850a0ca@syzkaller.appspotmail.com
2020-03-26Add support for "alpha" suffixes in package versionsJeremie Courreges-Anglas
We already supported "beta" releases but not "alpha", probably to discourage people from pushing "alpha-quality" software in the ports tree. We have 30 ports with distfiles matching "alpha", and people just work around the lack of explicit support for "alpha" releases with mixes of crafted PKGNAME and REVISION/EPOCH. This looks needlessly complicated and a bit unfair when compared to GH_COMMIT support. Pointers from landry@ and sthen@, lgtm landry@, no objection from espie@
2020-03-26Unify #ifdef guarding code to remove PPTP and L2TP sessions.Martin Pieuchot
This makes a pattern emerge that should help when starting to protect the global `session' list with something else than the KERNEL_LOCK(). from Vitaliy Makkoveev.
2020-03-26Clarify the use of EPOCH in ports Makefiles.paco
Whith lots of help from sthen@, espie@ and jca@ ok espie@ jca@