openbsd
6 years agoclarify the forward-only delivery action
gilles [Sat, 1 Sep 2018 19:56:28 +0000 (19:56 +0000)]
clarify the forward-only delivery action

6 years agoPrevent ospf6d from starting when another process is listening on the
remi [Sat, 1 Sep 2018 19:21:10 +0000 (19:21 +0000)]
Prevent ospf6d from starting when another process is listening on the
control socket.

ok florian@

6 years agoAccidentally relayd(8) closed file descriptor 0 in the pfe child
bluhm [Sat, 1 Sep 2018 18:09:14 +0000 (18:09 +0000)]
Accidentally relayd(8) closed file descriptor 0 in the pfe child
process.  If env->sc_snmp is initialized with 0, snmp_init() closes
it.  Set it to -1 to prevent the close(2).
OK reyk@ benno@ millert@

6 years agoFix errno for post-lock unveil calls
deraadt [Sat, 1 Sep 2018 17:02:12 +0000 (17:02 +0000)]
Fix errno for post-lock unveil calls
from Jan Klemkow

6 years agoRemove 'overlap_allowance' parameter from bootstrap().
krw [Sat, 1 Sep 2018 16:55:29 +0000 (16:55 +0000)]
Remove 'overlap_allowance' parameter from bootstrap().

It was added to support Vax. Vax is dead Jim.

ok deraadt@

6 years agoTweak comment.
tb [Sat, 1 Sep 2018 16:23:15 +0000 (16:23 +0000)]
Tweak comment.

6 years agosync fatalx() message between smtp_client_{state,response}; ok stsp@ gilles@
miko [Sat, 1 Sep 2018 12:03:31 +0000 (12:03 +0000)]
sync fatalx() message between smtp_client_{state,response}; ok stsp@ gilles@

6 years agoMake 'ifconfig nwid' override 'ifconfig join'.
stsp [Sat, 1 Sep 2018 08:20:56 +0000 (08:20 +0000)]
Make 'ifconfig nwid' override 'ifconfig join'.

There was no way to override a decision made by join's network
selection algorithm (apart from disabling the feature by clearing
the join list). Automatic selection is based on heuristics which
cannot always guess correctly so we need to provide an override.

One specific problem was that if 'nwid foo' and 'nwid bar' were
both visible in the scan and only 'nwid foo' was a member of the
join list, then there was no way at all to connect to 'nwid bar'.
The wireless stack would keep selecting 'nwid foo' instead.

'ifconfig iwm0 nwid bar' command will now disable automatic
network selection and force the use of ESSID 'bar'.
Any of these commands will re-enable automatic network selection:
   ifconfig iwm0 -nwid
   ifconfig iwm0 nwid ''
   ifconfig iwm0 join some-network-id

ok phessler@ deraadt@

6 years agoupdate currency exchange rates;
jmc [Sat, 1 Sep 2018 06:27:32 +0000 (06:27 +0000)]
update currency exchange rates;

6 years agoRecognize more talker IDs when parsing NMEA RMC messages
landry [Sat, 1 Sep 2018 06:09:26 +0000 (06:09 +0000)]
Recognize more talker IDs when parsing NMEA RMC messages

The NMEA 0183 standard says that the first two chars correspond to the
'source' of the message, right now we were only looking for 'GP' prefix
for 'GPS', but this can also be 'GL' for Glonass, 'BD' for BeiDou, 'GA'
for Galileo, or 'GN' for a generic GNSS source.

Match the RMC messages from all those variants, with this i'm able to
use my navilock nl-8002u (which uses GNRMC) as a timedelta sensor for
ntpd, and i have my GPS position in the nmea(4) sensors.

ok deraadt@

6 years agoRemove RSA-PSS from todo-list
tb [Sat, 1 Sep 2018 05:57:23 +0000 (05:57 +0000)]
Remove RSA-PSS from todo-list

6 years agoRun Wycheproof RSASSA-PSS testvectors against libcrypto.
tb [Sat, 1 Sep 2018 05:56:24 +0000 (05:56 +0000)]
Run Wycheproof RSASSA-PSS testvectors against libcrypto.

