openbsd
4 years agoCheck for the dispatcher name in the envelope validation function.
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@

4 years agosort SEE ALSO;
jmc [Wed, 22 Apr 2020 11:35:03 +0000 (11:35 +0000)]
sort SEE ALSO;

4 years agoKnock out a few more well-known nodes that we don't intend to attach a
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@

4 years agobcmdmac(4) and bcmsdhost(4)
kettenis [Wed, 22 Apr 2020 10:10:41 +0000 (10:10 +0000)]
bcmdmac(4) and bcmsdhost(4)

4 years agoAdd bcmsdhost(4), a driver for the Broadcom "sdhost" SD controller
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@

4 years agodrm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
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

4 years agoUpdate the cursor position when deleting lines from screens without
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.

4 years agoUse FOREACH_QUEUE() where nothing else is required to support multi-queues.
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@

4 years agoUse the same workding as in other pages.
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@

4 years agoAssert that ND6 timer is never set for RTF_LOCAL routes.
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

4 years agoNever update the ND entry (cache) corresponding to a RTF_LOCAL route.
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@

4 years agoUse I40E_QUEUE_TYPE_EOL instead of hardcoding its value localy.
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@

4 years agoChange so main-pane-width and height can be given as a percentage.
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.

4 years agotweak display in previous; ok espie
jmc [Wed, 22 Apr 2020 05:38:19 +0000 (05:38 +0000)]
tweak display in previous; ok espie

4 years agosort SEE ALSO;
jmc [Wed, 22 Apr 2020 05:37:00 +0000 (05:37 +0000)]
sort SEE ALSO;

4 years agosync
deraadt [Wed, 22 Apr 2020 02:04:00 +0000 (02:04 +0000)]
sync

4 years agoadjust for man pages
deraadt [Tue, 21 Apr 2020 23:38:36 +0000 (23:38 +0000)]
adjust for man pages

4 years agoBackslash '$' at then end of string. Prevents warning on some shells.
dtucker [Tue, 21 Apr 2020 23:14:58 +0000 (23:14 +0000)]
Backslash '$' at then end of string.  Prevents warning on some shells.

4 years agomove mixerctl and audioctl man pages to section 8, as these work
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.

4 years agoRevert r1.207. Apparently mpi(4) on sparc64 blows up if
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.

4 years agoEnable bcmdmac(4).
tobhe [Tue, 21 Apr 2020 19:10:32 +0000 (19:10 +0000)]
Enable bcmdmac(4).

ok kettenis@

4 years agoAdd bcmdmac, a driver for the DMA controller found on BCM283x SoCs.
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@

4 years agoHandle TLSv1.3 key shares other than X25519 on the server side.
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@

4 years agounwind(8) is supposed to work in all situations, it no longer
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

4 years agoConsolidate TLSv1.3 constants.
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@

4 years agoReplace parameter -> control
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

4 years agoMove the background colour to clear with (if any) up as well as the data
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@.

4 years agoSend broadcast packets to INADDR_BROADCAST, not INADDR_ANY.
krw [Tue, 21 Apr 2020 13:44:29 +0000 (13:44 +0000)]
Send broadcast packets to INADDR_BROADCAST, not INADDR_ANY.

Should fix '-r' (a.k.a. release a lease) for leases without a valid
DHCP_SERVER_IDENTIFIER.

Spotted by Alexander Markert. Thanks!

4 years agoThe group is not optional.
ratchov [Tue, 21 Apr 2020 13:24:29 +0000 (13:24 +0000)]
The group is not optional.

Controls that belong to a group must be expressed with the group name
included.  Not all control belong to a group, though.

4 years agoDescribe behavior when channel numbers are omitted
ratchov [Tue, 21 Apr 2020 13:18:27 +0000 (13:18 +0000)]
Describe behavior when channel numbers are omitted

4 years agoUse "real world" examples, like output.level.
ratchov [Tue, 21 Apr 2020 13:13:16 +0000 (13:13 +0000)]
Use "real world" examples, like output.level.

4 years agoRemove (confusing) description of non-scalar controls.
ratchov [Tue, 21 Apr 2020 13:05:04 +0000 (13:05 +0000)]
Remove (confusing) description of non-scalar controls.

Nothing exposes such controls yet, so it's not necessary.

