summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-18Move setting of UF_EXCLOSE file descriptor flag inside finishdup().Visa Hankala
This makes it easier to release fdplock before calling closef(). OK mpi@, anton@
2020-02-18Further unify apm events and timeout polling codeJeremie Courreges-Anglas
Fake an APM_POWER_CHANGE event if we time out waiting for an event. This allows us to handle autoaction in a single place.
2020-02-18magma(4): timeout_add(9) -> timeout_add_msec(9)cheloha
Remove the tick conversion stuff and use timeout_add_msec(9) directly. Compile-tested by kn@. ok kn@
2020-02-18stp(4): tsleep(9) -> tsleep_nsec(9)cheloha
With input from kn@. Compile-tested by kn@. ok kn@
2020-02-18rtsx(4): tsleep(9) -> tsleep_nsec(9); ok mpi@cheloha
2020-02-18ipmi(4): tsleep(9) -> tsleep_nsec(9)cheloha
There remains a polling sleep in this driver. We can fix it separately. ok mpi@
2020-02-17Don't fake up an mbuf to prepend a readiotap header, just use bpf_mtap_hdr().Claudio Jeker
OK claudio@
2020-02-17isc_stdio_open() wrapper function is only called in lex'erJoerg Jung
so call fopen() directly and drop it ok florian
2020-02-17add HISTORY sectionJasper Lievisse Adriaanse
2020-02-17missing rcs idJasper Lievisse Adriaanse
2020-02-17Do not look for an FFS1 file system at SBLOCK_UFS2. Doing so willOtto Moerbeek
find the wrong super-block for file systems with 64k block size. ok visa@
2020-02-17remove unused codeJoerg Jung
ok florian
2020-02-17vmm: check guest cpl and xsave_mask in xsetbv handlerpd
Reported by Maxime Villard. ok kettenis@ brynet@
2020-02-17In vcpu_must_stop() use SIGPENDING() to check if there is a possibleClaudio Jeker
pending signal for curproc. CURSIG() is doing a fair amount more than just checking for a pending signal and should not be called just for that. The signal handling will be done once the ioctl returns to userland which is triggered by vcpu_must_stop(). OK mlarkin@ mpi@ visa@
2020-02-17Do not look for an FFS1 file system at SBLOCK_UFS2. Doing so willOtto Moerbeek
find the wrong super-block for file systems with 64k block size. ok visa@
2020-02-17Disable name resolution in tcpdump with -n. We always compare source andtobhe
destination addresses.
2020-02-17Generate public keys for newly generated local private keys.tobhe
2020-02-17Use m_defrag() to linearize an mbuf chain instead of hand rolling a solutionClaudio Jeker
which is not bug free. OK stsp@
2020-02-17Use bpf_mtap_hdr() to prepend the radiotap header instead of faking anClaudio Jeker
mbuf which sits on the stack. Similar change was done in iwm(4) some time ago. OK stsp@
2020-02-17Typo in RCSID, from Andrius VOtto Moerbeek
2020-02-17future replacement for PackageInfo.pmMarc Espie
- the name was a bit confusing (pkg_info) - one of the first modules I wrote, and the old one isn't OO at all, and full of globals, which can be a problem for displaying error messages, and for tweaking PKG_DB locally... This will replace PackageInfo.pm once I've gone through all the callers. New synopsis would make this part of State in most cases, without any singleton.
2020-02-17Describe the restriction for length of openssl conf value stringKinichiro Inoguchi
ok and suggestion jmc@
2020-02-17Restrict the length of openssl conf value stringKinichiro Inoguchi
There was no limitation for the length of openssl conf value. This brings possibility of out-of-memory problem as oss-fuzz had detected. This diff restricts the length of conf value up to 64k. ok jsing@
2020-02-17Bring ospf6d closer to ospfddenis
- update debug messages to be more precise - simplify call to lsa_self() - drop lsa_find_lsid() redondant parameters OK remi@
2020-02-17Raise SPL when updating kn_status. Otherwise the field can becomeVisa Hankala
inconsistent if knote_acquire() or knote_release() is preempted by an interrupt that modifies the same knote. OK mpi@ Reported-by: syzbot+8c174edc00da365121d7@syzkaller.appspotmail.com
2020-02-17The siop family members use various atop/ptoa dances (oosiop/osiop) orKenneth R Westerback
as static value of 16 * PAGE_SIZE (siop). But all end up with a max i/o size of of MAXPHYS or more. So no need for their *_minphys.
2020-02-16Send a resume event to apmd(8), like done by apm(4) and acpi(4)Jeremie Courreges-Anglas
Test & ok visa@. Sadly his Lemote doesn't come back from sleep, with or without this change.
2020-02-16Tag "neighbor" and "group" keywords at their definitionskn
mdoc(7) auto-tagging delivered false positives leading tag users to usages somewhere in manual; add ".Tg" markup for both keywords in the "NEIGHBORS AND GROUPS" section where the concepts are introduced. Feedback and OK schwarze
2020-02-16document -F none; with jmc@Christian Weisgerber
2020-02-16Get rid of isc_stdtime_t and use time_t directly.Florian Obser
OK millert
2020-02-16cleanupFlorian Obser
OK millert
2020-02-16clock_gettime cannot fail if called correctly; unravel TIME_NOWFlorian Obser
indirections. (I'm not convinced that we always want to read CLOCK_REALTIME, in fact we probably want to almost always read CLOCK_MONOTONIC.) OK millert
2020-02-16Move isc_time_formathttptimestamp to the only place it is used.Florian Obser
OK millert
2020-02-16unravel isc_time_formattimestampFlorian Obser
OK millert
2020-02-16unravel isc_time_add and isc_time_subtractFlorian Obser
OK millert
2020-02-16unravel isc_time_compareFlorian Obser
OK millert
2020-02-16unravel isc_time_isepochFlorian Obser
OK millert
2020-02-16remove timespec settersFlorian Obser
OK millert
2020-02-16Reduce interval indirection by setting struct members directly andFlorian Obser
using macros from sys/time.h OK millert
2020-02-16The timer type we are using requires interval to be set, removeFlorian Obser
unused interval_zero. OK millert
2020-02-16Remove trailing backslasheskn
"prefix-set" blocks work with line breaks just fine, probably old macro leftover. OK job claudio
2020-02-16Rework vn_ioctl() to only have a single point of return. This will makeanton
it easier to grab the kernel lock once ioctl() is unlocked. Thanks to semarie@ who came up with an improved diff. ok mpi@ semarie@ visa@
2020-02-16Replace isc_time_t and interval_t with struct timespec.Florian Obser
Input & OK millert
2020-02-1616 << PGSHIFT (which is >= 12) is always >= MAXPHYS (64 * 1024) soKenneth R Westerback
wds_minphys() is just duplicating what minphys() will do. Nuke it.
2020-02-16Update protocol version test to include TLSv1.3.Joel Sing
2020-02-16Add -tls1_3 and -notls1_3 options to openssl(1) s_client.Joel Sing
Also stop using version pinned methods, instead setting the min and max protocol versions. Requested by inoguchi@ ok inoguchi@ tb@
2020-02-16Avoid potential NULL dereference when parsing a server keyshare extension.Joel Sing
It is currently possible for key_share to be NULL when a TLS client receives a keyshare extension. However, for this to occur the client has to be doing TLS 1.2 or earlier, which means that it was invalid for the server to send the extension. As such, check for NULL and treat it as an invalid extension. Found by oss-fuzz (#20741 and #20745). ok inoguchi@ tb@
2020-02-16Avoid leak for tmp.x25519Kinichiro Inoguchi
Changed to use local variable to hold malloc address rather than directly set to S3I(s)->tmp.x25519, and set that private_key pointer to S3I(s)->tmp.x25519 after all the "goto err;". Also added freezero for S3I(s)->tmp.x25519 to ssl3_free() and ssl3_clear(). ok jsing@ tb@
2020-02-16Quote variables in pf tag stringskn
Macros are expanded by the parser at parse time, whereas variables are read as ordinary strings and left unmodified; hence, quoted `"$domain"' gets passed to the daemon as is, which substitutes proper values before passing it to the kernel. `$domain' without quotes never makes it to the daemon, that is with `domain = foo' somewhere else "foo" is being eventually passed unmodified to the kernel. jmc prompted for a proper explanation and provided the final wording. OK tobhe jmc
2020-02-16syncStefan Sperling