eric [Fri, 17 Apr 2020 14:20:13 +0000 (14:20 +0000)]
switch email and result fields in mail-from/rcpt-to event reports
and bump protocol version.
discussed with jung@, martijn@ and Gilles.
ok jung@
nicm [Fri, 17 Apr 2020 14:06:42 +0000 (14:06 +0000)]
Make sure the cursor position is still on screen after we have trimmed
empty lines. Also improve some log messages.
schwarze [Fri, 17 Apr 2020 10:45:04 +0000 (10:45 +0000)]
implement the "charmap" argument as required by POSIX;
OK stsp@ millert@
nicm [Fri, 17 Apr 2020 09:06:10 +0000 (09:06 +0000)]
Support the application escape sequence mintty (means tmux doesn't have
to delay to wait for Escape).
nicm [Fri, 17 Apr 2020 08:03:22 +0000 (08:03 +0000)]
Add a copy-command option and change copy-pipe and friends to pipe to it
if used without arguments, allows all copy key bindings to be changed to
pipe with one option.
djm [Fri, 17 Apr 2020 07:16:07 +0000 (07:16 +0000)]
repair private key fingerprint printing to also print comment after
regression caused by my recent pubkey loading refactor. Reported by
loic AT venez.fr, ok dtucker@
djm [Fri, 17 Apr 2020 07:15:11 +0000 (07:15 +0000)]
refactor out some duplicate private key loading code; based on
patch from loic AT venez.fr, ok dtucker@
stsp [Fri, 17 Apr 2020 07:09:05 +0000 (07:09 +0000)]
Prevent MiRA from jumping from very high to very low rates while
switching ratesets when probing.
Fixes iwm(4) switching from MCS 15 down to MCS 0, rather than switching
to a comparable rate in the next rateset, such as MCS 7. This wasn't
supposed to happen but did because of a MiRA implementation bug.
ok jmatthew@
florian [Fri, 17 Apr 2020 06:27:32 +0000 (06:27 +0000)]
Only pay attention to interfaces in our routing domain
OK tohe
dtucker [Fri, 17 Apr 2020 06:24:28 +0000 (06:24 +0000)]
Document using /etc/ethers to look up ethernet addresses. ok krw@,
wordsmithing jmc@
jmc [Fri, 17 Apr 2020 06:12:41 +0000 (06:12 +0000)]
add space beteen macro arg and punctuation;
djm [Fri, 17 Apr 2020 04:27:03 +0000 (04:27 +0000)]
auth2-pubkey r1.89 changed the order of operations to checking
AuthorizedKeysFile first and falling back to AuthorizedKeysCommand
if no key was found in a file. Document this order here; bz3134
djm [Fri, 17 Apr 2020 03:38:47 +0000 (03:38 +0000)]
fix reversed test that caused IdentitiesOnly=yes to not apply to keys
loaded from a PKCS11Provider; bz3141, ok dtucker@
djm [Fri, 17 Apr 2020 03:34:42 +0000 (03:34 +0000)]
mention that /etc/hosts.equiv and /etc/shosts.equiv are not
considered for HostbasedAuthentication when the target user is
root; bz3148
djm [Fri, 17 Apr 2020 03:30:05 +0000 (03:30 +0000)]
make IgnoreRhosts a tri-state option: "yes" ignore rhosts/shosts,
"no" allow rhosts/shosts or (new) "shosts-only" to allow .shosts
files but not .rhosts. ok dtucker@
djm [Fri, 17 Apr 2020 03:23:13 +0000 (03:23 +0000)]
allow the IgnoreRhosts directive to appear anywhere in a sshd_config,
not just before any Match blocks; bz3148, ok dtucker@
millert [Fri, 17 Apr 2020 02:12:56 +0000 (02:12 +0000)]
Log skipped jobs in job_add() not job_runqueue().
We want to log when the job is added but will not be run, not every
time the run queue is processed.
job [Thu, 16 Apr 2020 23:36:52 +0000 (23:36 +0000)]
Suggest to update RPKI once an hour.
In autonomous systems running bgpd(8) and rpki-client(8) on their edge
routers, it may be beneficial when out-of-the-box all routers don't all
do rpki fetches & bgp loads at the same time. It is expected behavior
for RPKI information to un-evenly percolate towards the BGP edge in a
staggered way.
The 'once an hour' pace may be a reasonable balance between the needs of
internet users, and what network operators tolerate in churn.
OK deraadt@
dtucker [Thu, 16 Apr 2020 23:23:21 +0000 (23:23 +0000)]
Support looking up ethernet addresses in /etc/ethers at dhcpd startup time.
If the lookup fails it falls back to parsing the ethernet address normally.
ok krw@
nicm [Thu, 16 Apr 2020 21:46:43 +0000 (21:46 +0000)]
Return to sending sync around clears.
nicm [Thu, 16 Apr 2020 21:16:24 +0000 (21:16 +0000)]
Do not need to set up a tty context for clearing lines now.
nicm [Thu, 16 Apr 2020 20:32:51 +0000 (20:32 +0000)]
Collect up line clears like text within the available data so we don't
need to flush everything.
deraadt [Thu, 16 Apr 2020 19:30:50 +0000 (19:30 +0000)]
Reflow text so that the -[nsq] options are described as an optional [options]
field before command, rather than muddling up the command description to
explain them messily as some sort of exception
ok millert
tobhe [Thu, 16 Apr 2020 19:28:22 +0000 (19:28 +0000)]
Print SPI value of deleted SA.
ok markus@
millert [Thu, 16 Apr 2020 17:51:56 +0000 (17:51 +0000)]
Add a mechanism to prevent cron jobs from running concurrently.
This adds a new "-s" flag to the command field which indicates that
only a single instance of the job should run concurrenty.
OK beck@ job@ deraadt@
nicm [Thu, 16 Apr 2020 17:24:28 +0000 (17:24 +0000)]
Log what caused a flush for better visibility on what could be improved.
nicm [Thu, 16 Apr 2020 17:20:23 +0000 (17:20 +0000)]
Start menu with top item selected if no mouse, GitHub issue 2169.
claudio [Thu, 16 Apr 2020 17:01:01 +0000 (17:01 +0000)]
remove the libcrypto cleanup before exit. Most of the functions are
officially deprecated and even if not exit(3) will take care of freeing
all that memory anyway. Non of the functions do any cleanup beyond simple
memory deallocation.
OK benno@ deraadt@
nicm [Thu, 16 Apr 2020 16:13:56 +0000 (16:13 +0000)]
Only start and stop sync for operations like clear and scroll where
there is a better chance more data will be on the way.
nicm [Thu, 16 Apr 2020 15:14:25 +0000 (15:14 +0000)]
Send secondary device attributes instead of primary which gives us a bit
more useful information on some terminals.
claudio [Thu, 16 Apr 2020 14:39:44 +0000 (14:39 +0000)]
It is unclear why data is memcpy-ed into a char buf[2] that is used as
argument to ntohs(). Just memcpy to a uint16_t value and ntohs this value.
Fixes possible alignment issues as reported by newer gcc compilers.
OK beck@
nicm [Thu, 16 Apr 2020 14:25:35 +0000 (14:25 +0000)]
Move the UTF-8 flag to terminal flags.
nicm [Thu, 16 Apr 2020 14:03:51 +0000 (14:03 +0000)]
Add a helper function to get the terminal flags.
nicm [Thu, 16 Apr 2020 13:35:24 +0000 (13:35 +0000)]
Add support for the iTerm2 sychronized updates escape sequence which
drastically reduces flickering.
ratchov [Thu, 16 Apr 2020 12:57:14 +0000 (12:57 +0000)]
Make parse_unit return signed int
This allows using -1, meaning "no unit information".
claudio [Thu, 16 Apr 2020 12:40:41 +0000 (12:40 +0000)]
Remove AUTHORS section. This follows what is done in strstr.3
claudio [Thu, 16 Apr 2020 12:39:28 +0000 (12:39 +0000)]
Replace the simple memmem() implementation with a version that is O(n)
based on code from musl and now similar to our strstr().
OK tb@ millert@
claudio [Thu, 16 Apr 2020 12:37:52 +0000 (12:37 +0000)]
Resync our strstr.c with the musl version. Removes some debug code and
optimizes one statement in two-way string compare.
OK tb@ millert@
ratchov [Thu, 16 Apr 2020 12:26:55 +0000 (12:26 +0000)]
If available, use hardware "output.level" for volume control.
With this change, there's a single outputs.level control: either the
hardware one or software one. Consequently, there can't be control
name clashes and there's no need to move hardware's top-level controls
into the "hw/" group.
ratchov [Thu, 16 Apr 2020 12:23:53 +0000 (12:23 +0000)]
Hide controls of unused slots from "mixer" clients.
claudio [Thu, 16 Apr 2020 11:27:49 +0000 (11:27 +0000)]
Revert last commit, this file slipped in.
claudio [Thu, 16 Apr 2020 11:25:43 +0000 (11:25 +0000)]
Replace deprecated ERR_remove_state(0) with ERR_remove_thread_state(NULL);
OK tb@
ratchov [Thu, 16 Apr 2020 10:13:12 +0000 (10:13 +0000)]
Add -q option to suppress output when setting variables, as does mixerctl
ratchov [Thu, 16 Apr 2020 09:07:24 +0000 (09:07 +0000)]
Add -n option to suppress variable name in output, similar to mixerctl
nicm [Thu, 16 Apr 2020 07:28:36 +0000 (07:28 +0000)]
Show signal name when process exits rather than number.
florian [Thu, 16 Apr 2020 05:28:30 +0000 (05:28 +0000)]
Make the control socket name depend on the routing domain we are in.
That way, when slaacd gets started in a different rdomain with
route exec things just work, no need to provide an alternative
control socket.
Pointed out by claudio
Original diff by benno, but I like my bikeshed purple.
OK benno, claudio
nicm [Thu, 16 Apr 2020 05:22:08 +0000 (05:22 +0000)]
Don't miss the last line off the screen when writing after resize, from
Anindya Mukherjee.
remi [Wed, 15 Apr 2020 20:19:25 +0000 (20:19 +0000)]
add support for printing RfC 2332 NBMA Next Hop Resolution Protocol (NHRP)
ok dlg@
nicm [Wed, 15 Apr 2020 19:06:49 +0000 (19:06 +0000)]
Clear the selection and repeat the search on refresh same as resize.
tobhe [Wed, 15 Apr 2020 18:41:45 +0000 (18:41 +0000)]
Remove redundant 'sa == NULL' check.
nicm [Wed, 15 Apr 2020 17:50:02 +0000 (17:50 +0000)]
Instead of fixing with the cursor position when the copied screen is
created, resize it and let the resize/reflow code fix it up and return
it. Solves various problems with cursor position and resizing when in
copy mode. With Anindya Mukherjee.
mpi [Wed, 15 Apr 2020 16:59:04 +0000 (16:59 +0000)]
Make map functions accept a "struct map *" instead of a "struct bt_var *".
This is a step towards reducing the type casting crazyness.
mpi [Wed, 15 Apr 2020 16:53:10 +0000 (16:53 +0000)]
Update output to reflect recent changes.
Existing maps are printed by default in the absence of an END rule.
kettenis [Wed, 15 Apr 2020 16:46:34 +0000 (16:46 +0000)]
Fix panic message.
ok millert@, deraadt@
deraadt [Wed, 15 Apr 2020 16:39:27 +0000 (16:39 +0000)]
sync
kettenis [Wed, 15 Apr 2020 16:38:24 +0000 (16:38 +0000)]
Remove unused protoype.
nicm [Wed, 15 Apr 2020 16:11:23 +0000 (16:11 +0000)]
Use mode-style for selected items, like choose modes. GitHub issue 2166.
kettenis [Wed, 15 Apr 2020 15:40:06 +0000 (15:40 +0000)]
Add support for the Armada 3720 CPU clock.
ok patrick@
mpi [Wed, 15 Apr 2020 15:00:04 +0000 (15:00 +0000)]
Document filters: one type of predicates checked in kernel.
By default a PID filter is set by dt(4) to not record events for the tracing
program.
The other type of predicates, which are checked in userland, is coming soon!
mpi [Wed, 15 Apr 2020 14:51:45 +0000 (14:51 +0000)]
Crank key size to 256 to avoid conflicts when storing stack traces in maps.
mpi [Wed, 15 Apr 2020 14:50:14 +0000 (14:50 +0000)]
Stop including <machine/param.h> and <machine/vmparam.h>.
There's no need to redefine the INKERNEL() macro in userland because
stacktrace_save_at() only saves kernel stack traces.
If we decide to use the same interface to unwind & save userland stack
traces we can simply indicate that in the "struct stacktrace".
Discussed with deraadt@ and kettenis@
ratchov [Wed, 15 Apr 2020 14:26:40 +0000 (14:26 +0000)]
When device is (re-)opened, call dev_ctlsync() if there's no control device
In the dev_reopen() case the controls of the old device are removed,
but if the new device has no controls, we still need to call
dev_ctlsync() so that clients are notified about the removal of the
old controls.
ratchov [Wed, 15 Apr 2020 14:22:29 +0000 (14:22 +0000)]
Don't forget to notify clients when a control is removed
ratchov [Wed, 15 Apr 2020 14:21:35 +0000 (14:21 +0000)]
Properly log CTL_NONE controls
mpi [Wed, 15 Apr 2020 14:04:18 +0000 (14:04 +0000)]
Do not delete an existing RTF_CACHED entry with the same destination
address as the one trying to be inserted.
Such entry must stay in the table as long as its parent route exist. If
a code path tries to re-insert a route with the same destination address
on the same interface it is a bug.
Avoid the "route contains no arp information" problem reported by sthen@
and Laurent Salle.
ok claudio@
nicm [Wed, 15 Apr 2020 12:59:20 +0000 (12:59 +0000)]
Use grid_empty_line rather than memset when adding new lines on resize.
Also remove some old test code.
kettenis [Wed, 15 Apr 2020 11:41:08 +0000 (11:41 +0000)]
Indicate that ACPI is supported as well.
kettenis [Wed, 15 Apr 2020 11:40:26 +0000 (11:40 +0000)]
Update.
jsg [Wed, 15 Apr 2020 10:36:02 +0000 (10:36 +0000)]
drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()
From Hans Verkuil
329ef07f7fb83d4de62c239e376a6a0e04ff4b3c in linux 4.19.y/4.19.115
a4c30a4861c54af78c4eb8b7855524c1a96d9f80 in mainline linux
jsg [Wed, 15 Apr 2020 10:33:16 +0000 (10:33 +0000)]
drm/amdgpu: fix typo for vcn1 idle check
From James Zhu
7b9d4492808eb3c3ba43f6391b138101a7e9e42e in linux 4.19.y/4.19.115
acfc62dc68770aa665cc606891f6df7d6d1e52c0 in mainline linux
jsg [Wed, 15 Apr 2020 10:28:26 +0000 (10:28 +0000)]
drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
From Mario Kleiner
a9049fd69bc4fdcc48ec3a638f1f470938354984 in linux 4.19.y/4.19.115
dec9de2ada523b344eb2428abfedf9d6cd0a0029 in mainline linux
patrick [Wed, 15 Apr 2020 09:26:49 +0000 (09:26 +0000)]
Add bse(4) device to unbreak build.
noticed by tobhe@
diff from kettenis@ (who forgot to commit this bit)
mpi [Wed, 15 Apr 2020 08:09:33 +0000 (08:09 +0000)]
Commented WITNESS entry.
mpi [Wed, 15 Apr 2020 08:09:00 +0000 (08:09 +0000)]
Switch powerpc to MI mplock implementation.
Reduce differences with others architectures and make it possible to use
WITNESS on it.
Rename & keep the current recursive lock implementation as it is used by
the pmap.
Tested by Peter J. Philipp, otto@ and cwen@.
ok kettenis@
cheloha [Wed, 15 Apr 2020 04:41:39 +0000 (04:41 +0000)]
gpiodcf(4): unbreak compilation
cheloha [Wed, 15 Apr 2020 03:56:14 +0000 (03:56 +0000)]
idgen32(9): use time_uptime(9) for rekey timestamps, not time_second(9)
Timestamp contexts with a monotonic clock. time_second(9) can jump,
stretching or truncating our rekey interval. time_uptime(9) will not
jump around.
ok djm@
millert [Wed, 15 Apr 2020 03:24:08 +0000 (03:24 +0000)]
Use the new random interval support in cron instead of a random sleep.
The random intervals used can be adjusted as needed. OK deraadt@
cheloha [Wed, 15 Apr 2020 02:18:39 +0000 (02:18 +0000)]
wdsc(4), ncr53c9x: timestamp LUNs with time_uptime(9), not time_second(9)
Use a monotonic clock for timestamping LUNs to avoid problems when the
UTC clock jumps.
ok krw@
millert [Wed, 15 Apr 2020 01:59:34 +0000 (01:59 +0000)]
Add support for random values using the '~' operator.
For example "0~30" will result in a random value between 0 and 30
inclusive. If either (or both) of the numbers on either side of
the '~' are omitted, the appropriate limit (low or high) for the
field will be used. OK deraadt@ beck@ jmc@
jmc [Tue, 14 Apr 2020 21:46:24 +0000 (21:46 +0000)]
add bse.4;
jmc [Tue, 14 Apr 2020 21:43:19 +0000 (21:43 +0000)]
tweak previous;
kettenis [Tue, 14 Apr 2020 21:23:05 +0000 (21:23 +0000)]
Fix .Nd
kettenis [Tue, 14 Apr 2020 21:21:25 +0000 (21:21 +0000)]
bse(4)
kettenis [Tue, 14 Apr 2020 21:20:47 +0000 (21:20 +0000)]
Enable bse(4).
ok patrick@
kettenis [Tue, 14 Apr 2020 21:02:39 +0000 (21:02 +0000)]
Add bse(4), a driver for the Broadcom GENET v5 network interface found on
the Raspberry Pi4.
ok patrick@
kettenis [Tue, 14 Apr 2020 21:00:27 +0000 (21:00 +0000)]
Add BCM54210E support.
ok patrick@
kettenis [Tue, 14 Apr 2020 20:59:53 +0000 (20:59 +0000)]
Add flags to specify whether internal delays should be configured for RGMII.
ok patrick@
kettenis [Tue, 14 Apr 2020 20:58:12 +0000 (20:58 +0000)]
regen
kettenis [Tue, 14 Apr 2020 20:57:22 +0000 (20:57 +0000)]
Add Broadcom BCM54210E.
ok patrick@
kettenis [Tue, 14 Apr 2020 20:42:26 +0000 (20:42 +0000)]
Implement acpi_getprop(), the ACPI equivalent of OF_getprop().
ok patrick@
nicm [Tue, 14 Apr 2020 19:07:10 +0000 (19:07 +0000)]
Leave the cursor above empty lines.
nicm [Tue, 14 Apr 2020 18:33:01 +0000 (18:33 +0000)]
Adjust cursor and scroll positions when entering copy mode so that the
cursor line is still visible even if the source and target panes are
different heights.
kettenis [Tue, 14 Apr 2020 17:35:28 +0000 (17:35 +0000)]
Fix some of the more esoteric bus_space functions. The
bus_space_read_region_n, bus_space_write_region_n and
bus_space_set_region_n functions were all broken.
Same fix as arm64; Thanks to patrick@ for noting that mips64 had the same
code.
ok visa@
schwarze [Tue, 14 Apr 2020 15:27:35 +0000 (15:27 +0000)]
Update in several respects:
* mention TLSv1.3
* remove DSS, DES(56), RC4(64), and IDEA(128), which are no longer supported
* remove ChaCha20-Poly1305-Old and STREEBOG512 which don't exist in LibreSSL
* correct the instruction for printing the complete list
OK jsing@
jca [Tue, 14 Apr 2020 13:54:21 +0000 (13:54 +0000)]
Fix loop condition in sparc64-specific radeondrm_setcolor()
Spotted with clang -Wno-error=uninitialized. ok jsg@
nicm [Tue, 14 Apr 2020 13:22:05 +0000 (13:22 +0000)]
Send keys when they are complete not before (!= vs ==).
schwarze [Tue, 14 Apr 2020 13:02:28 +0000 (13:02 +0000)]
add the missing sentence "LibreSSL no longer provides any such
cipher suites" to the DES entry and use the same wording for DSS;
OK jsing@
schwarze [Tue, 14 Apr 2020 11:57:31 +0000 (11:57 +0000)]
Delete the three sentences listing the ciphers currently included
in LOW, MEDIUM, and HIGH. That's going to change repeatedly and
the extra maintenance effort for keeping it up to date is a waste
because people can trivially run "openssl ciphers -v LOW" to look
it up. Besides, updating it will usually be forgotten; the LOW
entry was already wrong.
Suggested by jsing@.
tobhe [Tue, 14 Apr 2020 11:30:15 +0000 (11:30 +0000)]
Print 'ipcomp' in print_policy() if configured.
jca [Tue, 14 Apr 2020 07:38:21 +0000 (07:38 +0000)]
Prevent uninitialized use of bbs and bls in the error path
Harmless since free(9) first checks that the pointer is not NULL.
ok krw@