4 years ago256 and RGB features can imply AX (for aixterm colours).
nicm [Tue, 21 Apr 2020 10:37:11 +0000 (10:37 +0000)]
256 and RGB features can imply AX (for aixterm colours).

4 years agoWork around FIFO_UNDERRUN (0x84) Tx errors being reported by iwn(4) firmware.
stsp [Tue, 21 Apr 2020 10:34:24 +0000 (10:34 +0000)]
Work around FIFO_UNDERRUN (0x84) Tx errors being reported by iwn(4) firmware.

When this error occurs, it tends to occur multiple times in a row. Affected
frames are lost and never get transmitted, and traffic stalls for a while.

I don't understand what is causing this. I have found that it only occurs if
we ask the firmware to use its multi-rate retry table. If we send frames at
a fixed rate, it does not happen. So this can be used as a workaround until
the real problem is understood.

Since this error is particularly problematic with block ack, use a fixed Tx
rate for aggregation queues for now. All subframes contained in an aggregate
are always sent together at the same rate anyway.

ok mpi@

4 years agoFix TID value set by iwn(4) in the Tx command when sending block ack requests.
stsp [Tue, 21 Apr 2020 10:33:30 +0000 (10:33 +0000)]
Fix TID value set by iwn(4) in the Tx command when sending block ack requests.
ok jmatthew@ mpi@

4 years agoCorrect cdev_ipmi_init()'s poll stub to return 0 instead of ENODEV.
mpi [Tue, 21 Apr 2020 08:29:27 +0000 (08:29 +0000)]
Correct cdev_ipmi_init()'s poll stub to return 0 instead of ENODEV.

poll functions shouldn't return errnos, selfalse() and seltrue() exist
for this reason :)

While here fix some comments.

ok visa@

4 years agoPrevent infinite for loop since i went from ssize_t to size_t. Patch from
dtucker [Tue, 21 Apr 2020 08:25:22 +0000 (08:25 +0000)]
Prevent infinite for loop since i went from ssize_t to size_t.  Patch from
eagleoflqj via OpenSSH github PR#178, ok djm@, feedback & ok millert@

4 years agoAdd support for the additional SDHC controller found on the Raspberry Pi.
kettenis [Tue, 21 Apr 2020 07:58:57 +0000 (07:58 +0000)]
Add support for the additional SDHC controller found on the Raspberry Pi.

ok patrick@

4 years agoSet DMA constraint based on the openbsd,dma-constraint property if
kettenis [Tue, 21 Apr 2020 07:57:17 +0000 (07:57 +0000)]
Set DMA constraint based on the openbsd,dma-constraint property if
present.  Make sure bus_dmamap_alloc(9) allocates memory that meets that
constraint.

ok patrick@

4 years agoAdd an openbsd,dma-constraint property to the /chosen node and set it
kettenis [Tue, 21 Apr 2020 07:54:01 +0000 (07:54 +0000)]
Add an openbsd,dma-constraint property to the /chosen node and set it
to an appropriate value for the Raspberry Pi 4.

ok patrick@

4 years agoTurn off the block flag to reset the state or the cursor will not be
nicm [Tue, 21 Apr 2020 06:34:13 +0000 (06:34 +0000)]
Turn off the block flag to reset the state or the cursor will not be
moved back to the right place.

4 years agoDo not clear client pane redraw flags until the redraw actually happens.
nicm [Tue, 21 Apr 2020 06:32:40 +0000 (06:32 +0000)]
Do not clear client pane redraw flags until the redraw actually happens.

4 years agoCommands that create objects return a 24 bit object ID, so mask off the
jmatthew [Tue, 21 Apr 2020 05:49:25 +0000 (05:49 +0000)]
Commands that create objects return a 24 bit object ID, so mask off the
high 8 bits of the value we extract, in case the firmware leaves junk there.
Hrvoje Popovski has seen this with newer firmware on a ConnectX 5 card,
which now works properly.

ok dlg@

4 years agotweak previous;
jmc [Tue, 21 Apr 2020 05:36:04 +0000 (05:36 +0000)]
tweak previous;

4 years agoxterm* needs XT also.
nicm [Tue, 21 Apr 2020 05:26:13 +0000 (05:26 +0000)]
xterm* needs XT also.

4 years agovmd: improve concurrency control in pause
pd [Tue, 21 Apr 2020 03:36:56 +0000 (03:36 +0000)]
vmd: improve concurrency control in pause

