document sendsyslog(2); ok guenther tedu matthew
sync
Preread the thermal zone trip points before reading the temperature value.
This is needed on some (specifically HP) machines to avoid _TMP reporting
a bogus temperature value (temperatures > 4,000 degC), which causes acpitz
to automatically shut down the machine because it thinks it's floating in
lava.

Also ensure that we can accept a temperature reading of 0 degC - we were
previously interpreting 0 degC as "bad temperature data" and not attaching
the thermal zone device. Some machines have ephemeral temperature sensors
that come and go (eg in docks) and we want to make sure we attach those
even if they report back 0 degC on initialization. Fixes some machines
with "failed to read _TMP" errors.

ok deraadt, tested and verified by a few folks on tech@ who were seeing
the thermal zone shutdown isue.
enough churn, a crank is advised by guenther..
odds are that some ABI change occured today, no matter how careful everyone
is
If a constant string needs a name, use a static const array instead
of a pointer or non-const array, as that minimizes the symbols,
maximizes the placement into read-only memory, and avoids warnings
from gcc -Wformat=2 when they're used as format strings.
Per C99, wchar.h has to forward declare struct tm
Welcome to 1989: assume the compiler support const
The hosts.lpd file must exist, or no permission is granted.  Change the
the log messages to clarify the reason for the failure to clarify the
condition.
ok guenther
Unused variable from oldrdist cleanup
Yes, we have setproctitle().  Delete that and several unused HAVE_* #defines
Eliminate some annoying variable shadowing
Delete unused global
Rename 'link' parameter to eliminate shadow warnings
No really, assume POSIX: errno is declared for us and sys/stat.h has
S_IX{USR,GRP,OTH}
Deleted unused local prototypes for systems stuff
SETARGS and NEED_HASMNTOPT paths are dead; rshrcmd() and libz stuff are
no longer (were never?) used
Implement checksum offload for divert(4): simply set the checksum flag
and let the stack take care of the checksums for reinjected outbound
packets.

Reinjected inbound packets will continue to have their checksums
calculated manually but we can now take advantage of in_proto_cksum_out
and in6_proto_cksum_out to streamline the way their checksums are done.

help from florian@ and henning@, feedback from naddy@
ok florian@ henning@
-DOPENSSL_NO_KRB5 is no longer needed
ok guenther
Kill os-openbsd.h: we have <paths.h>, _PATH_RSH, and utimes()