6 years agojmc points out that the Nd should match the description in pci(4)
jmatthew [Fri, 31 Aug 2018 22:35:01 +0000 (22:35 +0000)]
jmc points out that the Nd should match the description in pci(4)

6 years agoUnsetting Initialized during syslogd die() is a relic from the time
bluhm [Fri, 31 Aug 2018 19:06:08 +0000 (19:06 +0000)]
Unsetting Initialized during syslogd die() is a relic from the time
when we had real signal handlers.  But now we use libevent, so
remove the old logic.
OK deraadt@ millert@

6 years agothe main process must chdir to /, since it cannot have daemon() do the
deraadt [Fri, 31 Aug 2018 18:45:02 +0000 (18:45 +0000)]
the main process must chdir to /, since it cannot have daemon() do the
job at startup.  After much anguish I accept dlg's solution of chdir
for the problem ("starting ntpd on a filesystem I want to unmount"),
but we cannot change the main-process daemon() call.  Why?  Because
the ntpd privsep design predates more modern designs where the config
file is parsed once, and configuration marshalled to the fork+exec
children.  Instead each ntpd process re-parses the config, and if
we chdir before fork+exec startup, it will move the basedir causing
-f "relativepath" to fail.

discussed with florian

6 years agoRemove unused argument to tls1_change_cipher_state_cipher().
jsing [Fri, 31 Aug 2018 18:31:34 +0000 (18:31 +0000)]
Remove unused argument to tls1_change_cipher_state_cipher().

6 years agoInstead of enumerating the files to clean by hand, set PROGS=${TESTS}.
tb [Fri, 31 Aug 2018 17:35:21 +0000 (17:35 +0000)]
Instead of enumerating the files to clean by hand, set PROGS=${TESTS}.

Suggested by jsing

6 years agoremove shadow variables for 'error' in usbioctl(); ok mpi@ ratchov@
miko [Fri, 31 Aug 2018 16:32:31 +0000 (16:32 +0000)]
remove shadow variables for 'error' in usbioctl(); ok mpi@ ratchov@

6 years agoclarify that patterns are extended regular expressions; ok millert@ phessler@
naddy [Fri, 31 Aug 2018 15:56:42 +0000 (15:56 +0000)]
clarify that patterns are extended regular expressions; ok millert@ phessler@

6 years agoDont print "default" for "0.0.0.0" if it is a host route.
yasuoka [Fri, 31 Aug 2018 15:18:02 +0000 (15:18 +0000)]
Dont print "default" for "0.0.0.0" if it is a host route.
diff from asou at soum.co.jp

ok claudio kn

6 years agoCadd a TDB `tdb' instead of `sa'.
mpi [Fri, 31 Aug 2018 12:55:46 +0000 (12:55 +0000)]
Cadd a TDB `tdb' instead of `sa'.

No functionnal change.

ok deraadt@, bluhm@, visa@

6 years agoPass the correct size to free(9) in the error path of db_ctf_decompress().
bluhm [Fri, 31 Aug 2018 11:57:04 +0000 (11:57 +0000)]
Pass the correct size to free(9) in the error path of db_ctf_decompress().
OK jasper@

6 years agoswitch to improved incoming message parser:
eric [Fri, 31 Aug 2018 07:28:27 +0000 (07:28 +0000)]
switch to improved incoming message parser:
- simpler interface not using callbacks
- no hard-coded line length
- avoid unnecessary string copy

ok gilles@

6 years agoich variable is only used in DPRINTF() and uaudio_get_cluster_nchan()
miko [Fri, 31 Aug 2018 07:18:18 +0000 (07:18 +0000)]
ich variable is only used in DPRINTF() and uaudio_get_cluster_nchan()
has no side effect, so setting value for ich can be moved under
UAUDIO_DEBUG.

ok ratchov

6 years agofix fd leak in an error path
jsg [Fri, 31 Aug 2018 05:20:36 +0000 (05:20 +0000)]
fix fd leak in an error path
ok mpi@

6 years agoMove kcov device definitions into <sys/conf.h>.
visa [Fri, 31 Aug 2018 04:20:37 +0000 (04:20 +0000)]
Move kcov device definitions into <sys/conf.h>.

OK anton@ deraadt@ kettenis@ mpi@

6 years agosync
jcs [Fri, 31 Aug 2018 02:32:57 +0000 (02:32 +0000)]
sync