Previous implementation hit a deadlock sometimes as the pthread_cond_broadcast
for the pause mutex could happen before pthread_cond_wait.  This implementation
uses a barrier which is hit when all vpcus are paused.

ok mpi@

4 years agoregen
kettenis [Mon, 20 Apr 2020 21:52:25 +0000 (21:52 +0000)]
regen

4 years agoAdd Broadcom BCM2711.
kettenis [Mon, 20 Apr 2020 21:52:02 +0000 (21:52 +0000)]
Add Broadcom BCM2711.

4 years agoFix the example: now mixerctl uses /dev/audioctl0
ratchov [Mon, 20 Apr 2020 20:54:31 +0000 (20:54 +0000)]
Fix the example: now mixerctl uses /dev/audioctl0

4 years agoregen
patrick [Mon, 20 Apr 2020 20:32:23 +0000 (20:32 +0000)]
regen

4 years agoAdd another SanDisk/WD Black NVMe device.
patrick [Mon, 20 Apr 2020 20:30:45 +0000 (20:30 +0000)]
Add another SanDisk/WD Black NVMe device.

From Greg Jones <gjones5555 (at) netscape (dot) net>

4 years agoRemove references to the mixer device, rework control device section
ratchov [Mon, 20 Apr 2020 20:29:22 +0000 (20:29 +0000)]
Remove references to the mixer device, rework control device section

Add the missing paragraph to explain that the control device may be
read. Add the missing .Xr to sndioctl and sioctl_open.

ok and tweaks jmc@

4 years agoRemove unused 'dsa_cert' variable.
tobhe [Mon, 20 Apr 2020 20:03:38 +0000 (20:03 +0000)]
Remove unused 'dsa_cert' variable.

ok markus@

4 years agoDocument the suggested interval in man page
job [Mon, 20 Apr 2020 19:47:28 +0000 (19:47 +0000)]
Document the suggested interval in man page

4 years agoDon't return stack garbage even if it is going to be
krw [Mon, 20 Apr 2020 17:25:23 +0000 (17:25 +0000)]
Don't return stack garbage even if it is going to be
ignored. Initialize 'error' to 0.

CID 1483380

ok mpi@

4 years agoadd clean-old-distfiles to see also, trying to make it more visible even
espie [Mon, 20 Apr 2020 16:07:43 +0000 (16:07 +0000)]
add clean-old-distfiles to see also, trying to make it more visible even
though I don't quite know where to add it in the manpage text proper
fetch ? distfiles ? clean=dist ? somewhere else ?

4 years agoexplicitly tell people that clean-old-distfiles doesn't need full dpb builds
espie [Mon, 20 Apr 2020 16:06:15 +0000 (16:06 +0000)]
explicitly tell people that clean-old-distfiles doesn't need full dpb builds

4 years agoFix pasto. We only need a single register set. Makes this work
kettenis [Mon, 20 Apr 2020 16:01:39 +0000 (16:01 +0000)]
Fix pasto.   We only need a single register set.  Makes this work
with a mainline Linux device tree.

4 years agoAlways start sync for output in panes that are not the active pane.
nicm [Mon, 20 Apr 2020 15:49:05 +0000 (15:49 +0000)]
Always start sync for output in panes that are not the active pane.

4 years agoApply terminal-overrides after terminal detection, it always takes
nicm [Mon, 20 Apr 2020 15:37:32 +0000 (15:37 +0000)]
Apply terminal-overrides after terminal detection, it always takes
precedence.

4 years agoChange how sync works to always send the end sequence after all output
nicm [Mon, 20 Apr 2020 14:59:31 +0000 (14:59 +0000)]
Change how sync works to always send the end sequence after all output
is done when we are returning to the event loop (since we always move
the cursor at that point). Also a man fix from jmc.

4 years agoChange the Sync capability to be a string instead of a flag.
nicm [Mon, 20 Apr 2020 13:38:48 +0000 (13:38 +0000)]
Change the Sync capability to be a string instead of a flag.

4 years agoTidy up the terminal detection and feature code and add named sets of
nicm [Mon, 20 Apr 2020 13:25:36 +0000 (13:25 +0000)]
Tidy up the terminal detection and feature code and add named sets of
terminal features, each of which are defined in one place and map to a
builtin set of terminfo(5) capabilities. Features can be specified based
on TERM with a new terminal-features option or with the -T flag when
running tmux. tmux will also detect a few common terminals from the DA
and DSR responses.

