openbsd
5 years agocorrectly handle read(2) return value.
eric [Sat, 28 Sep 2019 11:21:07 +0000 (11:21 +0000)]
correctly handle read(2) return value.

fix issue reported by Mikolaj Kucharski.

ok martijn@ deraadt@

5 years agoensure dependency_libs and libdir are defined after parsing .la file.
semarie [Sat, 28 Sep 2019 06:25:57 +0000 (06:25 +0000)]
ensure dependency_libs and libdir are defined after parsing .la file.

problem raised with librsvg which use libtool-rust, and our libtool just die if
deplib_list is undef.

tested in bulk by sthen@ and naddy@

"modern" perl practice/syntax suggested by espie@

makes sense sthen@
ok espie@

5 years agoUse consistent idiom/naming convention for the the #include
krw [Fri, 27 Sep 2019 23:07:42 +0000 (23:07 +0000)]
Use consistent idiom/naming convention for the the #include
guards. Spelunkers using grep are easily confused.

5 years agofix gary zukav's "acceptance without proof" quote, which just appeared on
jmc [Fri, 27 Sep 2019 20:44:22 +0000 (20:44 +0000)]
fix gary zukav's "acceptance without proof" quote, which just appeared on
my screen.

i don;t have a copy of this book, and a brief search online shows conflicting
punctuation, but i've chosen to replace the comma splice with a full stop,
which is at least grammatically correct, and seems the most likely solution.

whether this quote needs to be in two files escapes me...

5 years agofix the DH-GEX text in -a;
jmc [Fri, 27 Sep 2019 20:03:24 +0000 (20:03 +0000)]
fix the DH-GEX text in -a;
because this required a comma, i added a comma to the first part, for balance...

5 years agoAdd/tweak #endif comments to make spelunking via grep more rewarding.
krw [Fri, 27 Sep 2019 17:22:31 +0000 (17:22 +0000)]
Add/tweak #endif comments to make spelunking via grep more rewarding.

5 years agoShuffle and consolidate SCSIDEBUG declarations into fewer sections in
krw [Fri, 27 Sep 2019 16:03:45 +0000 (16:03 +0000)]
Shuffle and consolidate SCSIDEBUG declarations into fewer sections in
more intuitive locations.

5 years agoMake umb(4) add a default route when configuring the interface. This route
claudio [Fri, 27 Sep 2019 14:58:07 +0000 (14:58 +0000)]
Make umb(4) add a default route when configuring the interface. This route
has a lower priority than wifi or wired LAN and so should only be used when
no other interface is available. With this using umb(4) becomes less painful
Now ifconfig umb0 up will be enough especially if unwind(8) is used to handle
DNS requests.
OK deraadt@ job@ benno@

5 years agoMove the rde_send_pftable_commit() our of the prefix_update and withdraw
claudio [Fri, 27 Sep 2019 14:50:39 +0000 (14:50 +0000)]
Move the rde_send_pftable_commit() our of the prefix_update and withdraw
function and up higher in the call stack. While there also make sure that
flushing announced networks does the pftable dance. This is now also using
prefix_withdraw like most other code. Reshuffle rde_update_dispatch() a bit
so that all returns are before the first update or withdraw call. After that
the code always exits via the end of the function where the commit happens.
OK benno@

5 years agoImplement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes covering
claudio [Fri, 27 Sep 2019 10:34:54 +0000 (10:34 +0000)]
Implement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes covering
8.8.8.8. Additionally add 'or-longer' as an alias for 'all'.
OK job@ sthen@

5 years agoImplement F_SHORTER in the prefix lookup code for bgpctl. F_SHORTER will
claudio [Fri, 27 Sep 2019 10:33:06 +0000 (10:33 +0000)]
Implement F_SHORTER in the prefix lookup code for bgpctl. F_SHORTER will
match all prefixes that have a shorter prefixlen than the one in the request.
It will print all routes which cover the specified prefix.
OK job@ sthen@

