openbsd
5 years agoremove unused declarations
eric [Mon, 8 Apr 2019 08:22:32 +0000 (08:22 +0000)]
remove unused declarations

ok gilles@

5 years agofix parsing of datalines before passing them to filters, the | splitting is
gilles [Mon, 8 Apr 2019 07:44:45 +0000 (07:44 +0000)]
fix parsing of datalines before passing them to filters, the | splitting is
done a bit too early

diff from Martijn van Duren <openbsd+tech@list.imperialat.at>

5 years agoCurrent window style also needs to be tested for default.
nicm [Sun, 7 Apr 2019 20:18:20 +0000 (20:18 +0000)]
Current window style also needs to be tested for default.

5 years agoexitting -> exiting
tb [Sun, 7 Apr 2019 16:41:16 +0000 (16:41 +0000)]
exitting -> exiting

From Michael Scovetta, PR #108

5 years agoRevert tasn_prn.c r1.18.
jsing [Sun, 7 Apr 2019 16:35:50 +0000 (16:35 +0000)]
Revert tasn_prn.c r1.18.

In this code, just because something is cast to a type doesn't mean it is
necessarily that type - in this case we cannot check the length of the
ASN1_STRING here, since it might be another data type and later handled
as an int (for example, in the V_ASN1_BOOLEAN case).

We will revisit this post release.

ok tb@

5 years agodon't silence children under fw_update, since ftp(1) can tell us
espie [Sun, 7 Apr 2019 12:30:39 +0000 (12:30 +0000)]
don't silence children under fw_update, since ftp(1) can tell us
what's wrong with the network.

okay deraadt@

5 years agoBe more careful when setting timeout to 0 because there is pending work
claudio [Sun, 7 Apr 2019 10:52:30 +0000 (10:52 +0000)]
Be more careful when setting timeout to 0 because there is pending work
on a peer. Just checking the peer read buffer size is not enough since
the data present could be a partial message and so the SE should sleep
until a new POLLIN event fires. Adjust the logic by adding a rpending
flag that is only set if reading the session buffer was exited early
because MSG_PROCESS_LIMIT was hit.
OK benno@

5 years agosome scenarios may call match_locations on a DeleteSet.
espie [Sun, 7 Apr 2019 10:44:25 +0000 (10:44 +0000)]
some scenarios may call match_locations on a DeleteSet.
there is no external source, so return []

(noticed by Anton Karpov, not sure how to reproduce)

5 years agosync
deraadt [Sat, 6 Apr 2019 17:44:51 +0000 (17:44 +0000)]
sync

5 years agoadd -Dsnapshot as a synonym for -Dsnap
espie [Sat, 6 Apr 2019 10:55:01 +0000 (10:55 +0000)]
add -Dsnapshot as a synonym for -Dsnap
(after 6 months, I remembered the option wrong, so as a usability fix,
make it possible for other people to forget as well)

5 years agohelp the debugger, we usually don't want to stop after a fork to an
espie [Sat, 6 Apr 2019 10:48:51 +0000 (10:48 +0000)]
help the debugger, we usually don't want to stop after a fork to an
external program

5 years agodo not call freeaddrinfo() on a NULL pointer.
eric [Sat, 6 Apr 2019 10:35:48 +0000 (10:35 +0000)]
do not call freeaddrinfo() on a NULL pointer.

5 years agoDon't mangle command line arguments with strsep(). Mangle
krw [Sat, 6 Apr 2019 08:25:05 +0000 (08:25 +0000)]
Don't mangle command line arguments with strsep(). Mangle
a strdup()'d copy and throw it away when done.

cluebat from deraadt@

5 years agounbreak make includes on non-clang archs after libobjc removal
jsg [Sat, 6 Apr 2019 02:56:16 +0000 (02:56 +0000)]
unbreak make includes on non-clang archs after libobjc removal
found the hard way by nayden@ ok deraadt@

5 years agoinsert a missing .El and fix a typo
schwarze [Fri, 5 Apr 2019 21:44:32 +0000 (21:44 +0000)]
insert a missing .El and fix a typo