This is intended to make it easier to configure tmux's use of
terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5)
databases or for features which do not yet have a terminfo(5) entry.
Instead of having to grok terminfo(5) capability names and what they
should be set to in the terminal-overrides option, the user can
hopefully just give tmux a feature name and let it do the right thing.

The terminal-overrides option remains both for backwards compatibility
and to allow tweaks of individual capabilities.

tmux already did much of this already, this makes it tidier and simpler
to configure.

4 years agoIn fragment identifiers, use ~%d for ordinal suffixes,
schwarze [Mon, 20 Apr 2020 12:59:24 +0000 (12:59 +0000)]
In fragment identifiers, use ~%d for ordinal suffixes,
and reserve the character '~' for that purpose.

Bug found by validator.w3.org in openssl(1), which contains both a
tag "tls1_2" and a second instance of a tag "tls1", which also resulted
in "tls1_2", causing a clash.  Now, the second instance of "tls1" is
rendered as "tls1~2" instead, employing the newly reserved '~'.

4 years agoIncrease the completion queue size to prevent overflow. Under reasonably
jmatthew [Mon, 20 Apr 2020 12:33:03 +0000 (12:33 +0000)]
Increase the completion queue size to prevent overflow.  Under reasonably
unlikely circumstances - lots of single-fragment packets being sent, a
significant number of packets being received, while the interrupt handler
was unable to process the completion queue - the completion queue could
overflow, which would result in the interface locking up.

ok dlg@

4 years agoCheck if we've reached the end of the current mailbox before writing past
jmatthew [Mon, 20 Apr 2020 12:23:53 +0000 (12:23 +0000)]
Check if we've reached the end of the current mailbox before writing past
the end of it, rather than after.  Now we can actually allocate queues
big enough to need multiple mailboxes.

ok dlg@

4 years agoDon't call mcx_intr() from mcx_cmdq_poll(); this was a leftover from early
jmatthew [Mon, 20 Apr 2020 12:11:17 +0000 (12:11 +0000)]
Don't call mcx_intr() from mcx_cmdq_poll(); this was a leftover from early
development that I forgot about, but turns out to be a potential race with
the actual interrupt handler.

ok dlg@

4 years agoStrip the 'in bgpd' in the title of the rpki-client man page.
claudio [Mon, 20 Apr 2020 11:15:14 +0000 (11:15 +0000)]
Strip the 'in bgpd' in the title of the rpki-client man page.
rpki-client is not only for bgpd (especially in the portable version).
From Robert Scheck.
OK job@ benno@

4 years agoAlso redraw panes which aren't pane 0. Problem reported by tb@.
nicm [Mon, 20 Apr 2020 09:07:55 +0000 (09:07 +0000)]
Also redraw panes which aren't pane 0. Problem reported by tb@.

4 years agoAdd athn(4) definitions for the block-ack/block-ack-request control register.
stsp [Mon, 20 Apr 2020 08:50:06 +0000 (08:50 +0000)]
Add athn(4) definitions for the block-ack/block-ack-request control register.

Not used yet but may become useful later.

4 years agoFix .Bl header label used for alignment in bwfm(4) supported device table.
stsp [Mon, 20 Apr 2020 08:43:36 +0000 (08:43 +0000)]
Fix .Bl header label used for alignment in bwfm(4) supported device table.

4 years agoin case there are several operators on a dependency line, prefer the
espie [Mon, 20 Apr 2020 08:17:33 +0000 (08:17 +0000)]
in case there are several operators on a dependency line, prefer the
standard one (:) to the very BSD specific (!) so that standard Makefiles
keep working in the presence of ! in filenames.
This doesn't supersede the usual heuristics of choosing the operator
followed by space if several are present.

okay millert@

4 years agoOnly trim blank lines when the source pane is not the target pane,
nicm [Mon, 20 Apr 2020 06:08:37 +0000 (06:08 +0000)]
Only trim blank lines when the source pane is not the target pane,
otherwise the cursor moves which is a bit strange.

