summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-22gettimeofday(2)+TIMEVAL_TO_TIMESPEC -> UTIME_NOW; simpler & more portable.cheloha
ok millert@
2019-03-22Move adjtimedelta into the timehands.cheloha
adjtimedelta is 64-bit and thus can't be read/written atomically on all architectures. Because it can be modified from tc_windup() and ntp_update_second() we need a way to ensure safe reads/writes for adjtime(2) callers. One solution is to move it into the timehands and adopt the lockless read protocol we now use for the system boot time and uptime. So make new_adjtimedelta an argument to tc_windup() and add a lockless read loop to tc_adjtime(). With adjtimedelta stored in the timehands we can now simply pass a timehands pointer to ntp_update_second(). This makes ntp_update_second() safer as we're using the timehands' timecounter pointer instead of the mutable global timecounter pointer. Lots of input from mpi@ and visa@. ok visa@
2019-03-22- Fix the AR816X_REV_B0 / default DMA channel selection to be theKevin Lo
same as the original code - Merge FreeBSD's r304574 Correct DMA channel number selection on AR816x family of controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x except L1D controller, use vendor recommended ASPM parameters. While here, increase alc_dma_burst array size. Broken H/W can return bogus value in theory From Brad.
2019-03-22Revert parts of recent changes to pretty_print_domain_search(). PartsKenneth R Westerback
of WIP escaped into the wild and broke parsing of domain-search. Reported by Greg Steuck and Raf Czlonka. Fix tested by Greg.
2019-03-22Rename "timecounter_mtx" to "windup_mtx".cheloha
This will make upcoming MP-related diffs smaller and should make the code int kern_tc.c easier to read in general. "windup_mtx" is also a better mnemonic: always call tc_windup() before leaving windup_mtx.
2019-03-22Mixmerge fixup.Kevin Lo
Some of the flag and oactive handling bits and alc_stop_queue() were mismerged. Pointed out by Brad, thanks!
2019-03-22that "device" is an abstraction to the underlying OS PRNG.Marc Espie
In OpenBSD's case, we know it has optimal entropy properties, so just say so. okay mikeb@, "why not" deraadt@
2019-03-22umbg now supports DCF600USB as well; adjust comment. from weerd@Stuart Henderson
2019-03-22build umbg(4) on amd64, previously only done on i386/macppc/octeon/sparc64Stuart Henderson
from weerd@, ok phessler
2019-03-22support Meinberg DCF600USB, from weerd@, ok phesslerStuart Henderson
2019-03-22syncStuart Henderson
2019-03-22add Meinberg DCF600USB, from weerd@, ok phessler@Stuart Henderson
2019-03-22Clarify that styles can be space or comma separated, from Stephen Zapatka.Nicholas Marriott
2016-09-03Import libc++ 3.9.0Patrick Wildt
2019-03-22No need to log that the DHCP lease file doesn't exist.Jeremie Courreges-Anglas
We still want to log other causes when failing to open the lease file, but then do so with a more helpful error message. ok florian@
2019-03-22update the alc entry;Jason McIntyre
2019-03-22I forgot to document resize-window, window-size and default-size;Nicholas Marriott
reminded by okan@.
2019-03-22Add support for QCA AR816x/AR817x for alc(4).Kevin Lo
Based on FreeBSD via Genadijus Paleckis on tech@, some modifications by me. Tested with Atheros Killer E2200.
2019-03-22Add -E to change the escape character, from Artturi Alm.Nicholas Marriott
no objections from deraadt, ok millert
2019-03-22back out 1.28David Gwynne
i misread the doco, having promisc vlan reception is what we want.
2019-03-22use a cond in ixl_atq_exec to wait for a command to be completed.David Gwynne
the main change is to not run ixl_atq_done, cos the interrupt handler is supposed to do that for us.
2019-03-22don't blindly complete admin queue entriesDavid Gwynne
there's a bit in the flags field that the firmware sets when the command is done, so check to decide if the command is ready to be completed. this in turn makes ixl_iff work. "oh" jmatthew@
2019-03-21Test that "calendar -A 0" on a Friday doesn't include weekend events.Todd C. Miller
From Andy Bradford
2019-03-21Fix typo in usage and comment.Alexander Bluhm
2019-03-21Reference permissions in the canonical plural.rob
ok jmc@
2019-03-21Remove struct intrhand. It is no longer used on octeon.Visa Hankala
2019-03-21Remove an unused header.Visa Hankala
2019-03-21syncTheo de Raadt
2019-03-21Start in the daemon configured routing table and not in the one we're currentlyAntoine Jacoutot
in. This fixes the case where one would be in a non default rdomain shell then run an rdomain 0 rc.d daemon. reported by YASUOKA Masahiko and Pierre Emeriaud ok sthen@ claudio@ benno@
2019-03-21import EVP_camellia_128_cbc(3) from OpenSSL 1.1.1,Ingo Schwarze
still under a free license, tweaked by me
2019-03-21space before punct;Jason McIntyre
2019-03-21Split EVP_rc4(3) out of EVP_EncryptInit(3) to reduce clutter.Ingo Schwarze
The algorithm is insecure and yet its description would spread over three paragraphs in the cipher list, including remarkable advice like using a 40 bit key length.
2019-03-21Split EVP_des_cbc(3) out of EVP_EncryptInit(3) to reduce clutter:Ingo Schwarze
this moves a large number of functions out of the way that are no longer the latest and greatest. Also mention a few that were missing.
2019-03-21don't set VLAN things when configuring promiscDavid Gwynne
the doco says vlan things should only be set if you're manipulating something on a specific vlan, otherwise the config applies to everything, which is how the stack wants things to work at the moment. there's still something wrong in here, but let's get this out of the way first.
2019-03-21Do not run keyboard and mouse device detection during make clean,Alexander Bluhm
cleandir, obj. Eliminates a X11 keyboard problem seen by claudio@ during make build. OK anton@ deraadt@
2019-03-21run event callbacks directly in the atq processingDavid Gwynne
previously events were queued on an SLIST, but multiple link state events could fire with the same callback. this corrupted the SLIST and effectively caused an infinite loop. ok jmatthew@
2019-03-21add a handful of missing functionsIngo Schwarze
that are also documented in OpenSSL 1.1.1 (still under a free license)
2019-03-21Fix IPv6 address parsing and skipping of comment lines followed by blankOtto Moerbeek
lines; Found while investigating a diff from Michal Koc; ok kn@
2019-03-21punctuation needs to be preceeded by a space, in Scots;Jason McIntyre
2019-03-21Bring back EVP_chacha20 list item that was accidentally removedTheo Buehler
in r1.28 when the AES ciphers were split into their own manual.
2019-03-21Clarify verbiage. If we could just write it in Scots thenKenneth R Westerback
it would be so much easier.
2019-03-21Simplify merge_option_data() with strpbrk().Kenneth R Westerback
Zap insidious trailing space.
2019-03-20Document additions to the lang/python module that support pytest.remi
from Kurt Mosiejczuk ok kn@
2019-03-20Do not accept dhclient.conf(5) "prepend" or "append" statements whenKenneth R Westerback
the option data cannot be prepended or appended to. Instead, treat "prepend" as "supersede" and "append" as "default". This preserves the safe aspects of current behaviour. Issue a parsing warning when appropriate to encourage people to fix their configuration files. Eliminate egregious repeated code by abstracting merge_option_data().
2019-03-20States in pf(4) let ICMP and ICMP6 packets pass if they have aAlexander Bluhm
packet in their payload that matches an exiting connection. It was not checked whether the outer ICMP packet has the same destination IP as the source IP of the inner protocol packet. Enforce that these addresses match, to prevent ICMP packets that do not make sense. Issue found by Nicolas Collignon, Corentin Bayet, Eloi Vanderbeken, Luca Moro at Synacktiv.com OK sashan@
2019-03-20Improve cursor positioning after reflow by storing the position as anNicholas Marriott
offset into the entire history before reflow and restoring it aftewards.
2019-03-20fix examples (libtls uses its own error reporting mechanism)Marc Espie
okay tb@
2019-03-20regenJonathan Gray
2019-03-20add more intel graphics pci ids with known marketing namesJonathan Gray
2019-03-20Include function name in logging.Nicholas Marriott