5 years agoMove the code to initialize the cluster-id from merge_config() to
claudio [Fri, 27 Sep 2019 10:26:32 +0000 (10:26 +0000)]
Move the code to initialize the cluster-id from merge_config() to
parse_config(). The first is not called on startup which results in bgpd
using 0.0.0.0 as cluster-id.
Found and fix provided by Rivo Nurges (Rivo dot Nurges at smit dot ee)
Thanks and OK claudio@

5 years agoTest for empty result in expected bits. Remove CRs from log as they
dtucker [Fri, 27 Sep 2019 05:25:12 +0000 (05:25 +0000)]
Test for empty result in expected bits.  Remove CRs from log as they
confuse tools on some platforms.  Re-enable the 3des-cbc test.

5 years agoUse a better scale value in ksmn(4), this produces a slightly more
brynet [Fri, 27 Sep 2019 01:26:46 +0000 (01:26 +0000)]
Use a better scale value in ksmn(4), this produces a slightly more
stable result when idle and under some load.

Tested by abieber@ on a R7 PRO 2700U, also by me on a R5 2500U MateBook D,
and a R7 2700X desktop.

Discussed with @nte@bsd.network.

OK abieber@

5 years agoFor whatever reason it is fairly common that a ROA object references a CRL
claudio [Thu, 26 Sep 2019 17:07:30 +0000 (17:07 +0000)]
For whatever reason it is fairly common that a ROA object references a CRL
that is not in the store. Put this paricular error under verbose logging.
Agreed by deraadt@, job@

5 years agosync
deraadt [Thu, 26 Sep 2019 16:06:36 +0000 (16:06 +0000)]
sync

5 years agoAdd short manual for ksmn(4) driver.
brynet [Thu, 26 Sep 2019 13:09:55 +0000 (13:09 +0000)]
Add short manual for ksmn(4) driver.

5 years agoAdd a new driver for getting AMD CPU temperature sensor over the SMN.
brynet [Thu, 26 Sep 2019 12:59:01 +0000 (12:59 +0000)]
Add a new driver for getting AMD CPU temperature sensor over the SMN.

This currently supports Family 17h Zen/Zen+/Zen2 CPUs. The are still
some issues with the scaler on certain models that can be fixed later.

AMD Ryzen 2700X:
    hw.sensors.ksmn0.temp0=47.50 degC

Tested by several people.

"Make a move" deraadt@

5 years agoregen
brynet [Thu, 26 Sep 2019 12:56:44 +0000 (12:56 +0000)]
regen

5 years agoAdd "AMD64 17h/3xh Root Complex" device.
brynet [Thu, 26 Sep 2019 12:55:53 +0000 (12:55 +0000)]
Add "AMD64 17h/3xh Root Complex" device.

5 years agoUse SPI_SA() instead of __func__ in all logging calls. Use log_info
tobhe [Thu, 26 Sep 2019 12:08:08 +0000 (12:08 +0000)]
Use SPI_SA() instead of __func__ in all logging calls. Use log_info
instead of log_debug in error cases.

ok bluhm@ sthen@

5 years agoFix leaks by cleaning up after configuration parser.
tobhe [Thu, 26 Sep 2019 07:33:36 +0000 (07:33 +0000)]
Fix leaks by cleaning up after configuration parser.

ok bluhm@

5 years agoenable iavf(4)
jmatthew [Thu, 26 Sep 2019 03:00:30 +0000 (03:00 +0000)]
enable iavf(4)

ok deraadt@

5 years agoUpdate libexpat to 2.2.8. CVE-2019-15903 has been fixed earlier
bluhm [Wed, 25 Sep 2019 21:06:19 +0000 (21:06 +0000)]
Update libexpat to 2.2.8.  CVE-2019-15903 has been fixed earlier
in our tree.  Relevant is only bug fix #240.  Most of the upstream
diff is automated source format change.
OK deraadt@