4 years agoNeed to check for pane redrawing even if just the window flag is set
nicm [Mon, 20 Apr 2020 06:07:39 +0000 (06:07 +0000)]
Need to check for pane redrawing even if just the window flag is set
(the pane flag may not have been previously set to avoid looping the
windows).

4 years agoregression test for printing of private key fingerprints and key
djm [Mon, 20 Apr 2020 04:44:47 +0000 (04:44 +0000)]
regression test for printing of private key fingerprints and key
comments, mostly by loic AT venez.fr (slightly tweaked for portability)
ok dtucker@

4 years agofix a bug I introduced in r1.406: when printing private key fingerprint
djm [Mon, 20 Apr 2020 04:43:57 +0000 (04:43 +0000)]
fix a bug I introduced in r1.406: when printing private key fingerprint
of old-format key, key comments were not being displayed. Spotted by
loic AT venez.fr, ok dtucker

4 years agoAdd installation instructions for Raspberry Pi 4, covering what hardware
sthen [Sun, 19 Apr 2020 23:41:19 +0000 (23:41 +0000)]
Add installation instructions for Raspberry Pi 4, covering what hardware
you will currently need to run OpenBSD on the board, steps to take, and
what you should expect to see.  ok kettenis@

4 years agofix insufficient input sanitization in pf_rulecopyin() and pf_pool_copyin()
sashan [Sun, 19 Apr 2020 22:31:06 +0000 (22:31 +0000)]
fix insufficient input sanitization in pf_rulecopyin() and pf_pool_copyin()

Reported-by: syzbot+d0639632a0affe0a690e@syzkaller.appspotmail.com
Reported-by: syzbot+ae5e359d7f82688edd6a@syzkaller.appspotmail.com
OK anton@

4 years ago"network adapters" supported by bwfm(4) are in fact "wireless network adapters"
stsp [Sun, 19 Apr 2020 21:47:37 +0000 (21:47 +0000)]
"network adapters" supported by bwfm(4) are in fact "wireless network adapters"

4 years agoDocument chipsets supported by bwfm(4).
stsp [Sun, 19 Apr 2020 21:41:23 +0000 (21:41 +0000)]
Document chipsets supported by bwfm(4).
ok jmc@ deraadt@
"thanks and don't wait for me" patrick@

4 years agoAdd comments to clarify the hex IDs of some bwfm(4) devices on SD bus.
stsp [Sun, 19 Apr 2020 21:40:21 +0000 (21:40 +0000)]
Add comments to clarify the hex IDs of some bwfm(4) devices on SD bus.
ok jmc@ deraadt@ kettenis@
"thanks and don't wait for me" patrick@

4 years agothere should be a space between the year and "BC";
jmc [Sun, 19 Apr 2020 21:08:39 +0000 (21:08 +0000)]
there should be a space between the year and "BC";
taken and expanded from grog@freebsd

4 years ago(1 << 39) is not well defined on a 32-bit int. Use same casts for
krw [Sun, 19 Apr 2020 19:29:52 +0000 (19:29 +0000)]
(1 << 39) is not well defined on a 32-bit int. Use same casts for
low_mask as already used on high_mask to convince compiler to use 64
bits.

CID 1480717
CID 1480778

ok pd@

4 years agosync
deraadt [Sun, 19 Apr 2020 18:20:11 +0000 (18:20 +0000)]
sync

4 years agoAdd -groups option to openssl(1) s_server.
jsing [Sun, 19 Apr 2020 17:05:55 +0000 (17:05 +0000)]
Add -groups option to openssl(1) s_server.

This allows supported EC groups to be configured, which will also control
which TLSv1.3 key shares we'll accept. While here, deprecate the rather
useless -named_curve option, which is effectively the same as -groups with
a single group. Also stop setting a single default group of P-256 via
SSL_CTX_set_tmp_ecdh() - use the library defaults instead.

ok beck@ inoguchi@

4 years agoAdd compatible string for the Raspberry Pi 4.
kettenis [Sun, 19 Apr 2020 16:48:39 +0000 (16:48 +0000)]
Add compatible string for the Raspberry Pi 4.

4 years agoWhen .Bd, .D1, or .Dl is tagged, attach the permalink
schwarze [Sun, 19 Apr 2020 16:26:11 +0000 (16:26 +0000)]
When .Bd, .D1, or .Dl is tagged, attach the permalink
to the first few letters, similar to what was earlier done for .Pp.