6 years agoAdd more uhid devices, 8 total
jcs [Fri, 31 Aug 2018 02:32:29 +0000 (02:32 +0000)]
Add more uhid devices, 8 total

ok deraadt

6 years agomention bnxt(4)
jmatthew [Fri, 31 Aug 2018 00:10:20 +0000 (00:10 +0000)]
mention bnxt(4)

6 years agoenable bnxt(4)
jmatthew [Fri, 31 Aug 2018 00:09:13 +0000 (00:09 +0000)]
enable bnxt(4)

6 years agoUse correct environment variable to access remote machine.
bluhm [Thu, 30 Aug 2018 19:34:37 +0000 (19:34 +0000)]
Use correct environment variable to access remote machine.

6 years agoMake sure to clean up the .d files with 'make clean'
tb [Thu, 30 Aug 2018 18:36:59 +0000 (18:36 +0000)]
Make sure to clean up the .d files with 'make clean'

6 years agoNuke ssl_pending/ssl_shutdown function pointers.
jsing [Thu, 30 Aug 2018 16:56:16 +0000 (16:56 +0000)]
Nuke ssl_pending/ssl_shutdown function pointers.

ssl3_pending() is used for all protocols and dtls1_shutdown() just calls
ssl3_shutdown(), so just call the appropriate function directly instead.

ok beck@ inoguchi@ tb@

6 years agoMove .dynstr before _edata to fix image size calculation. The PE
patrick [Thu, 30 Aug 2018 14:39:46 +0000 (14:39 +0000)]
Move .dynstr before _edata to fix image size calculation.  The PE
header contains an image size field that is calculated using the
difference between the start of the header and edata.  Since we
copy out .dynstr into the EFI binary, make sure that .dynstr is
before edata so that it's included in the image size.  This makes
it consistent with efiboot on armv7.

ok kettenis@

6 years agoPractice safe free()'ing by setting alloc to NULL to
krw [Thu, 30 Aug 2018 13:07:19 +0000 (13:07 +0000)]
Practice safe free()'ing by setting alloc to NULL to
prevent double free.

Spotted by jsg@, simpler fix by myself and miko@.

ok jsg@

6 years agoNever let FS_RAID partition be named, a.k.a. given a mount point.
krw [Thu, 30 Aug 2018 12:30:08 +0000 (12:30 +0000)]
Never let FS_RAID partition be named, a.k.a. given a mount point.

Nuke pointless and inconsistant error message before one get_mp()
invocation.

ok otto@

6 years agofix double free in mib_carpgroupget() error path
jsg [Thu, 30 Aug 2018 12:25:40 +0000 (12:25 +0000)]
fix double free in mib_carpgroupget() error path
ok claudio@ miko@

6 years agofix memory leak in an error path
jsg [Thu, 30 Aug 2018 12:14:30 +0000 (12:14 +0000)]
fix memory leak in an error path
ok patrick@

6 years agofix use-after-free
eric [Thu, 30 Aug 2018 11:58:01 +0000 (11:58 +0000)]
fix use-after-free

spotted by jsg@
input from jsg@ miko@

6 years agoSet up an aggregation buffer ring and configure placement mode so data
jmatthew [Thu, 30 Aug 2018 11:18:21 +0000 (11:18 +0000)]
Set up an aggregation buffer ring and configure placement mode so data
that doesn't fit in the rx buffer goes into an aggregation buffer,
allowing jumbo frames to be received.  Using 8k aggregation buffers
means we'll only ever need one per packet.

When receiving jumbos, sometimes we get an interrupt before all three
of the completion events are ready, in which case we should not consume
the events that are ready.  Expanding the completion ring makes this
happen less frequently, so allocate four cp ring pages instead of one.

6 years agoMove softbutton check before the check that skips attaching certain acpi
kettenis [Thu, 30 Aug 2018 10:11:34 +0000 (10:11 +0000)]
Move softbutton check before the check that skips attaching certain acpi
devices.  Fixes regression caused by matching on _CID in addition to
matching on _HID.

ok matthieu@, mlarkin@