5 years agosync
deraadt [Fri, 5 Apr 2019 21:09:02 +0000 (21:09 +0000)]
sync

5 years agoUse new rdsetroot.
deraadt [Fri, 5 Apr 2019 21:08:00 +0000 (21:08 +0000)]
Use new rdsetroot.

5 years agotake elfrdsetroot, clean it up for regular usage, and make it a full
deraadt [Fri, 5 Apr 2019 21:07:11 +0000 (21:07 +0000)]
take elfrdsetroot, clean it up for regular usage, and make it a full
citizen of base.
push from benno, ok mortimer ingo others

5 years agoFix some warnings, from Thomas Adam.
nicm [Fri, 5 Apr 2019 20:32:31 +0000 (20:32 +0000)]
Fix some warnings, from Thomas Adam.

5 years agosync
tb [Fri, 5 Apr 2019 20:27:45 +0000 (20:27 +0000)]
sync

5 years agowhitespace consistency
tb [Fri, 5 Apr 2019 20:25:42 +0000 (20:25 +0000)]
whitespace consistency

5 years agoAdd SERVER_HELLO_RETRY state
tb [Fri, 5 Apr 2019 20:25:25 +0000 (20:25 +0000)]
Add SERVER_HELLO_RETRY state

5 years agoBy design, our state machine is a DAG contrary to the state machine in
tb [Fri, 5 Apr 2019 20:23:38 +0000 (20:23 +0000)]
By design, our state machine is a DAG contrary to the state machine in
the spec. To avoid the obvious loop in the RFC's state machine, we added
a CLIENT_HELLO_RETRY state which is a second ClientHello with special
rules.  There is, however, no state to react to this second client hello.
This adds a matching SERVER_HELLO_RETRY state to the handshakes table.

This means in particular that the WITH_HRR state cannot be set in
tls13_server_hello_recv(), so remove this now dead check.

ok jsing

5 years agoImport SSL_CTX_add1_chain_cert(3) from OpenSSL branch 1.1.1, which is still
schwarze [Fri, 5 Apr 2019 18:29:43 +0000 (18:29 +0000)]
Import SSL_CTX_add1_chain_cert(3) from OpenSSL branch 1.1.1, which is still
under a free license, omitting functions we don't have and tweaked by me;
the functions were provided by jsing@ in ssl.h rev. 1.166.

While here, also document SSL_CTX_get_extra_chain_certs(3) because
it is closely related to companion functions are already documented
and the API is kind of incomplete without it.

5 years agofix link URL; pointed out by "openbsduser <at> airmail.cc"
sthen [Fri, 5 Apr 2019 14:56:48 +0000 (14:56 +0000)]
fix link URL; pointed out by "openbsduser <at> airmail.cc"

5 years agoIn debug mode print TCP flag names to console correctly.
bluhm [Fri, 5 Apr 2019 14:42:06 +0000 (14:42 +0000)]
In debug mode print TCP flag names to console correctly.
from Mitchell Krome

5 years agoBroken userland software sets address bit in routing message without
bluhm [Fri, 5 Apr 2019 12:58:34 +0000 (12:58 +0000)]
Broken userland software sets address bit in routing message without
providing a corresponding socket address.  A stricter kernel check
returns EINVAL and the software does not work anymore.  Relax the
check for OpenBSD 6.5 release so we have more time to find and fix
bugs in ports afterwards.  This is a temporary workaround.
analysis sthen@; OK claudio@ jca@

5 years agoit is POOL_DEBUG disable time
deraadt [Fri, 5 Apr 2019 09:06:31 +0000 (09:06 +0000)]
it is POOL_DEBUG disable time

5 years agoFix hack(6).
bentley [Fri, 5 Apr 2019 09:02:27 +0000 (09:02 +0000)]
Fix hack(6).

- Write savegames and scorefiles to the current directory instead of /var
- Save oc_name and oc_descr alongside oc_uname in all situations
- When a levitation potion times out, explicitly float down

These patches were contributed last year by "tonypony76"; thanks!