4 years agoAdd support for hardware where an SDHC controller lives on a bus that
kettenis [Sun, 19 Apr 2020 16:25:33 +0000 (16:25 +0000)]
Add support for hardware where an SDHC controller lives on a bus that
only supports 32-bit access (hello Raspberry Pi).

ok tobhe@

4 years agoAdd quitks for the SDHC controller found on the Raspberry Pi. This will
kettenis [Sun, 19 Apr 2020 16:17:03 +0000 (16:17 +0000)]
Add quitks for the SDHC controller found on the Raspberry Pi.  This will
give us uSD card or WiFi support (but not both) depending on the firmware
configuration.

ok tobhe@

4 years agoAdd bcmclock(4) and bcmmbox(4).
tobhe [Sun, 19 Apr 2020 16:15:46 +0000 (16:15 +0000)]
Add bcmclock(4) and bcmmbox(4).

4 years agoAdd support for hardware where an SDHC controller lives on a bus that
kettenis [Sun, 19 Apr 2020 16:15:20 +0000 (16:15 +0000)]
Add support for hardware where an SDHC controller lives on a bus that
only supports 32-bit access (hello Raspberry Pi).

ok tobhe@

4 years agoAdd bcmclock(4) and bcmmbox(4).
tobhe [Sun, 19 Apr 2020 16:09:45 +0000 (16:09 +0000)]
Add bcmclock(4) and bcmmbox(4).

ok patrick@

4 years agobcmirng(4)
kettenis [Sun, 19 Apr 2020 16:06:48 +0000 (16:06 +0000)]
bcmirng(4)

4 years agoEnable bcmclock(4) and bcmmbox(4).
tobhe [Sun, 19 Apr 2020 16:04:34 +0000 (16:04 +0000)]
Enable bcmclock(4) and bcmmbox(4).

4 years agoAdd bcmirng(4), a driver for the RNG200 random number generator found on
kettenis [Sun, 19 Apr 2020 16:00:00 +0000 (16:00 +0000)]
Add bcmirng(4), a driver for the RNG200 random number generator found on
the Raspberry Pi 4.

ok deraadt@

4 years agoCorrectly handle non-unique tags even when NODE_ID and NODE_HREF fall
schwarze [Sun, 19 Apr 2020 15:15:54 +0000 (15:15 +0000)]
Correctly handle non-unique tags even when NODE_ID and NODE_HREF fall
apart, NODE_ID occurring earlier than NODE_HREF.

4 years agoMove logic to change brightness level in reasonable steps from acpivout(4)
kettenis [Sun, 19 Apr 2020 15:05:14 +0000 (15:05 +0000)]
Move logic to change brightness level in reasonable steps from acpivout(4)
into wsdisplay(4).  This code is now exposed through
wsdisplay_brightness_{step,zero,cycle} functions that can be called by
any driver that handles brightnes "hotkeys".  These functions take
a wsdisplay(4) device pointer as their first argument, which should be
provided if a clear association between events and a particular display
exist.  This is used in wskbd(4).  Otherwise NULL can be passed and
the code will direct the request at the first wsdisplay(4) that
implements brightness adjustment.

Tested by many.  Fixes brightness keys on x395 and other thinkpads with
AMD graphics.

ok patrick@

4 years agoAdd bcmclock, a driver for the BCM283X CPRMAN clock controller.
tobhe [Sun, 19 Apr 2020 14:58:20 +0000 (14:58 +0000)]
Add bcmclock, a driver for the BCM283X CPRMAN clock controller.

Original work by Neil Ashford and dlg@
Feedback from jsg@
ok kettenis@, dlg@

4 years agoProvide TLSv1.3 cipher suite aliases to match the names used in RFC 8446.
jsing [Sun, 19 Apr 2020 14:54:14 +0000 (14:54 +0000)]
Provide TLSv1.3 cipher suite aliases to match the names used in RFC 8446.

ok beck@ inoguchi@ tb@

4 years agoAdd bcmmbox, a driver for the VideoCore messagebox interface on BCM283X.
tobhe [Sun, 19 Apr 2020 14:51:52 +0000 (14:51 +0000)]
Add bcmmbox, a driver for the VideoCore messagebox interface on BCM283X.

Original work by Neil Ashford and dlg@
Feedback from jsg@
ok kettenis@, dlg@