6 years agoUse past tense for treated as withdrawn since the withdraw happened in the past.
claudio [Thu, 30 Aug 2018 08:30:05 +0000 (08:30 +0000)]
Use past tense for treated as withdrawn since the withdraw happened in the past.
From and with jmc@

6 years agoRemove dead code related to tty allocation for ptys. Back in revision 1.17 of
anton [Thu, 30 Aug 2018 06:16:30 +0000 (06:16 +0000)]
Remove dead code related to tty allocation for ptys. Back in revision 1.17 of
kern/tty_pty.c, allocation of ptys was made dynamic with the introduction of
check_pty(). Every time a new struct pty is allocated its corresponding struct
tty is also allocated. It's therefore no longer necessary to ensure that a pty
has a tty allocated after calling check_pty().

ok deraadt@ millert@ mpi@ visa@

6 years agoSplit the system-wide list of all futexes into process-specific lists
visa [Thu, 30 Aug 2018 03:30:25 +0000 (03:30 +0000)]
Split the system-wide list of all futexes into process-specific lists
of private futexes and a shared list of shared futexes. This speeds up
futex lookups.

Tested by and OK krw@
OK mpi@

6 years ago/dev/usbN devices no longer support poll as of 2011 when "USB
jcs [Thu, 30 Aug 2018 03:26:08 +0000 (03:26 +0000)]
/dev/usbN devices no longer support poll as of 2011 when "USB
events" were ripped out, so remove the sentence about monitoring for
USB device attachment to avoid filling developers with hope only to
crush their spirit when they implement the poll code only to find
out it doesn't do anything at all.

6 years agoFix "route add 0.0.0.0/0 <gateway>" to work properly. Shift count
yasuoka [Thu, 30 Aug 2018 01:32:53 +0000 (01:32 +0000)]
Fix "route add 0.0.0.0/0 <gateway>" to work properly.  Shift count
beyonds the integer width results undefined behavior in C spec.
Actually the count is masked by 0x1f on amd64.  Found by asou at
soum.co.jp

ok claudio kn schwarze

6 years agoRemove unused struct member.
kettenis [Wed, 29 Aug 2018 20:18:14 +0000 (20:18 +0000)]
Remove unused struct member.

ok deraadt@, mlarkin@

6 years agoIntroduce 'bgpctl show rib error' to show all prefixes that got flagged
claudio [Wed, 29 Aug 2018 19:52:23 +0000 (19:52 +0000)]
Introduce 'bgpctl show rib error' to show all prefixes that got flagged
invalid because of a soft parsing error. These prefixes are never eligible
or valid but the listing may help to understand what is going on.
'bgpctl show rib error' run automatically on Adj-RIB-In since that is the only
RIB that has such prefixes.
OK sthen@ denis@

6 years agoMake it possible to filter the RIB for invalid path which resulted in withdrawn
claudio [Wed, 29 Aug 2018 19:47:47 +0000 (19:47 +0000)]
Make it possible to filter the RIB for invalid path which resulted in withdrawn
prefixes. This way it should be possible to inspect which prefixes have been
removed. While there also fix dumping of the Adj-RIB-In when requested to do so.
OK sthen@ denis@

6 years agoAES is now done also.
tb [Wed, 29 Aug 2018 19:22:32 +0000 (19:22 +0000)]
AES is now done also.

6 years agoPass algorithm as a string to all *TestGroup functions for consistency.
tb [Wed, 29 Aug 2018 19:20:22 +0000 (19:20 +0000)]
Pass algorithm as a string to all *TestGroup functions for consistency.

6 years agoRun Wycheproof AES-GCM testvectors against libcrypto.
tb [Wed, 29 Aug 2018 19:18:20 +0000 (19:18 +0000)]
Run Wycheproof AES-GCM testvectors against libcrypto.

6 years agoCalculate and check tag during AES-CCM encryption test.
tb [Wed, 29 Aug 2018 19:00:41 +0000 (19:00 +0000)]
Calculate and check tag during AES-CCM encryption test.

6 years agotypo
tb [Wed, 29 Aug 2018 18:59:22 +0000 (18:59 +0000)]
typo

6 years agoDon't fatal on keys of invalid sice, just print an INFO.
tb [Wed, 29 Aug 2018 18:58:46 +0000 (18:58 +0000)]
Don't fatal on keys of invalid sice, just print an INFO.