5 years agoWhen battery state switches to critical, apmd(8) generates an
bluhm [Wed, 25 Sep 2019 20:34:11 +0000 (20:34 +0000)]
When battery state switches to critical, apmd(8) generates an
emergency log message.  Then syslogd(8) could select on that and
write a warning to all users.
OK benno@ deraadt@

5 years agoStyle and line length nits.
nicm [Wed, 25 Sep 2019 19:05:59 +0000 (19:05 +0000)]
Style and line length nits.

5 years agosync
deraadt [Wed, 25 Sep 2019 17:06:15 +0000 (17:06 +0000)]
sync

5 years agothe mentioned .Fn functions are in a another file, so .Xr them
deraadt [Wed, 25 Sep 2019 17:04:45 +0000 (17:04 +0000)]
the mentioned .Fn functions are in a another file, so .Xr them
ok jmc

5 years agopcap-filter now section 5: adjust Xr
jmc [Wed, 25 Sep 2019 17:02:00 +0000 (17:02 +0000)]
pcap-filter now section 5: adjust Xr

5 years agomdoc version of pcap-filter;
jmc [Wed, 25 Sep 2019 16:59:00 +0000 (16:59 +0000)]
mdoc version of pcap-filter;

conversion suggested by deraadt, as well as renaming
from section 7 to section 5;

ok deraadt

5 years agoalso show peer AS and description in "bgpctl sh nei group XXX terse" output
sthen [Wed, 25 Sep 2019 15:35:50 +0000 (15:35 +0000)]
also show peer AS and description in "bgpctl sh nei group XXX terse" output
ok deraadt@ claudio@

5 years ago Let sysupgrade(8) handle cleanup of downloaded sets by filling in
florian [Wed, 25 Sep 2019 14:42:52 +0000 (14:42 +0000)]
Let sysupgrade(8) handle cleanup of downloaded sets by filling in
    /etc/rc.firsttime in preparation of moving the functionality out of
    install.sub.
OK deraadt

5 years ago Do not leak cur_ns in case of malformed lease file.
florian [Wed, 25 Sep 2019 14:41:40 +0000 (14:41 +0000)]
Do not leak cur_ns in case of malformed lease file.
    Found by llvm's scan-build.
OK deraadt, benno