ok deraadt@, with added enthusiasm from tedu@

5 years agoTry to start playback after play buffer pointers are advanced.
ratchov [Fri, 5 Apr 2019 06:14:13 +0000 (06:14 +0000)]
Try to start playback after play buffer pointers are advanced.

Allows playback to start automatically as soon as there's enough data,
even if the AUDIO_START ioctl is not called. This is mainly useful to
quickly test & debug low level drivers with simple shell commands.

5 years agoZap two dead #defines that were unused since jsing deleted the
tb [Fri, 5 Apr 2019 05:13:12 +0000 (05:13 +0000)]
Zap two dead #defines that were unused since jsing deleted the
record_type member of the tls13_handshake_action struct.

ok jsing

5 years agoprint the gre protocol number as hex when vflag is enabled
dlg [Fri, 5 Apr 2019 00:59:24 +0000 (00:59 +0000)]
print the gre protocol number as hex when vflag is enabled

this is useful for telling the MPLSes apart, and generally understanding
what you're seeing.

5 years agosupport printing cdp over gre and ppp
dlg [Fri, 5 Apr 2019 00:57:59 +0000 (00:57 +0000)]
support printing cdp over gre and ppp

ok deraadt@ mpi@ sthen@

5 years agoMake tpm(4) attach to MSFT0101 chips.
edd [Thu, 4 Apr 2019 22:20:28 +0000 (22:20 +0000)]
Make tpm(4) attach to MSFT0101 chips.

I found this chip in my Lenovo Thinkpad X1 (5th gen):
tpm0 at acpi0: TPM_ addr 0xfed40000/0x5000: device 0x001b15d1 rev 0x10

"Yes, please commit this" deraadt@. Thanks.

5 years agoI forgot to mark some targets as .PHONY
tb [Thu, 4 Apr 2019 21:29:27 +0000 (21:29 +0000)]
I forgot to mark some targets as .PHONY

5 years agoRFC 2328 mandates in 12.4.1.1 that the Link ID of the Type 3 link has to
remi [Thu, 4 Apr 2019 19:57:08 +0000 (19:57 +0000)]
RFC 2328 mandates in 12.4.1.1 that the Link ID of the Type 3 link has to
be set to the subnet's IP address and not the interface address.

Bug report and fix from Mitchell Krome.

OK claudio@

5 years agoaccept the NULL string in the proc message formatting api and simplify
eric [Thu, 4 Apr 2019 19:25:45 +0000 (19:25 +0000)]
accept the NULL string in the proc message formatting api and simplify
code accordingly.

5 years agoImplement legacy fallback for the TLS 1.3 client.
jsing [Thu, 4 Apr 2019 16:53:57 +0000 (16:53 +0000)]
Implement legacy fallback for the TLS 1.3 client.

If the Server Hello received indicates that the server did not negotiate
TLS 1.3, fallback to the original TLS client implementation.

ok bcook@, tb@

5 years agoClean up the cipher/digest table mess.
jsing [Thu, 4 Apr 2019 16:44:24 +0000 (16:44 +0000)]
Clean up the cipher/digest table mess.

The original implementation allows for libcrypto to be compiled without a
given algorithm and libssl then detects that ciphers or digests are
unavailable so that it can disable the associated cipher suites.

This is unnecessary since we do not compile out algorithms.

ok beck@, tb@ (a while back)

5 years agoUse correct define.
jsing [Thu, 4 Apr 2019 15:47:15 +0000 (15:47 +0000)]
Use correct define.

5 years agoOnly assign destlen when src is non-NULL.
jsing [Thu, 4 Apr 2019 15:10:10 +0000 (15:10 +0000)]
Only assign destlen when src is non-NULL.

This avoids ever having a non-zero len with a NULL pointer.

5 years agoSwitch to pthread_mutex_init().
jsing [Thu, 4 Apr 2019 15:09:09 +0000 (15:09 +0000)]
Switch to pthread_mutex_init().

While PTHREAD_MUTEX_INITIALIZER can be used on OpenBSD, some other
platforms do not like it.

