eric [Sat, 25 Apr 2020 09:44:02 +0000 (09:44 +0000)]
update filter documentation after protocol change
from Gilles Chehade
eric [Sat, 25 Apr 2020 09:20:38 +0000 (09:20 +0000)]
point out that the "junk" filter decision adds the X-Spam header
from Ryan Kavanagh
dtucker [Sat, 25 Apr 2020 06:59:36 +0000 (06:59 +0000)]
We've standardized on memset over bzero, replace a couple that had slipped
in. ok deraadt markus djm.
ratchov [Sat, 25 Apr 2020 05:35:52 +0000 (05:35 +0000)]
If no -f options are used, expose first 4 audio(4) devices to clients
ratchov [Sat, 25 Apr 2020 05:03:54 +0000 (05:03 +0000)]
Get a reference to the device when "snd/N" MIDI ports are opened
As the master output level control is not in software any longer the
device needs to opened for adjustments to work.
kettenis [Fri, 24 Apr 2020 22:42:31 +0000 (22:42 +0000)]
Remove unused include.
ratchov [Fri, 24 Apr 2020 21:36:06 +0000 (21:36 +0000)]
Skip "all-channels" controls if there are equivalend per-channel ones
Hardware may expose per-channel controls and equivalent ones affecting
all channels, which is redundant. In this case expose only the
per-channel ones as they are more flexible.
ratchov [Fri, 24 Apr 2020 21:34:00 +0000 (21:34 +0000)]
Suffix per-channel non-numeric controls with channel number
The audio(9) mixer API can't represent such per-channel controls with
a single entry, so we've to expose one mixer entry (with an unique
name) per control.
Fixes name clashes on usb audio devices with per-channel mute
controls.
kettenis [Fri, 24 Apr 2020 21:22:26 +0000 (21:22 +0000)]
Remove unused struct.
tobhe [Fri, 24 Apr 2020 21:20:52 +0000 (21:20 +0000)]
Add some useful log messages for the IKE handshake.
ok patrick@
tobhe [Fri, 24 Apr 2020 21:15:05 +0000 (21:15 +0000)]
Log INFORMATIONAL messages with LOG_DEBUG. They are rarely useful for
debugging and fill up the logs.
ok patrick@ kn@
ratchov [Fri, 24 Apr 2020 20:09:30 +0000 (20:09 +0000)]
regen
ratchov [Fri, 24 Apr 2020 20:09:04 +0000 (20:09 +0000)]
Bump audio devices count to 4
ok deraadt
krw [Fri, 24 Apr 2020 18:07:06 +0000 (18:07 +0000)]
Stray whitespace.
deraadt [Fri, 24 Apr 2020 17:43:57 +0000 (17:43 +0000)]
sync
mpi [Fri, 24 Apr 2020 15:10:41 +0000 (15:10 +0000)]
Simplify the grammar by letting the lexer handle builtin keywords.
Also clarify various constructs by using commonly understood names like
'expr' and 'vargs'.
claudio [Fri, 24 Apr 2020 14:57:31 +0000 (14:57 +0000)]
rpki-client does not do privsep and also no chroot to /var/empty. Change
the user to 'rpki-client user' and the homedir to /nonexistent since it is
not required for operation of rpki-client.
OK deraadt@
mpi [Fri, 24 Apr 2020 14:56:43 +0000 (14:56 +0000)]
Print given identifier in the error message when no matching probe exist.
millert [Fri, 24 Apr 2020 14:21:35 +0000 (14:21 +0000)]
Update to tzdata2020a from iana.org. Major changes:
Morocco springs forward on 2020-05-31, not 2020-05-24.
Canada's Yukon advanced to -07 year-round on 2020-03-08.
America/Nuuk renamed from America/Godthab.
schwarze [Fri, 24 Apr 2020 12:56:37 +0000 (12:56 +0000)]
make .Nd and DESCRIPTION more precise, and some minor macro fixes;
feedback and OK espie@, and OK jmc@ on an earlier version
schwarze [Fri, 24 Apr 2020 12:18:55 +0000 (12:18 +0000)]
Add an example of "sndioctl output.level=+0.1" as suggested by espie@,
add an example of toggling a switch as suggested by ratchov@,
and simplify and clarify the wording in the EXAMPLES section.
OK ratchov@
schwarze [Fri, 24 Apr 2020 11:58:02 +0000 (11:58 +0000)]
provide a STYLE message when mandoc knows the file name and the extension
disagrees with the section number given in the .Dt or .TH macro;
feature suggested and patch tested by jmc@
eric [Fri, 24 Apr 2020 11:34:07 +0000 (11:34 +0000)]
strip trailing CRs at smtp level rather than io level
ok millert@
ratchov [Fri, 24 Apr 2020 11:33:28 +0000 (11:33 +0000)]
Make sure devices are properly closed in case of an error.
Fixes possible crashes if the contol device fails, while the audio
device continues to work.
patrick [Fri, 24 Apr 2020 11:27:25 +0000 (11:27 +0000)]
Whitespace fixup for imxehci(4)
claudio [Fri, 24 Apr 2020 10:34:54 +0000 (10:34 +0000)]
Check the various options that local-address gives.
schwarze [Fri, 24 Apr 2020 10:32:33 +0000 (10:32 +0000)]
Remove the deprecation notice for timegm().
The tzcode package marked it dprecated in the late 1980ies
but it is universally supported and here to stay.
Triggered by a question from Rodrigo <hruodr at gmail dot com> on misc@.
William Ahern <william at 25thandclement dot com> listed a number of
sound arguments why it shouldn't be considered deprecated, in
particular that there is no better alternative, in particular none
that is thread-safe.
While here, fix the non-standard section name "NOTES", add the
missing STANDARDS section and provide additional information in the
HISTORY section, based on inspection of C89, C11, POSIX 2008, UNIX
v4 and v5 at TUHS, Tahoe and Reno at the CSRG archives, amd the
SunOS 3.5 and 4.0 manuals on bitsavers.
Reasearch on tzcode and SunOS history done by millert@.
OK millert@ on an earlier version of this patch,
and deraadt@ agrees with the general direction.
kettenis [Fri, 24 Apr 2020 10:05:18 +0000 (10:05 +0000)]
bcmgpio(4)
kettenis [Fri, 24 Apr 2020 09:52:43 +0000 (09:52 +0000)]
Add bcmgpio(4). For now this driver only provides pinctrl functionality.
Actual gpio support (possibly including gpio(4) support) will come later.
ok jsg@
mpi [Fri, 24 Apr 2020 08:50:23 +0000 (08:50 +0000)]
Print per queue stats when dumping hardware counters in IX_DEBUG kernels.
Tested by Hrvoje Popovski.
mestre [Fri, 24 Apr 2020 07:28:37 +0000 (07:28 +0000)]
Fix typo which could lead into a double free
CID
1492713
OK deraadt@ jmatthew@
dtucker [Fri, 24 Apr 2020 03:33:21 +0000 (03:33 +0000)]
Fix incorrect error message for "too many known hosts files." bz#3149, patch
from jjelen at redhat.com.
dtucker [Fri, 24 Apr 2020 02:19:40 +0000 (02:19 +0000)]
Remove leave_non_blocking() which is now dead code because nothing sets
in_non_blocking_mode any more. Patch from michaael.meeks at collabora.com,
ok djm@
patrick [Thu, 23 Apr 2020 22:16:10 +0000 (22:16 +0000)]
Enable imxehci(4).
ok kettenis@
patrick [Thu, 23 Apr 2020 22:14:49 +0000 (22:14 +0000)]
Move imxehci(4) to sys/dev/fdt.
ok kettenis@
jmc [Thu, 23 Apr 2020 21:33:04 +0000 (21:33 +0000)]
SYNOPSIS had no matching Ek, but since it wasn;t needed, remove Bk;
while here, combine two Ar lines into one;
jmc [Thu, 23 Apr 2020 21:28:08 +0000 (21:28 +0000)]
ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
jmc [Thu, 23 Apr 2020 21:10:53 +0000 (21:10 +0000)]
replace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread;
tobhe [Thu, 23 Apr 2020 20:17:48 +0000 (20:17 +0000)]
Add support for switching rdomain on IPsec encryption/decryption.
It can be configured per policy with the new 'rdomain' option
(see iked.conf(5)).
Only the unencrypted (inner) rdomain has to be configured, the
encrypted rdomain is always the one the responsible iked instance
is running in.
The configured rdomain must exist before iked activates the IPsec SAs,
otherwise pfkey will return an error.
ok markus@, patrick@
tobhe [Thu, 23 Apr 2020 19:57:01 +0000 (19:57 +0000)]
Support SADB_X_EXT_RDOMAIN extension in pfkey dump (-m).
ok markus@, patrick@
patrick [Thu, 23 Apr 2020 19:50:52 +0000 (19:50 +0000)]
Enable pcie_aux in addition to the other PCIe clocks on i.MX8M.
patrick [Thu, 23 Apr 2020 19:48:26 +0000 (19:48 +0000)]
Since apparently the bikeshedding over i.MX8M PCIe device tree
bindings still hasn't resulted in an upstream commit in Linux,
accept the ext_osc attribute if ext_osc exists without a value,
or if it has a value greater zero. This improves compatibility
with various device trees.
tobhe [Thu, 23 Apr 2020 19:38:08 +0000 (19:38 +0000)]
Add support for autmatically moving traffic between rdomains on ipsec(4)
encryption or decryption. This allows us to keep plaintext and encrypted
network traffic seperated and reduces the attack surface for network
sidechannel attacks.
The only way to reach the inner rdomain from outside is by successful
decryption and integrity verification through the responsible Security
Association (SA).
The only way for internal traffic to get out is getting encrypted and
moved through the outgoing SA.
Multiple plaintext rdomains can share the same encrypted rdomain while
the unencrypted packets are still kept seperate.
The encrypted and unencrypted rdomains can have different default routes.
The rdomains can be configured with the new SADB_X_EXT_RDOMAIN pfkey
extension. Each SA (tdb) gets a new attribute 'tdb_rdomain_post'.
If this differs from 'tdb_rdomain' then the packet is moved to
'tdb_rdomain_post' afer IPsec processing.
Flows and outgoing IPsec SAs are installed in the plaintext rdomain,
incoming IPsec SAs are installed in the encrypted rdomain.
IPCOMP SAs are always installed in the plaintext rdomain.
They can be viewed with 'route -T X exec ipsecctl -sa' where X is the
rdomain ID.
As the kernel does not create encX devices automatically when creating
rdomains they have to be added by hand with ifconfig for IPsec to work
in non-default rdomains.
discussed with chris@ and kn@
ok markus@, patrick@
mpi [Thu, 23 Apr 2020 18:36:51 +0000 (18:36 +0000)]
Implement builtin 'cpu' keyword.
This is useful to know which CPU recorded a given event.
While here document 'retval' and comment out 'ustack' until we have a
way to capture userland stacks.
mpi [Thu, 23 Apr 2020 18:20:07 +0000 (18:20 +0000)]
Use map keys composed of multiple arguments.
sthen [Thu, 23 Apr 2020 17:12:59 +0000 (17:12 +0000)]
"local-address" can be specified for both address families now, so
no more need for separate v4/v6 groups. ok claudio@
claudio [Thu, 23 Apr 2020 16:17:48 +0000 (16:17 +0000)]
Try to document 'no local-address'
claudio [Thu, 23 Apr 2020 16:13:11 +0000 (16:13 +0000)]
Store local-address by address family. This allows to configure both
an IPv4 and IPv6 local-address on a group and the neighbors bind to the
right local-address. Also implement 'no local-address' to reset a previously
set local address back to zero. This should help with IBGP and multihop
session config and hopefully reduce repetition in bgpd configs.
OK sthen@ benno@
krw [Thu, 23 Apr 2020 15:00:27 +0000 (15:00 +0000)]
Correctly parse "0/0" as the default route when specifying
the classless-[ms-]static-routes options in dhcpd.conf.
Brings dhcpd.conf CIDR parsing in line with dhclient.conf,
dhcp-options(5) and the command lines of various utilities.
Inconsistency noted and fix tested by Freda Bundchen. Thanks!
patrick [Thu, 23 Apr 2020 14:56:28 +0000 (14:56 +0000)]
Add support for the i.MX8MM PCIe clocks. These behave exactly like
the i.MX8MQ variant and sit in the same places.
mpi [Thu, 23 Apr 2020 14:54:12 +0000 (14:54 +0000)]
Extend map to support keys composed of multiple arguments.
Keys are still strings representing the output value.
The following example is now possible to count the number of "on CPU"
events ordered by thread ID and executable name:
# btrace -e 'tracepoint:sched:on__cpu { @[tid, comm] = count() }'
^C
@[138836, idle0]: 830941
@[161307, sshd]: 716476
@[482901, softnet]: 582008
@[104443, systqmp]: 405749
@[269230, update]: 396133
@[326533, softclock]: 316926
@[61040, sshd]: 177201
@[453567, reaper]: 119676
@[446052, ksh]: 85675
@[26270, syslogd]: 66625
@[504699, sshd]: 52958
@[446052, sshd]: 32207
@[44046, tset]: 13333
@[162960, zerothread]: 101
@[313046, ntpd]: 1
ratchov [Thu, 23 Apr 2020 14:47:20 +0000 (14:47 +0000)]
Explain in the DESCRIPTION section in which cases mixerctl should be used
joint work with jmc, thanks
benno [Thu, 23 Apr 2020 12:55:44 +0000 (12:55 +0000)]
Always initialize cachedir and outputdir.
ok job@
jsg [Thu, 23 Apr 2020 11:13:47 +0000 (11:13 +0000)]
drm/amdkfd: kfree the wrong pointer
From Jack Zhang
044a884072b4313554d910b792f46c3e1f0099a5 in linux 4.19.y/4.19.118
3148a6a0ef3cf93570f30a477292768f7eb5d3c3 in mainline linux
nicm [Thu, 23 Apr 2020 10:22:53 +0000 (10:22 +0000)]
Overrides need to be applied both before and after features in case they
change flags used to detect a feature.
mpi [Thu, 23 Apr 2020 09:14:27 +0000 (09:14 +0000)]
Make debug output less verbose.
mpi [Thu, 23 Apr 2020 07:57:27 +0000 (07:57 +0000)]
Document uvmexp.nswget without relying on implementation details.
Prompted by a question from schwarze@
ok deraadt@, schwarze@, visa@
ratchov [Thu, 23 Apr 2020 05:54:35 +0000 (05:54 +0000)]
Use "control" instead of "variable", more appropriate in this context
ok and tweaks jmc
nicm [Thu, 23 Apr 2020 05:48:42 +0000 (05:48 +0000)]
Fix a couple of memory leaks, one when creating a new pane and one when
adding formats onto the queue item.
deraadt [Thu, 23 Apr 2020 02:54:50 +0000 (02:54 +0000)]
Recent changes in usr/mdec require (substantial) growth of the ramdisk.
ok jsg kettenis, testing by kmos also
schwarze [Thu, 23 Apr 2020 00:16:59 +0000 (00:16 +0000)]
adjust section argument of .Dt macro after move from section 1 to 8;
patch from Raf Czlonka <rczlonka at gmail dot com>
jmc [Wed, 22 Apr 2020 21:39:21 +0000 (21:39 +0000)]
use a root prompt for EXAMPLES; ok ratchov
nicm [Wed, 22 Apr 2020 21:15:33 +0000 (21:15 +0000)]
Improve join-pane, move-pane and break-pane:
- There is no need for join-pane and move-pane to be different.
- break-pane can just behave like move-window if the source has only one
pane, instead of failing.
- Add -a to break-pane like move-window.
Also add missing man page bits for previous window-tree.c changes.
GitHub issue 2176.
nicm [Wed, 22 Apr 2020 21:01:28 +0000 (21:01 +0000)]
Indicate the marked pane in choose mode in reverse and add key to set
and clear it (m and M) and a key to jump to the starting pane (H).
nicm [Wed, 22 Apr 2020 20:47:00 +0000 (20:47 +0000)]
Add a session_marked format like window_marked.
sthen [Wed, 22 Apr 2020 18:18:37 +0000 (18:18 +0000)]
sync
tobhe [Wed, 22 Apr 2020 17:26:54 +0000 (17:26 +0000)]
Fix leaks in signature validation.
ok markus@
jsing [Wed, 22 Apr 2020 17:05:53 +0000 (17:05 +0000)]
Revise regress to match state transition changes.
jsing [Wed, 22 Apr 2020 17:05:07 +0000 (17:05 +0000)]
Improve TLSv1.3 state machine for HelloRetryRequest handling.
The state machine currently handles the HelloRetryRequest case by using
WITH_HRR - in other words, we're explicitly indicating when we transition
to the alternate path. The problem here is that we do not know if we're
going to receive a ServerHello or a HelloRetryRequest until we process
the message. This means that the ServerHello processing code has to handle
both types of messages.
The state machine and associated processing code becomes cleaner if we flip
this around so that we assume we are going to receive a HelloRetryRequest
and upon discovering that it is not, trigger WITHOUT_HRR and hand off to
the ServerHello processing function. In particular, this makes the logic
much more straight forward on the server side, when adding support for HRR.
With feedback from tb@
ok tb@
tobhe [Wed, 22 Apr 2020 16:52:04 +0000 (16:52 +0000)]
Log authentication verification failure with "info" priority.
ok markus@
patrick [Wed, 22 Apr 2020 15:27:26 +0000 (15:27 +0000)]
Add clock gates for OCOTP and TMU on i.MX8MQ and i.MX8MM.
schwarze [Wed, 22 Apr 2020 15:00:46 +0000 (15:00 +0000)]
mark up a function name with .Fn;
found with mandoc -Tlint
schwarze [Wed, 22 Apr 2020 14:53:13 +0000 (14:53 +0000)]
correct the description of the top line;
patch from <clematis at insiberia dot net>
eric [Wed, 22 Apr 2020 11:35:34 +0000 (11:35 +0000)]
Check for the dispatcher name in the envelope validation function.
Fixes a possible crash and caching issue when manually moving an
envelope to the queue with smtpctl discover.
ok millert@
jmc [Wed, 22 Apr 2020 11:35:03 +0000 (11:35 +0000)]
sort SEE ALSO;
kettenis [Wed, 22 Apr 2020 11:10:07 +0000 (11:10 +0000)]
Knock out a few more well-known nodes that we don't intend to attach a
driver to as well as nodes that start with a double underscore.
ok patrick@
kettenis [Wed, 22 Apr 2020 10:10:41 +0000 (10:10 +0000)]
bcmdmac(4) and bcmsdhost(4)
kettenis [Wed, 22 Apr 2020 09:48:44 +0000 (09:48 +0000)]
Add bcmsdhost(4), a driver for the Broadcom "sdhost" SD controller
found on the Raspberry Pi.
The driver was ported from NetBSD by Neil Ashford and tobhe@.
ok patrick@, tobhe@
jsg [Wed, 22 Apr 2020 09:46:09 +0000 (09:46 +0000)]
drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
From Sergei Lopatin
9959d615b715972002ed1ec9961486ded26e2ef4 in linux 4.19.y/4.19.117
8c7f0a44b4b4ef16df8f44fbaee6d1f5d1593c83 in mainline linux
nicm [Wed, 22 Apr 2020 08:48:44 +0000 (08:48 +0000)]
Update the cursor position when deleting lines from screens without
history, GitHub issue 2173.
mpi [Wed, 22 Apr 2020 08:47:11 +0000 (08:47 +0000)]
Use FOREACH_QUEUE() where nothing else is required to support multi-queues.
Tested by Hrvoje Popovski and jmatthew@, ok jmatthew@
ratchov [Wed, 22 Apr 2020 08:25:27 +0000 (08:25 +0000)]
Use the same workding as in other pages.
Use "controls" instead of "variables". Use "audio device" instead of
"mixer" to refer to the sound-card.
ok jmc@
mpi [Wed, 22 Apr 2020 07:51:38 +0000 (07:51 +0000)]
Assert that ND6 timer is never set for RTF_LOCAL routes.
Such routes have a valid link-local entry that should not be overwritten.
The current assert in the timeout routine doesn't give enough information
to know where the bug is, if there is still one.
This should play better with syzkaller.
ok claudio@, visa@ as part of a larger diff
mpi [Wed, 22 Apr 2020 07:45:31 +0000 (07:45 +0000)]
Never update the ND entry (cache) corresponding to a RTF_LOCAL route.
Such route correspond to a locally configured address and the ND6
subsystem expect its link-local address to be always present.
Fix an issue reported by Julian Brost.
ok claudio@, visa@
mpi [Wed, 22 Apr 2020 07:09:40 +0000 (07:09 +0000)]
Use I40E_QUEUE_TYPE_EOL instead of hardcoding its value localy.
ok jmatthew@
nicm [Wed, 22 Apr 2020 06:57:13 +0000 (06:57 +0000)]
Change so main-pane-width and height can be given as a percentage.
jmc [Wed, 22 Apr 2020 05:38:19 +0000 (05:38 +0000)]
tweak display in previous; ok espie
jmc [Wed, 22 Apr 2020 05:37:00 +0000 (05:37 +0000)]
sort SEE ALSO;
deraadt [Wed, 22 Apr 2020 02:04:00 +0000 (02:04 +0000)]
sync
deraadt [Tue, 21 Apr 2020 23:38:36 +0000 (23:38 +0000)]
adjust for man pages
dtucker [Tue, 21 Apr 2020 23:14:58 +0000 (23:14 +0000)]
Backslash '$' at then end of string. Prevents warning on some shells.
deraadt [Tue, 21 Apr 2020 21:32:26 +0000 (21:32 +0000)]
move mixerctl and audioctl man pages to section 8, as these work
against root-only device nodes.
krw [Tue, 21 Apr 2020 19:27:03 +0000 (19:27 +0000)]
Revert r1.207. Apparently mpi(4) on sparc64 blows up if
sc_link.openings is greater than 34.
Encountered by Sigi Rudzio on his Blade 2500, who kindly did some
testing to discover that the answer is 34, not 42.
Nuke some whitespace on the way by.
tobhe [Tue, 21 Apr 2020 19:10:32 +0000 (19:10 +0000)]
Enable bcmdmac(4).
ok kettenis@
tobhe [Tue, 21 Apr 2020 18:56:54 +0000 (18:56 +0000)]
Add bcmdmac, a driver for the DMA controller found on BCM283x SoCs.
Original work by Neil Ashford and dlg@
ok kettenis@
jsing [Tue, 21 Apr 2020 17:06:16 +0000 (17:06 +0000)]
Handle TLSv1.3 key shares other than X25519 on the server side.
Previously we would only select an X25519 key share from the client,
ignoring any others. Change this so that we will select the first of the
key shares that matches one of our supported groups.
ok beck@ inoguchi@ tb@
florian [Tue, 21 Apr 2020 17:03:44 +0000 (17:03 +0000)]
unwind(8) is supposed to work in all situations, it no longer
closes its service port when resolving is not working to give asr(3) a
chance (because it falls back to asr(3) internally)
Therefore it is ok to only list 127.0.0.1 in /etc/resolv.conf.
Triggered by a question from Frantisek Holop.
OK benno
jsing [Tue, 21 Apr 2020 16:55:17 +0000 (16:55 +0000)]
Consolidate TLSv1.3 constants.
Move all of the TLSv1.3 constants to the top of tls13_lib.c. Also mark
these all as const so that they end up in .rodata rather than .data.
ok tb@
ratchov [Tue, 21 Apr 2020 14:04:17 +0000 (14:04 +0000)]
Replace parameter -> control
Audio parameter is ambigous in this context, it refers also to sample
rate, encoding, etc.
ok jmc
nicm [Tue, 21 Apr 2020 13:48:56 +0000 (13:48 +0000)]
Move the background colour to clear with (if any) up as well as the data
when scrolling, redraw problem reported by sthen@.