6 years agoReset line flag when clearing selection, GitHub issue 1454.
nicm [Wed, 29 Aug 2018 18:54:23 +0000 (18:54 +0000)]
Reset line flag when clearing selection, GitHub issue 1454.

6 years agoclean up the imsg structure for getnameinfo lookup results.
eric [Wed, 29 Aug 2018 17:56:17 +0000 (17:56 +0000)]
clean up the imsg structure for getnameinfo lookup results.
fix a crash with ill-configured reverse address.

found by jturner@

ok jturner@ gilles@

6 years agorecognize kcov ioctl commands; ok deraadt@ mpi@ visa@
anton [Wed, 29 Aug 2018 17:47:07 +0000 (17:47 +0000)]
recognize kcov ioctl commands; ok deraadt@ mpi@ visa@

6 years agomake ld.so build reproducible by including a FILE symbol and by removing
robert [Wed, 29 Aug 2018 15:56:46 +0000 (15:56 +0000)]
make ld.so build reproducible by including a FILE symbol and by removing
-x from ld; this is only used for syspatch creation so builds are still
randomized just as before

ok guenther@

6 years agoBetter description for inet6 eui64, plus consistency tweaks
jca [Wed, 29 Aug 2018 13:47:19 +0000 (13:47 +0000)]
Better description for inet6 eui64, plus consistency tweaks

from Callum R. Davies, ok jmc@

6 years agoWhen 'log updates' is enabled make sure that the case of an invalid path
claudio [Wed, 29 Aug 2018 11:46:28 +0000 (11:46 +0000)]
When 'log updates' is enabled make sure that the case of an invalid path
can be distinguished from a withdraw that was caused by a deny filter.
OK sthen@

6 years agoWhen checking for AS 0 make sure the full ASPATH is validated and don't
claudio [Wed, 29 Aug 2018 11:43:15 +0000 (11:43 +0000)]
When checking for AS 0 make sure the full ASPATH is validated and don't
return on the first 0. The other AS_ERR_SOFT cases do the same and ensure
that an ASPATH with an AS_ERR_SOFT is still valid enough for subsequent
manipulation or inspection.
OK benno@