Noted by bcook@

5 years agoSync.
jsing [Thu, 4 Apr 2019 15:04:26 +0000 (15:04 +0000)]
Sync.

5 years agoBump libssl/libtls minors due to symbol addition.
jsing [Thu, 4 Apr 2019 15:04:03 +0000 (15:04 +0000)]
Bump libssl/libtls minors due to symbol addition.

5 years agoProvide SSL chain/cert chain APIs.
jsing [Thu, 4 Apr 2019 15:03:21 +0000 (15:03 +0000)]
Provide SSL chain/cert chain APIs.

These allow for chains to be managed on a per-certificate basis rather than
as a single "extra certificates" list. Note that "chain" in this context
does not actually include the leaf certificate however, unlike
SSL_CTX_use_certificate_chain_{file,mem}().

Thanks to sthen@ for running this through a bulk ports build.

ok beck@ tb@

5 years agoThis case also needs to be fatal.
jsing [Thu, 4 Apr 2019 14:32:49 +0000 (14:32 +0000)]
This case also needs to be fatal.

5 years agoupdate root CAs in cert.pem in sync with Mozilla
sthen [Thu, 4 Apr 2019 12:42:01 +0000 (12:42 +0000)]
update root CAs in cert.pem in sync with Mozilla
ok millert@

5 years agoAdd an update target to regenerate the expected results.
bluhm [Thu, 4 Apr 2019 12:03:09 +0000 (12:03 +0000)]
Add an update target to regenerate the expected results.
OK krw@

5 years agoFix size check for splitw -f and top level pane size for tiled layout,
nicm [Thu, 4 Apr 2019 10:25:35 +0000 (10:25 +0000)]
Fix size check for splitw -f and top level pane size for tiled layout,
problems reported by Thomas Sattler.

5 years agoSimplify underruns handling: just copy silence produced by upper layer.
ratchov [Thu, 4 Apr 2019 09:23:36 +0000 (09:23 +0000)]
Simplify underruns handling: just copy silence produced by upper layer.

This makes the code less bug prone as the "rare" underruns
conditions are handled by the main non-underrun code.

5 years agoAvoid potential null-pointer dereference. Found by Kent R. Spillner.
kettenis [Thu, 4 Apr 2019 07:10:05 +0000 (07:10 +0000)]
Avoid potential null-pointer dereference.  Found by Kent R. Spillner.

ok deraadt@, jsg@

5 years agopatrick confirms that this driver does not support powersave;
jmc [Thu, 4 Apr 2019 06:58:56 +0000 (06:58 +0000)]
patrick confirms that this driver does not support powersave;

5 years agoThe ASUS E200HA reads the register at "address" 0x00 instead of 0x18.
kettenis [Thu, 4 Apr 2019 06:33:10 +0000 (06:33 +0000)]
The ASUS E200HA reads the register at "address" 0x00 instead of 0x18.

5 years agoframe-pointer elimination has encountered some resistance in ports but we
deraadt [Thu, 4 Apr 2019 05:53:27 +0000 (05:53 +0000)]
frame-pointer elimination has encountered some resistance in ports but we
are close to release, so punt the change till after-release
easier for everyoned and especially naddy
ok tedu

5 years agosync
deraadt [Thu, 4 Apr 2019 05:35:10 +0000 (05:35 +0000)]
sync

5 years agoAdd bwfm(4) such that we can use bsd.rd to update over wireless.
kettenis [Thu, 4 Apr 2019 04:49:16 +0000 (04:49 +0000)]
Add bwfm(4) such that we can use bsd.rd to update over wireless.

5 years agoAdd support for not crossing filesystem boundaries (-x) to rsync. Option
bket [Thu, 4 Apr 2019 04:19:54 +0000 (04:19 +0000)]
Add support for not crossing filesystem boundaries (-x) to  Option
and behaviour is the same as GPL rsync.

Initial diff received feedback from benno@, schwarze@, deraadt@ and
florian@. Thanks!

OK deraadt@