5 years agoBe more robust when dealing with malformed lease files.
florian [Wed, 25 Sep 2019 14:40:59 +0000 (14:40 +0000)]
Be more robust when dealing with malformed lease files.
Do not assume that required tokens have been generated by strsep.
(toks[0] cannot be NULL but it doesn't hurt to be explicit about it.)
Found by llvm's scan-build.
OK deraadt, kn

5 years agoArgument order fix for MCLGETI.
kevlo [Wed, 25 Sep 2019 09:30:28 +0000 (09:30 +0000)]
Argument order fix for MCLGETI.

ok claudio@

5 years agoEnable interrupts while running interrupt handlers like we do on arm64.
kettenis [Wed, 25 Sep 2019 09:21:49 +0000 (09:21 +0000)]
Enable interrupts while running interrupt handlers like we do on arm64.

ok patrick@, jsg@

5 years agoadjust for U-Boot RK3288 changes
jsg [Wed, 25 Sep 2019 06:24:46 +0000 (06:24 +0000)]
adjust for U-Boot RK3288 changes

5 years agoChange the offset filesystems start on disk for armv7 from 1MB to 16MB.
jsg [Wed, 25 Sep 2019 06:20:22 +0000 (06:20 +0000)]
Change the offset filesystems start on disk for armv7 from 1MB to 16MB.
Matches arm64 and is required for rk3288 with TPL now U-Boot is expected
to be found at sector 16384 (8MB).

ok kettenis@ patrick@

5 years agoUpdate acces point channel in node list when receiving packets from same
tobhe [Wed, 25 Sep 2019 05:51:24 +0000 (05:51 +0000)]
Update acces point channel in node list when receiving packets from same
AP on a new channel. Not doing so leads to a disconnect because AP
messages on the new channel are ignored.

5 years agoSome minor performance improvements - most notably, don't search the
nicm [Tue, 24 Sep 2019 20:44:58 +0000 (20:44 +0000)]
Some minor performance improvements - most notably, don't search the
input state table if the next character matches the same state as before.

5 years agoCouple of bits of minor cleanup.
nicm [Tue, 24 Sep 2019 15:52:14 +0000 (15:52 +0000)]
Couple of bits of minor cleanup.

5 years agoLet sysupgrade(8) create auto_upgrade.conf file in preparation of
florian [Tue, 24 Sep 2019 15:21:26 +0000 (15:21 +0000)]
Let sysupgrade(8) create auto_upgrade.conf file in preparation of
moving the functionality out of install.sub.
OK deraadt

5 years agoMouse formats don't work in copy mode so don't try to use them.
nicm [Tue, 24 Sep 2019 14:50:08 +0000 (14:50 +0000)]
Mouse formats don't work in copy mode so don't try to use them.

5 years agoadd the neighbour's address, to disambiguate peers in the output from
sthen [Tue, 24 Sep 2019 14:46:09 +0000 (14:46 +0000)]
add the neighbour's address, to disambiguate peers in the output from
"bgpctl sh nei group XX terse". feedback benno@ ok claudio@

5 years agoMention 88E1545.
visa [Tue, 24 Sep 2019 14:39:43 +0000 (14:39 +0000)]
Mention 88E1545.

5 years agoEnable eephy(4) on octeon.
visa [Tue, 24 Sep 2019 14:38:14 +0000 (14:38 +0000)]
Enable eephy(4) on octeon.

OK deraadt@

5 years agoRecognize Marvell 88E1545.
visa [Tue, 24 Sep 2019 14:37:03 +0000 (14:37 +0000)]
Recognize Marvell 88E1545.

OK deraadt@

5 years agoregen
visa [Tue, 24 Sep 2019 14:36:00 +0000 (14:36 +0000)]
regen

5 years agoAdd Marvell 88E1545.
visa [Tue, 24 Sep 2019 14:35:22 +0000 (14:35 +0000)]
Add Marvell 88E1545.

OK deraadt@

5 years agoidentity_file[] should be PATH_MAX, not the arbitrary number 1024
deraadt [Tue, 24 Sep 2019 12:50:46 +0000 (12:50 +0000)]
identity_file[] should be PATH_MAX, not the arbitrary number 1024

5 years agoUse consistent names for unused flags/quirks when printing same under
krw [Tue, 24 Sep 2019 12:30:00 +0000 (12:30 +0000)]
Use consistent names for unused flags/quirks when printing same under
SCSIDEBUG.

5 years agovmd(8): fix memory leak in virtio network TX path.
mlarkin [Tue, 24 Sep 2019 12:14:54 +0000 (12:14 +0000)]
vmd(8): fix memory leak in virtio network TX path.

ok reyk, mpi, benno, tb

5 years agovmd(8): virtio.c whitespace removal
mlarkin [Tue, 24 Sep 2019 12:12:46 +0000 (12:12 +0000)]
vmd(8): virtio.c whitespace removal

5 years agoMake select-pane -P set window-active-style also to match previous
nicm [Tue, 24 Sep 2019 09:58:58 +0000 (09:58 +0000)]
Make select-pane -P set window-active-style also to match previous
behaviour, reported by Thomas Sattler.

5 years agoImplement DVFS support.
kettenis [Mon, 23 Sep 2019 18:10:43 +0000 (18:10 +0000)]
Implement DVFS support.

ok patrick@

5 years agoUse the correct size for new windows when window-size is latest,
nicm [Mon, 23 Sep 2019 15:41:11 +0000 (15:41 +0000)]
Use the correct size for new windows when window-size is latest,
reported by Vamsi Krishna Avula in GitHub issue 1917.

5 years agoWhen printing the scsi_link info under SCSIDEBUG show state, luns,
krw [Mon, 23 Sep 2019 15:21:17 +0000 (15:21 +0000)]
When printing the scsi_link info under SCSIDEBUG show state, luns,
openings, flags and quirks.

5 years agoDo more sanity checks when accepting socket addresses in routing
bluhm [Mon, 23 Sep 2019 11:00:42 +0000 (11:00 +0000)]
Do more sanity checks when accepting socket addresses in routing
messages from user land.  Inspect length field early in rtm_xaddrs().
Strings must be NUL terminated.  The socket address type and length
depend on the routing message type.  Currently checks are not super
strict to avoid too much user land fallout.
OK mpi@
Reported-by: syzbot+638dbf7851da8e255af5@syzkaller.appspotmail.com
5 years agoAdd lastcomm(1) test for system call from writeable memory. This
bluhm [Mon, 23 Sep 2019 08:34:07 +0000 (08:34 +0000)]
Add lastcomm(1) test for system call from writeable memory.  This
requires that /usr/obj is mounted wxallowed, otherwise the test is
skipped.  Split the stack map test into two stack pointer validation
tests, one during syscall and one in the trap handler.
Currently the tests during system call fail on amd64 as the signal
handler is not executed properly.  On i386 and arm64 they pass.  On
armv7 something else is broken.

5 years agoMake the code that calculates the min/max priorities identical to the arm64
kettenis [Sun, 22 Sep 2019 19:13:45 +0000 (19:13 +0000)]
Make the code that calculates the min/max priorities identical to the arm64
version.  The divergence was probably an accident and the arm64 code makes
more sense and is better tested.

ok patrick@

5 years agoReduce diffs to arm64 version of this. Mostly whitespace changes.
kettenis [Sun, 22 Sep 2019 15:17:03 +0000 (15:17 +0000)]
Reduce diffs to arm64 version of this.  Mostly whitespace changes.
No functional changes.

5 years agoFix ampintc_cpuinit() prototype.
kettenis [Sun, 22 Sep 2019 15:05:37 +0000 (15:05 +0000)]
Fix ampintc_cpuinit() prototype.

5 years agofew corrections on srs grammar
semarie [Sun, 22 Sep 2019 11:49:53 +0000 (11:49 +0000)]
few corrections on srs grammar

ok gilles@

5 years agovmm(4): fix a wrong comment in vmmopen()
mlarkin [Sun, 22 Sep 2019 08:47:54 +0000 (08:47 +0000)]
vmm(4): fix a wrong comment in vmmopen()

5 years agoAdd code to handle future sysupgrade(8) change where the tool will be
ajacoutot [Sun, 22 Sep 2019 08:38:57 +0000 (08:38 +0000)]
Add code to handle future sysupgrade(8) change where the tool will be
responsible for creating auto_upgrade.conf.
No behavior change intended.

While here, add missing `-x' to usage().

tested by and ok florian@, ok deraadt@

5 years agoRemove unused register dump lists.
visa [Sun, 22 Sep 2019 05:16:05 +0000 (05:16 +0000)]
Remove unused register dump lists.

5 years agoSimplify stat register access.
visa [Sun, 22 Sep 2019 05:13:59 +0000 (05:13 +0000)]
Simplify stat register access.

5 years agoIgnore non-host ports silently.
visa [Sun, 22 Sep 2019 04:43:24 +0000 (04:43 +0000)]
Ignore non-host ports silently.

5 years agoLet sysctl(1) work in single-user mode. Same diff applied by florian@
krw [Sun, 22 Sep 2019 01:16:39 +0000 (01:16 +0000)]
Let sysctl(1) work in single-user mode. Same diff applied by florian@
to ps(1).

Noted by kettenis@. florian@'s fix pointed out by maestre@.

ok maestre@

5 years agoApply a patch from upstream to avoid triggering assert() in sf_pop()
miko [Sun, 22 Sep 2019 00:47:12 +0000 (00:47 +0000)]
Apply a patch from upstream to avoid triggering assert() in sf_pop()
when input contains an unbalanced ')' in the rules section.

ok millert@

5 years agoIncrease datasize limit for ports building on arm64 in preparation
kurt [Sat, 21 Sep 2019 22:14:34 +0000 (22:14 +0000)]
Increase datasize limit for ports building on arm64 in preparation
for enabling devel/jdk/11 there.

okay phessler@

5 years agoEnable thermal zone handling code.
kettenis [Sat, 21 Sep 2019 15:57:03 +0000 (15:57 +0000)]
Enable thermal zone handling code.

5 years agoRegister sxits(4) as a thermal sensor with the thermal zone support code.
kettenis [Sat, 21 Sep 2019 15:55:29 +0000 (15:55 +0000)]
Register sxits(4) as a thermal sensor with the thermal zone support code.

5 years agoRegister sxitemp(4) as a thermal sensor with the thermal zone support code.
kettenis [Sat, 21 Sep 2019 15:36:57 +0000 (15:36 +0000)]
Register sxitemp(4) as a thermal sensor with the thermal zone support code.
From Krystian Lewandowski.

5 years agoImplement setting the CPU clock for Allwinner A10/A20 SoCs.
kettenis [Sat, 21 Sep 2019 15:01:26 +0000 (15:01 +0000)]
Implement setting the CPU clock for Allwinner A10/A20 SoCs.

5 years agoremove dead assignment.
semarie [Sat, 21 Sep 2019 09:04:08 +0000 (09:04 +0000)]
remove dead assignment.

the return code of ssl_check_name() doesn't need to be checked as `match' is
always initialized to 0, and get 1 only on success.

ok gilles@

5 years agoremove dead assignment
semarie [Sat, 21 Sep 2019 09:01:52 +0000 (09:01 +0000)]
remove dead assignment

ok gilles@

5 years agoin report_smtp_broadcast(), the direction is expected to be "smtp-in" or
semarie [Sat, 21 Sep 2019 08:10:44 +0000 (08:10 +0000)]
in report_smtp_broadcast(), the direction is expected to be "smtp-in" or
"smtp-out", but if something else happen, the `struct dict *d' will be
uninitialized when used in `dict_xget(d, event)'.

makes a logic error in smtpd to be visible instead of accessing uninitialized
memory.

ok gilles@

5 years agoproperly initialize errstr before going to fail label.
semarie [Sat, 21 Sep 2019 07:46:53 +0000 (07:46 +0000)]
properly initialize errstr before going to fail label.

ok gilles@

5 years agothere is no need to compute timestamp for SRS1: remove dead assignments.
semarie [Sat, 21 Sep 2019 06:40:48 +0000 (06:40 +0000)]
there is no need to compute timestamp for SRS1: remove dead assignments.

ok gilles@

5 years agoadd STANDARDS section;
schwarze [Sat, 21 Sep 2019 06:04:22 +0000 (06:04 +0000)]
add STANDARDS section;
similar to a diff sent in by <Masanori dot Ogino at gmail dot com>,
but using the up-to-date reference rather than one from 30 years ago;
OK jmc@

5 years agotweak previous;
jmc [Sat, 21 Sep 2019 05:49:38 +0000 (05:49 +0000)]
tweak previous;

5 years agoFix missing word in -F and -Q descriptions.
ratchov [Sat, 21 Sep 2019 05:03:34 +0000 (05:03 +0000)]
Fix missing word in -F and -Q descriptions.

5 years agoLower the default audio block size from 20ms to 10ms.
ratchov [Sat, 21 Sep 2019 04:52:07 +0000 (04:52 +0000)]
Lower the default audio block size from 20ms to 10ms.

Then new default block size is supported by virtually all devices
which allows switching between devices without further configuration.
The buffer size remains the same, so this change won't affect audio
stability.

ok mpi@

5 years agoAllow switching between devices without disconnecting clients.
ratchov [Sat, 21 Sep 2019 04:42:46 +0000 (04:42 +0000)]
Allow switching between devices without disconnecting clients.

The new -F option allows alternate device to be specified.  If the
device is disconnected, the one given with the last -f or -F options
will be used instead. Similarly, the new -Q option allows an alternate
MIDI port to be specified.

ok mpi@

5 years agoExpand scsi_inquiry_data to 96 bytes to include new fields. If the
krw [Sat, 21 Sep 2019 00:12:15 +0000 (00:12 +0000)]
Expand scsi_inquiry_data to 96 bytes to include new fields. If the
device claims to have more than the 36 bytes of SCSI2 data, issue a
2nd INQUIRY (under SCSIDEBUG!) to get up to 96 bytes of data.

Add some length sanity checks to debug output. Print VPD data under
SCSIDEBUG.

5 years agoAdd A20 GMAC clocks.
kettenis [Fri, 20 Sep 2019 22:42:05 +0000 (22:42 +0000)]
Add A20 GMAC clocks.

5 years agoExtend the identification and validation of elantech-v4 packets to the
bru [Fri, 20 Sep 2019 21:21:47 +0000 (21:21 +0000)]
Extend the identification and validation of elantech-v4 packets to the
"crc-enabled" format.

ok awolk@

5 years agoDMA works on the RK3288 as well, so unconditionally enable it.
kettenis [Fri, 20 Sep 2019 20:46:15 +0000 (20:46 +0000)]
DMA works on the RK3288 as well, so unconditionally enable it.

5 years agoStart using the generic clock code on RK3288 as well by switching over the
kettenis [Fri, 20 Sep 2019 20:45:28 +0000 (20:45 +0000)]
Start using the generic clock code on RK3288 as well by switching over the
SDMMC clock.

5 years agoAdd RK3288 GMAC clock.
kettenis [Fri, 20 Sep 2019 19:58:43 +0000 (19:58 +0000)]
Add RK3288 GMAC clock.

5 years agonew sentence, new line;
jmc [Fri, 20 Sep 2019 18:50:58 +0000 (18:50 +0000)]
new sentence, new line;

5 years agotweak previous;
jmc [Fri, 20 Sep 2019 18:47:23 +0000 (18:47 +0000)]
tweak previous;

5 years agoteach smtpd how to do SRS so hosts that act as forwarders don't break SPF.
gilles [Fri, 20 Sep 2019 17:46:05 +0000 (17:46 +0000)]
teach smtpd how to do SRS so hosts that act as forwarders don't break SPF.
this basic implementation does SRS0/SRS1 encoding/decoding, validating time
and checksums.

with insight from semarie@, ok eric@ and millert@

5 years agotimeout(9): process-context timeouts can be late
cheloha [Fri, 20 Sep 2019 16:44:32 +0000 (16:44 +0000)]
timeout(9): process-context timeouts can be late

Move the check for lateness earlier in the softclock() loop so every
timeout is checked before being run.

While here, remove an unsafe DEBUG printf(9).  You can't safely printf(9)
within a mutex, and the print itself isn't even particularly useful.

ok bluhm@

5 years agoPrint inquiry and read capacity (10 and 16) data under SCSIDEBUG.
krw [Fri, 20 Sep 2019 15:35:42 +0000 (15:35 +0000)]
Print inquiry and read capacity (10 and 16) data under SCSIDEBUG.

5 years agoRemove an unused function.
visa [Fri, 20 Sep 2019 15:01:30 +0000 (15:01 +0000)]
Remove an unused function.

5 years agoPass interface number as an explicit parameter to avoid decoding.
visa [Fri, 20 Sep 2019 14:58:52 +0000 (14:58 +0000)]
Pass interface number as an explicit parameter to avoid decoding.

5 years agoImprove handling of nosuid mount option, temporary directory and
bluhm [Fri, 20 Sep 2019 14:07:13 +0000 (14:07 +0000)]
Improve handling of nosuid mount option, temporary directory and
super user permissions.

5 years agoREGRESS_SKIP_TARGETS was spelled incorrectly.
bluhm [Fri, 20 Sep 2019 13:20:12 +0000 (13:20 +0000)]
REGRESS_SKIP_TARGETS was spelled incorrectly.
reported by Moritz Buhl