6 years agoHistorically /etc/netstart (and the equivalent code in the install
krw [Wed, 29 Aug 2018 11:30:48 +0000 (11:30 +0000)]
Historically /etc/netstart (and the equivalent code in the install
script) did 'ifconfig <if> down' before starting dhclient(8). This was
a way of ensuring old running copies of dhclient were killed before a
new one started. Current dhclient does not need this assist, so change
"ifconfig <if> down" to "ifconfig <if> up" pending further script
optimizations.

Similar to a 2014 attempt by halex@. Prompted by a misc@ report
from Kristjan Komlosi reporting hanging diskless setups.

ok halex@ kn@

6 years agoKeep any text killed in the command prompt with C-w and yank it with
nicm [Wed, 29 Aug 2018 09:50:32 +0000 (09:50 +0000)]
Keep any text killed in the command prompt with C-w and yank it with
C-y, only use the top buffer if no text has previously been killed. This
and previous change promped by discussion with kn@.

6 years agoAdd C-Left and C-Right as aliases for M-b and M-f.
nicm [Wed, 29 Aug 2018 08:56:51 +0000 (08:56 +0000)]
Add C-Left and C-Right as aliases for M-b and M-f.

6 years agoAdjust comment to make it clear that a NULL nexthop is actually eligable
claudio [Wed, 29 Aug 2018 08:51:49 +0000 (08:51 +0000)]
Adjust comment to make it clear that a NULL nexthop is actually eligable

6 years agoPrevent ospfd from starting if another ospfd is already using the same
remi [Wed, 29 Aug 2018 08:43:16 +0000 (08:43 +0000)]
Prevent ospfd from starting if another ospfd is already using the same
socket. The check on the control socket happens early so that the rc
scripts detect a failure.

OK claudio@ florian@

6 years agoAdd set-case-replaced to toggle case-preserving replace on or off.
reyk [Wed, 29 Aug 2018 07:50:16 +0000 (07:50 +0000)]
Add set-case-replaced to toggle case-preserving replace on or off.

By default, replacing "foo" with "bar" turns "FOO" into "BAR".
With case-replace turned off, "FOO" will turn into "bar".

OK florian@ tb@

6 years agoInitialize device numbers for newly allocated ptys. Prevents a panic caused by
anton [Wed, 29 Aug 2018 06:04:46 +0000 (06:04 +0000)]
Initialize device numbers for newly allocated ptys. Prevents a panic caused by
the following: a new pty is allocated in which the kernel console output is
redirected to, poll(2):ing from /dev/console at this point would be delegated to
the device with the major number taken from the pty due to the earlier
redirection. Since the pty does not have its correct device major assigned, the
wrong device ends up being used.

ok deraadt@ millert@

6 years agoFirst pass in bringing i386 in sync with amd64. This does not yet work, but is
pd [Wed, 29 Aug 2018 04:51:12 +0000 (04:51 +0000)]
First pass in bringing i386 in sync with amd64. This does not yet work, but is
being committed now so we can work on the rest in-tree.

ok mlarkin@

6 years agomove the todr chip handle into a prtc_softc structure
dlg [Wed, 29 Aug 2018 02:03:12 +0000 (02:03 +0000)]
move the todr chip handle into a prtc_softc structure

no realy change, this avoid having to allocate the todr struct in attach

ok deraadt@

6 years agoRun Wycheproof AES-CMAC testvectors against libcrypto.
tb [Tue, 28 Aug 2018 18:28:30 +0000 (18:28 +0000)]
Run Wycheproof AES-CMAC testvectors against libcrypto.

6 years agoremove some extra parens and fix some other formatting issues
tb [Tue, 28 Aug 2018 18:25:33 +0000 (18:25 +0000)]
remove some extra parens and fix some other formatting issues
pointed out by gofmt (thanks anton)

6 years agoUnclutter bgpd.conf example config file
job [Tue, 28 Aug 2018 17:52:16 +0000 (17:52 +0000)]
Unclutter bgpd.conf example config file

We're aiming to work towards an examples/bgpd.conf file that is a good starting
point for real world deployments rather than a showcase of all capabilities
bgpd(8) has.

OK deraadt@ claudio@

6 years agoRemove extra "and" in "These functions and have been available"
tb [Tue, 28 Aug 2018 17:47:29 +0000 (17:47 +0000)]
Remove extra "and" in "These functions and have been available"

6 years agozap trailing whitespace
tb [Tue, 28 Aug 2018 17:45:50 +0000 (17:45 +0000)]
zap trailing whitespace

6 years agoDisplay per-TDB counters in verbose mode.
mpi [Tue, 28 Aug 2018 15:17:56 +0000 (15:17 +0000)]
Display per-TDB counters in verbose mode.

ok sthen@

6 years agoAdd per-TDB counters and a new SADB extension to export them to
mpi [Tue, 28 Aug 2018 15:15:02 +0000 (15:15 +0000)]
Add per-TDB counters and a new SADB extension to export them to
userland.

Inputs from markus@, ok sthen@

6 years agoDrop SSLv2, SSLv3 support.
cheloha [Tue, 28 Aug 2018 14:30:48 +0000 (14:30 +0000)]
Drop SSLv2, SSLv3 support.

No need to check for SSLv2/3 sessions when printing the tally mark.
Also do SSLv23_client_method -> TLS_client_method.

ok jsing@

6 years agoTweak messages emitted by editor_resize() so "Partition x shrunk ..."
krw [Tue, 28 Aug 2018 12:40:54 +0000 (12:40 +0000)]
Tweak messages emitted by editor_resize() so "Partition x shrunk ..."
is only printed if the disklabel gets modified. Also, include the new
size.

On failure just report "Amount too big.".

6 years agofix misplaced parenthesis inside if-clause. it's harmless and the only issue is
mestre [Tue, 28 Aug 2018 12:25:53 +0000 (12:25 +0000)]
fix misplaced parenthesis inside if-clause. it's harmless and the only issue is
showing an unknown error (since it's not defined) during fatal(), if it ever
an error occurs inside that condition.

OK deraadt@ markus@ djm@

6 years agofix build with DEBUG_PK enabled
mestre [Tue, 28 Aug 2018 12:17:45 +0000 (12:17 +0000)]
fix build with DEBUG_PK enabled

OK dtucker@

6 years agoavoid uninitialised variable use
jsg [Tue, 28 Aug 2018 09:35:35 +0000 (09:35 +0000)]
avoid uninitialised variable use
ok patrick@ kettenis@

6 years agoavoid uninitialised variable use in an error path
jsg [Tue, 28 Aug 2018 09:33:18 +0000 (09:33 +0000)]
avoid uninitialised variable use in an error path
ok kettenis@

6 years agoFix stat of path components - this was breaking chrome - because the
beck [Tue, 28 Aug 2018 02:51:55 +0000 (02:51 +0000)]
Fix stat of path components - this was breaking chrome - because the
final directory in a name unveil was not being added with UNVEIL_INSPECT
if it was not already unveiled. Now passes just added regress test for
this case

6 years agoAdd regress test of stat all the way to a nonexistant terminal
beck [Tue, 28 Aug 2018 02:49:47 +0000 (02:49 +0000)]
Add regress test of stat all the way to a nonexistant terminal

6 years agoCheck for SSL_write(3) error.
cheloha [Tue, 28 Aug 2018 02:14:22 +0000 (02:14 +0000)]
Check for SSL_write(3) error.

jsing@ notes that this is not a complete solution, as we don't
account for retries or partial writes, but that this is a step
in a right direction.

May want to revisit this later to provide a complete solution.

ok jsing@

6 years agosync
deraadt [Tue, 28 Aug 2018 01:23:34 +0000 (01:23 +0000)]
sync

6 years agoadd support for storing the time of day on OPL based machines.
dlg [Tue, 28 Aug 2018 00:00:42 +0000 (00:00 +0000)]
add support for storing the time of day on OPL based machines.

this let's me pull the date back from 2023 to 2018, and have it
stay like that after a reboot.

ok deraadt@

6 years agoReduce excessive right padding in tagged list heads.
schwarze [Mon, 27 Aug 2018 23:12:57 +0000 (23:12 +0000)]
Reduce excessive right padding in tagged list heads.
The 1.2em was an approximate equivalent of the 2n traditionally used
for terminal display, but it is much too wide for HTML rendering.
Issue reported by mikeb@.

6 years agohitemp(4)
kettenis [Mon, 27 Aug 2018 21:56:31 +0000 (21:56 +0000)]
hitemp(4)

6 years agotweak failure messages
tb [Mon, 27 Aug 2018 21:27:39 +0000 (21:27 +0000)]
tweak failure messages

6 years agodedup AES-CBC-PKCS5 encryption and decryption checks
tb [Mon, 27 Aug 2018 21:24:13 +0000 (21:24 +0000)]
dedup AES-CBC-PKCS5 encryption and decryption checks

6 years agohitemp(4)
kettenis [Mon, 27 Aug 2018 21:12:28 +0000 (21:12 +0000)]
hitemp(4)

6 years agoAdd hitemp(4), a driver for the temperature sensors on the HiSilicon Hi3660
kettenis [Mon, 27 Aug 2018 21:09:47 +0000 (21:09 +0000)]
Add hitemp(4), a driver for the temperature sensors on the HiSilicon Hi3660
and Hi3670 SoCs.

6 years ago2x missing "..."
tb [Mon, 27 Aug 2018 21:02:25 +0000 (21:02 +0000)]
2x missing "..."

6 years agoRun Wycheproof AES-CCM testvectors against libcrypto.
tb [Mon, 27 Aug 2018 20:58:02 +0000 (20:58 +0000)]
Run Wycheproof AES-CCM testvectors against libcrypto.

6 years agosort SEE ALSO;
jmc [Mon, 27 Aug 2018 20:36:49 +0000 (20:36 +0000)]
sort SEE ALSO;

6 years agoAdd 64-bit DMA support. Enable DMA on HiSilicon SoCs.
kettenis [Mon, 27 Aug 2018 20:13:16 +0000 (20:13 +0000)]
Add 64-bit DMA support.  Enable DMA on HiSilicon SoCs.

ok patrick@

6 years agorkdwusb(4)
kettenis [Mon, 27 Aug 2018 20:09:29 +0000 (20:09 +0000)]
rkdwusb(4)