openbsd
7 years agothis one I did forget to "cvs rm"
djm [Mon, 1 May 2017 14:08:26 +0000 (14:08 +0000)]
this one I did forget to "cvs rm"

7 years agoComments and spacing.
rpe [Mon, 1 May 2017 14:01:47 +0000 (14:01 +0000)]
Comments and spacing.

7 years agomove more gcc files to gcc sets
jsg [Mon, 1 May 2017 13:44:59 +0000 (13:44 +0000)]
move more gcc files to gcc sets
ok deraadt@

7 years agoIn order that people can use formats like #D in #() in the status line
nicm [Mon, 1 May 2017 12:20:55 +0000 (12:20 +0000)]
In order that people can use formats like #D in #() in the status line
and not have to wait for an update when they change pane, we allow
commands to run more than once a second if the expanded form
changes. Unfortunately this can mean them being run far too often
(pretty much continually) when multiple clients exist, because some
formats (including #D) will always differ between clients.

To avoid this, give each client its own tree of jobs which means that
the same command will be different instances for each client - similar
to how we have the tag to separate commands for different panes.

GitHub issue 889; test case reported by Paul Johnson.

7 years agoin function used for tracing, display unknown lookup types as "???"
gilles [Mon, 1 May 2017 09:29:07 +0000 (09:29 +0000)]
in function used for tracing, display unknown lookup types as "???"

diff from Wolf480pl

7 years agodon't know why cvs didn't exterminate these the first time around,
djm [Mon, 1 May 2017 09:27:45 +0000 (09:27 +0000)]
don't know why cvs didn't exterminate these the first time around,
I use rm -f and everuthing...

pointed out by sobrado@

7 years agoFewer kgdb(7) references and fix previous.
mpi [Mon, 1 May 2017 06:39:25 +0000 (06:39 +0000)]
Fewer kgdb(7) references and fix previous.

Pointed by jmc@

7 years agoupdate currency exchange rates;
jmc [Mon, 1 May 2017 06:23:59 +0000 (06:23 +0000)]
update currency exchange rates;

7 years agoremove unused variable
djm [Mon, 1 May 2017 02:27:11 +0000 (02:27 +0000)]
remove unused variable

7 years agoDocument that wait3/waitpid can receive SIGCHILD when wpid does
millert [Mon, 1 May 2017 00:08:31 +0000 (00:08 +0000)]
Document that wait3/waitpid can receive SIGCHILD when wpid does
not exist or is not a child of the calling process.
Document what happens when SIGCHLD is ignored or SA_NOCLDWAIT is
set in sa_flags (this part from FreeBSD).
OK guenther@

7 years agofixup setting ciphercontext->plaintext (lost in SSHv1 purge), though
djm [Mon, 1 May 2017 00:03:18 +0000 (00:03 +0000)]
fixup setting ciphercontext->plaintext (lost in SSHv1 purge), though
it isn't really used for much anymore.

7 years agosync
deraadt [Sun, 30 Apr 2017 23:54:43 +0000 (23:54 +0000)]
sync

7 years agoeliminate explicit specification of protocol in tests and loops over
djm [Sun, 30 Apr 2017 23:34:55 +0000 (23:34 +0000)]
eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.

7 years agoremove SSHv1 support from unit tests
djm [Sun, 30 Apr 2017 23:33:48 +0000 (23:33 +0000)]
remove SSHv1 support from unit tests

7 years agoflense SSHv1 support from ssh-agent, considerably simplifying it
djm [Sun, 30 Apr 2017 23:29:10 +0000 (23:29 +0000)]
flense SSHv1 support from ssh-agent, considerably simplifying it

ok markus

7 years agoobliterate ssh1.h and some dead code that used it
djm [Sun, 30 Apr 2017 23:28:41 +0000 (23:28 +0000)]
obliterate ssh1.h and some dead code that used it

ok markus@

7 years agoexterminate the -1 flag from scp
djm [Sun, 30 Apr 2017 23:28:12 +0000 (23:28 +0000)]
exterminate the -1 flag from scp

ok markus@

7 years agopurge the last traces of SSHv1 from the TTY modes handling code
djm [Sun, 30 Apr 2017 23:26:54 +0000 (23:26 +0000)]
purge the last traces of SSHv1 from the TTY modes handling code

ok markus

7 years agoremove the (in)famous SSHv1 CRC compensation attack detector.
djm [Sun, 30 Apr 2017 23:26:16 +0000 (23:26 +0000)]
remove the (in)famous SSHv1 CRC compensation attack detector.

Despite your cameo in The Matrix movies, you will not be missed.

ok markus

7 years agoundo some local debugging stuff that I committed by accident
djm [Sun, 30 Apr 2017 23:25:03 +0000 (23:25 +0000)]
undo some local debugging stuff that I committed by accident

7 years agoremove SSHv1 support from packet and buffer APIs
djm [Sun, 30 Apr 2017 23:23:54 +0000 (23:23 +0000)]
remove SSHv1 support from packet and buffer APIs

ok markus@

7 years agoremove SSHv1-related buffers from client code
djm [Sun, 30 Apr 2017 23:21:54 +0000 (23:21 +0000)]
remove SSHv1-related buffers from client code

7 years agoremove KEY_RSA1
djm [Sun, 30 Apr 2017 23:18:44 +0000 (23:18 +0000)]
remove KEY_RSA1

ok markus@

7 years agoremove SSHv1 configuration options and man pages bits
djm [Sun, 30 Apr 2017 23:18:22 +0000 (23:18 +0000)]
remove SSHv1 configuration options and man pages bits

ok markus@

7 years agoremove SSH1 make flag and associated files
djm [Sun, 30 Apr 2017 23:17:37 +0000 (23:17 +0000)]
remove SSH1 make flag and associated files
ok markus@

7 years agoremove SSHv1 ciphers; ok markus@
djm [Sun, 30 Apr 2017 23:15:04 +0000 (23:15 +0000)]
remove SSHv1 ciphers; ok markus@

7 years agoremove compat20/compat13/compat15 variables
djm [Sun, 30 Apr 2017 23:13:25 +0000 (23:13 +0000)]
remove compat20/compat13/compat15 variables

ok markus@

7 years agoremove options.protocol and client Protocol configuration knob
djm [Sun, 30 Apr 2017 23:11:45 +0000 (23:11 +0000)]
remove options.protocol and client Protocol configuration knob

ok markus@

7 years agounifdef WITH_SSH1
djm [Sun, 30 Apr 2017 23:10:43 +0000 (23:10 +0000)]
unifdef WITH_SSH1
ok markus@

7 years agoMake early attrbute work here as well. Remove unreachable panic while there.
kettenis [Sun, 30 Apr 2017 22:35:33 +0000 (22:35 +0000)]
Make early attrbute work here as well.  Remove unreachable panic while there.

ok visa@, patrick@, drahn@

7 years agoFix priority handling. The interrupt priority registers expose the full range
kettenis [Sun, 30 Apr 2017 21:52:40 +0000 (21:52 +0000)]
Fix priority handling.  The interrupt priority registers expose the full range
of priorities available in secure mode (minimally 32).  For non-secure
interrupts we need to make sure the top bit is set and shift our interrupt
priority level into the remaining bits.  The priority mask register on the
other hand only exposes the priority levels available to the mode from which
it is accessed.  So when accessed from non-secure mode, we need to shift our
interrupt priority level by a different amount.

Also set the binary point register to zero to make sure the maximum number of
available bits are used for the priority group and priority masking actually
works as expected.

This makes the FireFly-RK3399 boot multi-user with the root filesystem on USB.

ok drahn@

7 years agoSwitch AES testcase to the new implementation
mikeb [Sun, 30 Apr 2017 21:34:45 +0000 (21:34 +0000)]
Switch AES testcase to the new implementation

OK djm@

7 years agoConstant time AES implementation
mikeb [Sun, 30 Apr 2017 21:33:02 +0000 (21:33 +0000)]
Constant time AES implementation

This introduces a 32-bit constant time AES implementation from
Thomas Pornin originally for BearSSL and then adjusted by Thomas
and myself to fit OpenBSD kernel. One of the additional features
is an API for encryption and decryption subkey expansion in the
format specified by NIST in FIPS 197.

Tested by myself and naddy@, ok djm@

7 years agosync
deraadt [Sun, 30 Apr 2017 21:15:46 +0000 (21:15 +0000)]
sync

7 years agoMove FlexLexer.h from /usr/include/g++ to /usr/include. It is not
millert [Sun, 30 Apr 2017 20:30:39 +0000 (20:30 +0000)]
Move FlexLexer.h from /usr/include/g++ to /usr/include.  It is not
a g++-specific header and this matches most other systems.  Needed
to use flex++ with clang.  OK espie@ kettenis@

7 years agoRemove KGDB references.
mpi [Sun, 30 Apr 2017 20:09:27 +0000 (20:09 +0000)]
Remove KGDB references.

7 years agoRemove some KGDB leftovers.
mpi [Sun, 30 Apr 2017 20:04:42 +0000 (20:04 +0000)]
Remove some KGDB leftovers.

From Amit Kulkarni.

7 years agoDo not try to delete a default route before adding it.
mpi [Sun, 30 Apr 2017 19:37:13 +0000 (19:37 +0000)]
Do not try to delete a default route before adding it.

Now that route are automatically G/C with the address they are attached
to there's no reason to duplicate the kernel's job.

Fix a regression introduced with multipath default routes.

ok deraadt@

7 years agoNo original OpenSSL code remains in this file. Relicense
beck [Sun, 30 Apr 2017 17:54:11 +0000 (17:54 +0000)]
No original OpenSSL code remains in this file. Relicense

7 years agowhitespace
beck [Sun, 30 Apr 2017 17:46:27 +0000 (17:46 +0000)]
whitespace

7 years agoAdd rkclock(4), a driver for the Rockchip RK3399 clocks.
kettenis [Sun, 30 Apr 2017 17:42:32 +0000 (17:42 +0000)]
Add rkclock(4), a driver for the Rockchip RK3399 clocks.

7 years agoRename Debugger() into db_enter().
mpi [Sun, 30 Apr 2017 16:45:45 +0000 (16:45 +0000)]
Rename Debugger() into db_enter().

Using a name with the 'db_' prefix makes it invisible from the dynamic
profiler.

ok deraadt@, kettenis@, visa@

7 years agosync
deraadt [Sun, 30 Apr 2017 15:17:28 +0000 (15:17 +0000)]
sync

7 years agoMention that escaping "^" as "\(ha" in source code samples improves
schwarze [Sun, 30 Apr 2017 15:05:27 +0000 (15:05 +0000)]
Mention that escaping "^" as "\(ha" in source code samples improves
portability, in particular when rendering to formats such as PDF
with real typesetters such as groff.

While here, make it even more explicit that the rendering of raw
ASCII accents ( ` ' ~ ^ ) found in the input is kind of a mess and
varies among implementations, software versions, macro sets, and
output devices.

Issue noticed when reading the groff_char(7) manual, and confirmed
by testing with current groff.

OK bentley@, "certainly no objection" jmc@

N.B.: Nobody will get scolded for ignoring this subtlety.

7 years agoAdd xhci@fdt, and move ehci(4) from the sunxi block to the generic block.
kettenis [Sun, 30 Apr 2017 14:03:44 +0000 (14:03 +0000)]
Add xhci@fdt, and move ehci(4) from the sunxi block to the generic block.

7 years agoAdd rkgrf(4), a driver that makes the "generic register file" of the Rockchip
kettenis [Sun, 30 Apr 2017 14:00:06 +0000 (14:00 +0000)]
Add rkgrf(4), a driver that makes the "generic register file" of the Rockchip
RK3399 available to other drivers through the regmap interface.

7 years agoMake early attrbute work here as well. Remove unreachable panic while there.
kettenis [Sun, 30 Apr 2017 13:54:00 +0000 (13:54 +0000)]
Make early attrbute work here as well.  Remove unreachable panic while there.

ok visa@

7 years agoTweak error message when running on an unsupported release.
ajacoutot [Sun, 30 Apr 2017 13:41:10 +0000 (13:41 +0000)]
Tweak error message when running on an unsupported release.

7 years agoUnifdef KGDB.
mpi [Sun, 30 Apr 2017 13:04:49 +0000 (13:04 +0000)]
Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@

7 years agoCheck that unsupported operation returns ENOSYS.
mpi [Sun, 30 Apr 2017 10:11:03 +0000 (10:11 +0000)]
Check that unsupported operation returns ENOSYS.

7 years agoReturn ENOSYS for unsupported operation.
mpi [Sun, 30 Apr 2017 10:10:21 +0000 (10:10 +0000)]
Return ENOSYS for unsupported operation.

7 years agoRegression tests for futex(2).
mpi [Sun, 30 Apr 2017 09:03:58 +0000 (09:03 +0000)]
Regression tests for futex(2).

7 years agoAdd futex(2) shim, bump minor.
mpi [Sun, 30 Apr 2017 09:01:14 +0000 (09:01 +0000)]
Add futex(2) shim, bump minor.

Inputs from guenther@, ok kettenis@, visa@

7 years agoMake BIO_get_host_ip just yet another getaddrinfo wrapper
beck [Sun, 30 Apr 2017 05:43:05 +0000 (05:43 +0000)]
Make BIO_get_host_ip just yet another getaddrinfo wrapper

7 years agoRework BIO_accept to be more like modern code.
beck [Sun, 30 Apr 2017 05:09:22 +0000 (05:09 +0000)]
Rework BIO_accept to be more like modern code.
ok jsing@

7 years agoOnly enable -Werror on libcrypto/libssl/libtls if we are building with
jsing [Sun, 30 Apr 2017 04:44:58 +0000 (04:44 +0000)]
Only enable -Werror on libcrypto/libssl/libtls if we are building with
gcc4. This should avoid failed builds while transitioning compilers.
While here also make the CFLAGS blocks consistent across makefiles.

Discussed with deraadt@, ok beck@

7 years agoRemove unused POW status functions. Makes clang happier.
visa [Sun, 30 Apr 2017 04:32:58 +0000 (04:32 +0000)]
Remove unused POW status functions. Makes clang happier.

7 years agoSwitch back to freezero() and explicitly initialise data_len to zero. The
jsing [Sun, 30 Apr 2017 04:21:53 +0000 (04:21 +0000)]
Switch back to freezero() and explicitly initialise data_len to zero. The
previous code was safe since data would always be NULL if data_len was
uninitialised, however compilers cannot know this.

7 years agoMicrosoft Windows hates BIO_get_accept_socket in portable. Fix it to
beck [Sun, 30 Apr 2017 04:18:58 +0000 (04:18 +0000)]
Microsoft Windows hates BIO_get_accept_socket in portable. Fix it to
not be awful or have any claims on supporting ipv6 when it does so
very badly
ok jsing@

7 years agoAdd missing tls_init() and tls_free() calls.
jsing [Sun, 30 Apr 2017 03:53:31 +0000 (03:53 +0000)]
Add missing tls_init() and tls_free() calls.

7 years agoAdd a tls_keypair_clear_key() function that uses freezero() to make key
jsing [Sun, 30 Apr 2017 02:10:22 +0000 (02:10 +0000)]
Add a tls_keypair_clear_key() function that uses freezero() to make key
material inaccessible, then call it from the appropriate places.

ok beck@

7 years agoFix a bug caused by the return value being set early to signal successful
jsing [Sat, 29 Apr 2017 23:38:49 +0000 (23:38 +0000)]
Fix a bug caused by the return value being set early to signal successful
DTLS cookie validation. This can mask a later failure and result in a
positive return value being returned from ssl3_get_client_hello(), when
it should return a negative value to propagate the error.

Ironically this was introduced in OpenSSL 2e9802b7a7b with the commit
message "Fix DTLS cookie management bugs".

Fix based on OpenSSL.

Issue reported by Nicolas Bouliane <nbouliane at jive dot com>.

ok beck@

7 years agoRevert previous - we still want to do this, but I forgot about the installer
beck [Sat, 29 Apr 2017 22:31:42 +0000 (22:31 +0000)]
Revert previous - we still want to do this, but I forgot about the installer
and want to avoid the wrath of theo when he arrives home in a couple
of hours :)

7 years agoWe now require you to have a working libpthread
beck [Sat, 29 Apr 2017 22:22:24 +0000 (22:22 +0000)]
We now require you to have a working libpthread

7 years agoMake it safe to call SSL_library_init more than once.
beck [Sat, 29 Apr 2017 21:54:54 +0000 (21:54 +0000)]
Make it safe to call SSL_library_init more than once.

We are basically admitting that pthread is everywhere, and
we will be using it for other things too.
ok jsing@

7 years agoStop calling OPENSSL_init() internally, since it is a no-op. Also place
jsing [Sat, 29 Apr 2017 21:48:43 +0000 (21:48 +0000)]
Stop calling OPENSSL_init() internally, since it is a no-op. Also place
it under #ifndef LIBRESSL_INTERNAL.

ok beck@

7 years agoFix UTF-8 combining characters in column 0, based on a diff from Keith
nicm [Sat, 29 Apr 2017 21:27:46 +0000 (21:27 +0000)]
Fix UTF-8 combining characters in column 0, based on a diff from Keith
Winstein.

7 years agoReplace sxiehci.c with more generic glue in ehci_fdt.c that is similiar in
kettenis [Sat, 29 Apr 2017 20:49:09 +0000 (20:49 +0000)]
Replace sxiehci.c with more generic glue in ehci_fdt.c that is similiar in
spirit to the xhci_fdt.c glue.  The new code sets up any attached USB PHYs
based on their "compatible" property.  All the hardware supported by sxiehci.c
should be supported by this new code.  In addition to that this adds support
for the EHCI controllers found on various Rockchip hardware such as the
RK3288 and RK3399 SoCs.

ok patrick@

7 years agofix argument check, this should never trigger because it is a libexec called by
jung [Sat, 29 Apr 2017 19:03:45 +0000 (19:03 +0000)]
fix argument check, this should never trigger because it is a libexec called by
smtpd, but for the sake of correctness

from Edgar Pettijohn

ok gilles@

7 years agoSwitch Linux getrandom() usage to non-blocking mode, continuing to
beck [Sat, 29 Apr 2017 18:43:31 +0000 (18:43 +0000)]
Switch Linux getrandom() usage to non-blocking mode, continuing to
use fallback mechanims if unsuccessful.

The design of Linux getrandom is broken.  It has an
uninitialized phase coupled with blocking behaviour, which
is unacceptable from within a library at boot time without
possible recovery.
ok deraadt@ jsing@

7 years agoDecrement ci_idepth on all returns from agintc_irq_handler().
kettenis [Sat, 29 Apr 2017 18:13:25 +0000 (18:13 +0000)]
Decrement ci_idepth on all returns from agintc_irq_handler().

7 years agoAdd agintc(4), a driver for interrupt controllers conforming to ARM's
kettenis [Sat, 29 Apr 2017 17:24:41 +0000 (17:24 +0000)]
Add agintc(4), a driver for interrupt controllers conforming to ARM's
generic interrupt controller architecture specification v3/4.

The hard work was done by drahn@, I just cleaned it up a bit and fixed
a couple of bugs.

ok patrick@, drahn@

7 years agoMove the userret() call out of data_abort() and simply call it just before we
kettenis [Sat, 29 Apr 2017 17:10:43 +0000 (17:10 +0000)]
Move the userret() call out of data_abort() and simply call it just before we
return from do_el0_sync().  Prevents future mistakes.

7 years agoCall refreshcreds() in ast() since we may get there without going through
kettenis [Sat, 29 Apr 2017 17:07:09 +0000 (17:07 +0000)]
Call refreshcreds() in ast() since we may get there without going through
do_el0_sync() or mi_syscall().

7 years agoput clang headers into clang sets
jsg [Sat, 29 Apr 2017 14:28:21 +0000 (14:28 +0000)]
put clang headers into clang sets
ok deraadt@

7 years agoParser unification: use nice ohashes for all three request and macro tables;
schwarze [Sat, 29 Apr 2017 12:43:55 +0000 (12:43 +0000)]
Parser unification: use nice ohashes for all three request and macro tables;
no functional change, minus two source files, minus 200 lines of code.

7 years agostore cpu model information in the buffer used by the hw.model sysctl
jsg [Sat, 29 Apr 2017 10:05:49 +0000 (10:05 +0000)]
store cpu model information in the buffer used by the hw.model sysctl
ok kettenis@

7 years agoMark futex(2) as PLEDGE_STDIO like all other thread-related syscalls.
mpi [Sat, 29 Apr 2017 08:02:56 +0000 (08:02 +0000)]
Mark futex(2) as PLEDGE_STDIO like all other thread-related syscalls.

From semarie@, ok deraadt@

7 years agotweak previous;
jmc [Sat, 29 Apr 2017 06:06:01 +0000 (06:06 +0000)]
tweak previous;

7 years agoallow ssh-keygen to include arbitrary string or flag certificate
djm [Sat, 29 Apr 2017 04:12:25 +0000 (04:12 +0000)]
allow ssh-keygen to include arbitrary string or flag certificate
extensions and critical options. ok markus@ dtucker@

7 years agoTest that suslogd's UDP sockets bound to *.514 do not receive packets
bluhm [Sat, 29 Apr 2017 01:57:04 +0000 (01:57 +0000)]
Test that suslogd's UDP sockets bound to *.514 do not receive packets
if the -u insecure mode is not selected.

7 years agosync
deraadt [Sat, 29 Apr 2017 00:32:21 +0000 (00:32 +0000)]
sync

7 years agoRestore calculation of volume size. Accidentally removed in
krw [Fri, 28 Apr 2017 23:33:07 +0000 (23:33 +0000)]
Restore calculation of volume size. Accidentally removed in
r1.25. Fixes creation of concat volumes.

Noticed by and diff from Thordur I. Bjornsson via tech@

ok jsing@

7 years agoRevert previous change that forced consistency between return value and
beck [Fri, 28 Apr 2017 23:03:58 +0000 (23:03 +0000)]
Revert previous change that forced consistency between return value and
error code, since this breaks the documented API. Under certain circumstances
this will result in incorrect successful certiticate verification (where
a user supplied callback always returns 1, and later code checks the error
code to potentially abort post verification)

7 years agorevert previous accidental commit
beck [Fri, 28 Apr 2017 22:46:40 +0000 (22:46 +0000)]
revert previous accidental commit

7 years ago*** empty log message ***
beck [Fri, 28 Apr 2017 22:38:51 +0000 (22:38 +0000)]
*** empty log message ***

7 years agoQuiet a clang warning from -Wstring-plus-int. OK naddy@
millert [Fri, 28 Apr 2017 22:16:43 +0000 (22:16 +0000)]
Quiet a clang warning from -Wstring-plus-int.  OK naddy@

7 years agoLog what is happening with window and session reference counts much more
nicm [Fri, 28 Apr 2017 19:13:55 +0000 (19:13 +0000)]
Log what is happening with window and session reference counts much more
obviously.

7 years agoRemove a reference from the right window when removing from a winlink's
nicm [Fri, 28 Apr 2017 19:12:15 +0000 (19:12 +0000)]
Remove a reference from the right window when removing from a winlink's
list.

7 years agoDo not put the window on the alerts queue and add a reference unless the
nicm [Fri, 28 Apr 2017 19:10:48 +0000 (19:10 +0000)]
Do not put the window on the alerts queue and add a reference unless the
alert is enabled and we are actually going to add the alerts event.

7 years agoKonsole incorrectly ignores SU (CSI S) if the parameter is bigger than
nicm [Fri, 28 Apr 2017 17:58:44 +0000 (17:58 +0000)]
Konsole incorrectly ignores SU (CSI S) if the parameter is bigger than
the scroll region, so clamp it. Reported by Moritz Bunkus.

7 years agoReference the "Futexes Are Tricky" paper.
mpi [Fri, 28 Apr 2017 17:54:24 +0000 (17:54 +0000)]
Reference the "Futexes Are Tricky" paper.

With schwarze@

7 years agoDelete .Pp right before the first .Sh and right before any .Ss,
schwarze [Fri, 28 Apr 2017 16:23:30 +0000 (16:23 +0000)]
Delete .Pp right before the first .Sh and right before any .Ss,
and warn about it; mdoclint(1) does so, and it makes sense.

7 years agoCheck that non existing log files in syslog.conf are reported to
bluhm [Fri, 28 Apr 2017 15:04:49 +0000 (15:04 +0000)]
Check that non existing log files in syslog.conf are reported to
/dev/console during startup and restart.  Startup warnings contain
the pid now.  Console logging creates additional errors if the file
descriptor limit is exhausted.

7 years agoWhen syslogd(8) failed to open a logfile, the error message could
bluhm [Fri, 28 Apr 2017 14:52:13 +0000 (14:52 +0000)]
When syslogd(8) failed to open a logfile, the error message could
get lost.  Remove log_setdebug() as it adds too much abstraction,
use the global variable Started instead.  Set the Started value
before the init() function.  Then errors during config file processing
will be logged to the console as Initialize is still 0.  This is
better than stderr as the latter may be redirected to /dev/null.
Print the timestamp and hostname also for direct messages to console,
so that they look like all others.
bug report jung@; OK benno@

7 years agoerrant space;
jmc [Fri, 28 Apr 2017 14:30:54 +0000 (14:30 +0000)]
errant space;

7 years agoRemove double assignments
mikeb [Fri, 28 Apr 2017 14:15:45 +0000 (14:15 +0000)]
Remove double assignments

7 years agoStart deleting redundant features that are already covered
schwarze [Fri, 28 Apr 2017 14:11:01 +0000 (14:11 +0000)]
Start deleting redundant features that are already covered
by mandoc(1) -Tlint, as suggested by the upstream author
and maintainer Thomas Klausner <wiz @ NetBSD>.
The ultimate goal is to get rid of mdoclint and integrate
all its functionality into mandoc, but that will still take
some time, so simplify mdoclint for the time being.
jmc@ "go ahead", OK wiz@, also committed upstream

This first patch removes the AUTHORS check that mandoc does, too.

7 years agoDocument futex(2) with a lot of inputs from schwarze@
mpi [Fri, 28 Apr 2017 14:02:57 +0000 (14:02 +0000)]
Document futex(2) with a lot of inputs from schwarze@

7 years agoDisplay futex(2) operations and arguments.
mpi [Fri, 28 Apr 2017 13:53:05 +0000 (13:53 +0000)]
Display futex(2) operations and arguments.