summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-12Add support for origin mode (DECOM, SM/RM ?6), from Marc Reisner.Nicholas Marriott
2019-03-12separate fields with commasDavid Gwynne
some values are strings now, which makes it hard to read when these values are next to the label for the next field.
2019-03-12Until we can figure out why it causes NMIs on some machines, skip theJonathan Matthew
pre-reset steps described in Intel's datasheet and also their driver code. ok dlg@
2019-03-11Make slaacd(8) imsg processing more paranoid. Unexpected size mismatchespamela
mean we should no longer trust processes, so we call fatal(x). The control socket is the exception, where we ignore rather than allow crashes due to data from the outside. suggestion/input and OK florian@
2019-03-11sort the mpls options; ok dlgJason McIntyre
2019-03-11syncTheo de Raadt
2019-03-11tweak previous;Jason McIntyre
2019-03-11Add missing bus powered bit, from aalm@Martin Pieuchot
2019-03-11Bring back revision 1.91 now that vmd has been fixed, repeating theanton
previous commit message: When closing the slave end of a pty, generate an EOF event to any kqueue consumer of the master end. This behavior is equivalent to how pipes already behave with kqueue. Also, FreeBSD and NetBSD behaves the same way. ok deraadt@ millert@ visa@
2019-03-11Do not unconditionally wait for read events on the pty associated with aanton
vm console. Instead, wait for the controlling end of the pty to become writeable, which implies that the slave end is connected. A recent change to the kqueue pty implementation caused vmd to hammer the log due to constantly hitting EOF while reading from the pty since the slave end was disconnected. Issue found the hard way by mlarkin@ and tb@ ok mlarkin@
2019-03-11update very outdated korean airport list (but skip the exclusivelyTheo de Raadt
military one) from Jerome Pinot
2019-03-11perl has a warning for statements following exec. It doesn't trigger forMarc Espie
die or exit, but *only* if those are the CORE operations. make State silent in a context that overrides exit (say, DBI) by using exec ... or exit instead (using CORE::exit would be worse, since we want to keep the override)
2019-03-11Change fatal() to fatalx() where errno is not set.pamela
tweak and OK florian@
2019-03-11Change fatal() to fatalx() where errno is not set.pamela
input and OK florian@
2019-03-11While strtonum(3) does set errno, we already use errstr to show what'sFlorian Obser
going on so use log_warnx to not print a useless 2nd error message. OK pamela
2019-03-11mark check_abort() and post_abort() as __dead;Ingo Schwarze
based on a patch by Christos@ Zoulas at NetBSD
2019-03-11fix the documentation for mpls interfacesDavid Gwynne
instead of an mpe and mpw section, have an MPLS section that talks about mpe, mpw, and mpip.
2019-03-11remove an extra ; on a lineDavid Gwynne
no functional change
2019-03-11update mpw based on mpipDavid Gwynne
the ioctl mpw.4 described is going away, and the examples are different now cos ifconfig is different, and there's some RFCs it implements.
2019-03-11have a go at documenting the mpip interface.David Gwynne
no ioctls yet
2019-03-11- in rtwn_r88e_fw_reset function, use the correct bit R88E_RSV_CTRL_MCU_RSTKevin Lo
to reset/enable MCU - there's no need to enable 1.2V power for rtl8192eu ok jmatthew@
2019-03-11add amdgpu to the possible_drivers listJonathan Gray
2019-03-11syncTheo de Raadt
2019-03-11split the clas/subclass/interface/revision output over 2 linesDavid Gwynne
2019-03-11teach pcidump about pci class and subclass namesDavid Gwynne
i wanted to know if some devices are pci bridges or hosts, and found looking up the values in pcireg.h to be a bit tedious.
2019-03-10fix some cases of spaces before full stops, where none were neccessary;Jason McIntyre
2019-03-10Move adjtimedelta from kern_time.c to kern_tc.c.cheloha
This will simplify upcoming MP-safety diffs for the timecounting layer. adjtimedelta is now accessed nowhere outside of kern_tc.c, so we can remove its extern declaration from kernel.h. Zeroing adjtimedelta within timecounter_mtx before we jump the real-time clock is also a bit safer than what we do now, as we are not racing a simultaneous tc_windup() call from hardclock(), which itself can modify adjtimedelta via ntp_update_second(). Discussed with visa@ and mpi@. ok visa@
2019-03-10Delete useless calls to setlocale(3):Ingo Schwarze
uudecode(1) and uuencode(1) do nothing locale-dependent. While here, sort headers, make usage() static, return from main() rather than exit(3), and drop two redundant case statements. This is a minimally tweaked version of a patch from Jan Stary. OK tedu@
2019-03-10Delete useless call to setlocale(3):Ingo Schwarze
Spell uses nothing locale-dependent, and it will never need support for non-English characters because the basic algorithms used are specific to the English language in the first place. While here, make usage() static and return from main() rather than exit(3). Minimially tweaked diff originally from Jan Stary. OK tedu@
2019-03-10Delete a useless call to setlocale(3): strptime(3) is only calledIngo Schwarze
with %F and %T, neither of which is locale-dependent, and nothing else in the code depends on the locale either, since most of the parsing is done by hand and only supports numerical formats in the first place. While here, make usage() static and return from main rather than exit(3). Patch from Jan Stary <hans at stare dot cz>. tedu@ agrees.
2019-03-10rename CRYPTO_set_locking_callback.3 to CRYPTO_lock.3Ingo Schwarze
because CRYPTO_set_locking_callback() is now a no-op and was never documented in the first place; no text change; requested by jmc@ long ago
2019-03-10delete functions from the manual page that do nothing in LibreSSLIngo Schwarze
and that don't do anything in OpenSSL either; no significant amount of text remains from OpenSSL, so change the Copyright information and license of CRYPTO_set_locking_callback.3; OK inoguchi@ jmc@
2019-03-10delete whitespace before a full stop on a text line;Ingo Schwarze
patch from Alessandro dot Gallo at syssegv dot org
2019-03-10Use SMR instead of reference counting for session reclamation.Visa Hankala
This reduces the need of atomic operations. The lookup tree still requires serialization, though.
2019-03-10fix two wrong commentsMike Larkin
2019-03-10missing newline in a printfMike Larkin
2019-03-10vmm(4): add a debug printf if the host does not have writeback memoryMike Larkin
type for EPT Noticed by Guillaume Pagnoux and myself while cleaning up some old bugs.
2019-03-09tc_windup: read active timecounter once at function start.cheloha
tc_windup() is not necessarily called with KERNEL_LOCK, so it is possible for the timecounter pointer to change in the midst of the call via the kern.timecounter.hardware sysctl(2). Reading it once and using that local copy ensures we're referring to the same timecounter consistently. Apparently the compiler can optimize this out... somehow... so there may be room for improvement. Idea from visa@. With input from visa@, mpi@, cjeker@, and guenther@. ok visa@ mpi@
2019-03-09remove free() before exit() from main(), in ongoing work to makeSebastian Benoit
things more readable. otto notes that free() does some checks, but in this case readability is better than complete cleanup. ok florian@ deraadt@
2019-03-09Mention mandoc.db(5), makewhatis(8), and weekly(8).Ingo Schwarze
Omission noticed by espie@ long ago, and wording tweaked by jmc@.
2019-03-09use temporary strings for calls to basename(), because it may changeSebastian Benoit
the contents of its argument (on other platforms). Also strdup() the result, because basename returns a pointer to static memory. ok florian@
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
'announce inet none' should only clear AFI/SAFI pairs where the AFI is inet. OK benno@
2019-03-09Use READ_ONCE() and WRITE_ONCE() in <sys/smr.h>.Visa Hankala
OK guenther@
2019-03-09Add macros READ_ONCE() and WRITE_ONCE(). They constrain optimizationsVisa Hankala
done by the compiler. OK guenther@
2019-03-08fix dirname usage in acme-client: dirname() can modify its argumentSebastian Benoit
(it does not on OpenBSD) so we need to us a copy of the string. In addition, copy the result of dirname() as well, because it's static storage and if we call dirname() again it will be overwritten. Original problem noted and fix suggested by Wolf (wolf AT wolfsden DOT cz) ok florian@
2019-03-08Do not grab a `bif' pointer again, we already have it.Martin Pieuchot
ok visa@
2019-03-08Move the tag mechanism outside of net/if_bridge.c.Martin Pieuchot
This will help for future (un)locking. ok visa@
2019-03-08remove a sentence that was once helpful when dirname.3 and basename.3Sebastian Benoit
shared one manpage. ok florian@
2019-03-08fix use-after-free in ssh-pkcs11; found by hshoexer w/AFLMarkus Friedl
2019-03-08the previous hkey version check was not accurate enough, so try theJoshua Stein
ACPI method for screen backlight changes everywhere and if the ACPI method fails, fallback on the CMOS method. also unmask the mic mute event needed on the x260. required for the x260, no regression on the x40, x230, x250, x280, t460s, t470p, and x1c6.