5 years agoRemove CONFIGURE_STYLE=autoupdate setting.
naddy [Thu, 4 Apr 2019 02:28:23 +0000 (02:28 +0000)]
Remove CONFIGURE_STYLE=autoupdate setting.
Running autoupdate is not useful in a port context.  No port uses this and
it appears none ever has.
ok kn@

5 years agoYUL - Montreal Dorval International has been renamed Montreal-Pierre
benno [Wed, 3 Apr 2019 19:58:04 +0000 (19:58 +0000)]
YUL - Montreal Dorval International has been renamed Montreal-Pierre
Elliott Trudeau International on January 1, 2004.

5 years agodocument BIOCSRTIMEOUT errors; ok deraadt@ millert@
anton [Wed, 3 Apr 2019 16:23:20 +0000 (16:23 +0000)]
document BIOCSRTIMEOUT errors; ok deraadt@ millert@

5 years agoReject negative and too large timeouts passed to BIOCSRTIMEOUT. Since
anton [Wed, 3 Apr 2019 16:20:23 +0000 (16:20 +0000)]
Reject negative and too large timeouts passed to BIOCSRTIMEOUT. Since
the timeout converted to ticks is later passed timeout_add(), it could
cause a panic if the timeout is negative.

ok deraadt@ millert@

Reported-by: syzbot+82cb4dfe6a1fc3d8b490@syzkaller.appspotmail.com
5 years agoopenssh-8.0
djm [Wed, 3 Apr 2019 15:48:45 +0000 (15:48 +0000)]
openssh-8.0

5 years agoAvoid some out of bound accesses in aesni_cbc_hmac_sha1_cipher().
tb [Wed, 3 Apr 2019 15:33:37 +0000 (15:33 +0000)]
Avoid some out of bound accesses in aesni_cbc_hmac_sha1_cipher().
The plen variable can be NO_PAYLOAD_LENGTH == (size_t)-1, so doing
tls_aad[plen-4] is no good. Also check that the length of the AAD
set via the control interface is equal to 13 since the whole file
is written with that case in mind.

Note that we no longer use this code in LibreSSL/OpenBSD. We
eliminated the use of these control interfaces and stitched cipher
modes in libssl a while ago.

Problem found by Guido Vranken with his cryptofuzz - thanks!

input & ok beck, jsing

5 years agoDon't test the behavior of ^L as it depends on $TERM
jca [Wed, 3 Apr 2019 14:59:34 +0000 (14:59 +0000)]
Don't test the behavior of ^L as it depends on $TERM

Suggested by anton@

5 years agoBind ^L (C-l) to clear-screen instead of redraw
jca [Wed, 3 Apr 2019 14:55:12 +0000 (14:55 +0000)]
Bind ^L (C-l) to clear-screen instead of redraw

Slightly more useful for some, same defaults as bash.
No objection deraadt@ phessler@, ok tb@ kn@ benno@

5 years agoTake the length of an initialized string, not a
krw [Wed, 3 Apr 2019 12:57:56 +0000 (12:57 +0000)]
Take the length of an initialized string, not a
soon-but-not-yet-initialized string.

Should fix "Segmentation fault" reported by Raf
Czlonka.

5 years agoFix the bug that radius module didn't work when the size of radius message
yasuoka [Wed, 3 Apr 2019 11:54:56 +0000 (11:54 +0000)]
Fix the bug that radius module didn't work when the size of radius message
changes.

5 years agospelling mistake in previous - sorry, klemens!
jmc [Wed, 3 Apr 2019 10:31:18 +0000 (10:31 +0000)]
spelling mistake in previous - sorry, klemens!

5 years agoCorrect access to doorbell. In radeondrm this is only present and used
jsg [Wed, 3 Apr 2019 10:31:10 +0000 (10:31 +0000)]
Correct access to doorbell.  In radeondrm this is only present and used
with gfx7/sea islands hardware.  Fixes ring 2 test failure on
carrizo-l/mullins.

Problem found by kettenis@ in a different part of the drm 4.19 tree.

5 years agoRecommend ROUTE_TABLEFILTER over SO_RTABLE
kn [Wed, 3 Apr 2019 08:56:00 +0000 (08:56 +0000)]
Recommend ROUTE_TABLEFILTER over SO_RTABLE

SO_TABLE is not applicable to AF_ROUTE, ROUTE_TABLEFILTER works across all
families and goes well in line with the other ROUTE_* macros.

While here, document RTABLE_ANY and mention rtable(4).

OK claudio jmc

5 years agoAlways copy data (if any) whenever a new bounce buffer is available.
ratchov [Wed, 3 Apr 2019 07:47:20 +0000 (07:47 +0000)]
Always copy data (if any) whenever a new bounce buffer is available.

5 years agoCheck for available space before copying data to the bounce buffers.
ratchov [Wed, 3 Apr 2019 07:44:52 +0000 (07:44 +0000)]
Check for available space before copying data to the bounce buffers.

No behavior change as we don't call uaudio_pdata_copy() in situations
when bounce buffers may not be available.

5 years agoMake the uaudio_stream->ubuf_xfer relative to current xfer number.
ratchov [Wed, 3 Apr 2019 07:38:12 +0000 (07:38 +0000)]
Make the uaudio_stream->ubuf_xfer relative to current xfer number.

No behavior change. The new representation is equivalent but eases
detection of overflows and underflows.

5 years agoDo not load /etc/tmux.conf if given -f.
nicm [Wed, 3 Apr 2019 06:43:19 +0000 (06:43 +0000)]
Do not load /etc/tmux.conf if given -f.

5 years agoscreen_write_fast_copy can no longer assume the target screen is default
nicm [Wed, 3 Apr 2019 06:43:04 +0000 (06:43 +0000)]
screen_write_fast_copy can no longer assume the target screen is default
(it isn't for the pane status lines).

5 years agotweak previous;
jmc [Wed, 3 Apr 2019 06:24:07 +0000 (06:24 +0000)]
tweak previous;

5 years agosync
deraadt [Wed, 3 Apr 2019 05:48:52 +0000 (05:48 +0000)]
sync

5 years agomortimer unlinked libobjc from the build, but didn't know how to cvs rm.
tedu [Wed, 3 Apr 2019 04:52:26 +0000 (04:52 +0000)]
mortimer unlinked libobjc from the build, but didn't know how to cvs rm.
I don't know much about compilers, but what I do have are a very particular
set of skills. Skills I have acquired over a very long career.

5 years agoDefault to port 853 if DoT is used; pointed out by tedu
florian [Wed, 3 Apr 2019 03:48:45 +0000 (03:48 +0000)]
Default to port 853 if DoT is used; pointed out by tedu

5 years agoRemove the CONFIGURE_STYLE=automake setting. Its semantics have been a
naddy [Wed, 3 Apr 2019 02:18:03 +0000 (02:18 +0000)]
Remove the CONFIGURE_STYLE=automake setting.  Its semantics have been a
long-standing source of confusion and it is no longer used by any ports.
ok sthen@ kn@ ajacoutot@

5 years agoUpdate *.ok files to reflect recent modifications to
krw [Wed, 3 Apr 2019 01:17:53 +0000 (01:17 +0000)]
Update *.ok files to reflect recent modifications to
the auto allocation tables.

5 years agoAdd comment to prod updates to regress/sbin/disklabel
krw [Wed, 3 Apr 2019 01:10:30 +0000 (01:10 +0000)]
Add comment to prod updates to regress/sbin/disklabel
*.ok files whenever space_allocation tables are
modified.

5 years agoactually use the words "split-horizon" when talking about vpls bridge setup
dlg [Wed, 3 Apr 2019 00:02:02 +0000 (00:02 +0000)]
actually use the words "split-horizon" when talking about vpls bridge setup

5 years agodocument how to do split-horizon setups with mpw
dlg [Tue, 2 Apr 2019 23:50:14 +0000 (23:50 +0000)]
document how to do split-horizon setups with mpw

this is needed^Wuseful since the kernel doesn't implicitly implement
split horizon in bridge for mpw anymore. it does allow the joining
of different VPLS meshes on the same bridge now though.

based on discussion with Lee Nelson and Mitchell Krome

5 years agodisable MSI for AMD Summit Ridge/Raven Ridge HD Audio as workaround for audio stoppin...
thfr [Tue, 2 Apr 2019 20:24:32 +0000 (20:24 +0000)]
disable MSI for AMD Summit Ridge/Raven Ridge HD Audio as workaround for audio stopping after varying amounts of time. ok brynet@, deraadt@

5 years agoadd acpipci;
jmc [Tue, 2 Apr 2019 19:45:23 +0000 (19:45 +0000)]
add acpipci;

5 years agokettenis has written an mi page for this, so remove this one; ok kettenis (i think)
jmc [Tue, 2 Apr 2019 19:41:53 +0000 (19:41 +0000)]
kettenis has written an mi page for this, so remove this one; ok kettenis (i think)

5 years agospelling;
jmc [Tue, 2 Apr 2019 19:39:32 +0000 (19:39 +0000)]
spelling;

5 years agobe consistent with "DoT"; from raf czlonka
jmc [Tue, 2 Apr 2019 19:37:04 +0000 (19:37 +0000)]
be consistent with "DoT"; from raf czlonka

5 years agoSilence flag should use the same option as activity, reported by Thomas
nicm [Tue, 2 Apr 2019 18:41:24 +0000 (18:41 +0000)]
Silence flag should use the same option as activity, reported by Thomas
Sattler.

5 years agoClarify preposition
kn [Tue, 2 Apr 2019 14:12:09 +0000 (14:12 +0000)]
Clarify preposition

Any messages sent to the kernel are returned, and copies are sent to all
interested listeners.  The kernel will provide the process ID for the
sender [...]

Change the last "for" to "of", making it even clearer that the kernel tells
listeners about the sender's PID;  it does not provide anything back to the
sender in particular.

"Seems right" deraadt

5 years agoRestrict which filesystems are available for swap. This rules out
visa [Tue, 2 Apr 2019 13:07:28 +0000 (13:07 +0000)]
Restrict which filesystems are available for swap. This rules out
obvious misconfigurations that cannot work.

OK mpi@ tedu@

5 years agoEnable frame pointer elimination on i386, amd64 and mips64 when given
mortimer [Tue, 2 Apr 2019 13:01:52 +0000 (13:01 +0000)]
Enable frame pointer elimination on i386, amd64 and mips64 when given
optimization flags.

ok kettenis@ visa@

5 years agolibLLVM.a is no longer installed
jsg [Tue, 2 Apr 2019 12:59:56 +0000 (12:59 +0000)]
libLLVM.a is no longer installed

5 years agosync
deraadt [Tue, 2 Apr 2019 12:59:34 +0000 (12:59 +0000)]
sync

5 years agoDo not install libLLVM.a. At present the clang tools are either
deraadt [Tue, 2 Apr 2019 12:57:00 +0000 (12:57 +0000)]
Do not install libLLVM.a.  At present the clang tools are either
static-linked against private copy, or dynamic tools against the *.so,
or ports use independent componented versions.  Saves ~85MB in /usr.
ok jsg

5 years agonew variable NOLIBSTATIC= prevents installation of a static library,
deraadt [Tue, 2 Apr 2019 12:55:05 +0000 (12:55 +0000)]
new variable NOLIBSTATIC= prevents installation of a static library,
in cases where you don't want it installed, or it isn't built.
ok jsg

5 years agofix broken comment
sthen [Tue, 2 Apr 2019 12:30:20 +0000 (12:30 +0000)]
fix broken comment

5 years agoRemove commented-out historical ranlib operation, which would be
deraadt [Tue, 2 Apr 2019 11:30:07 +0000 (11:30 +0000)]
Remove commented-out historical ranlib operation, which would be
duplicate work.

5 years agoonly static libraries undergo ranlink
deraadt [Tue, 2 Apr 2019 11:29:34 +0000 (11:29 +0000)]
only static libraries undergo ranlink