openbsd
7 years agospelling fixes from michael w. bombardieri
jmc [Wed, 19 Apr 2017 09:32:46 +0000 (09:32 +0000)]
spelling fixes from michael w. bombardieri

7 years agoWhen the data we have buffered to write to a terminal grows beyond a
nicm [Wed, 19 Apr 2017 06:52:27 +0000 (06:52 +0000)]
When the data we have buffered to write to a terminal grows beyond a
reasonable amount (currently width * height * 8 bytes), discard all
output to the terminal and start trying to redraw periodically
instead. Continue with this until the amount of data we are trying to
write falls to a low level again.

This helps to prevent tmux sitting on a huge buffer of data when there
are processes with fast output running inside tmux but the outside
terminal is slow.

A new client_discarded format holds the amount of data that has been
discarded due to this mechanism.

The three variables (when to start this, when to stop, and how often to
redraw) are basically "works for me" at the moment, this is going in to
see how it goes and if it causes problems for anyone else.

7 years agoSwitch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been
natano [Wed, 19 Apr 2017 05:36:12 +0000 (05:36 +0000)]
Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been
around for two releases, it should be safe to do so.

ok bluhm deraadt sthen tb yasuoka

7 years agoBump numbers for /usr/obj allocation with *big* compilers.
tb [Wed, 19 Apr 2017 05:33:53 +0000 (05:33 +0000)]
Bump numbers for /usr/obj allocation with *big* compilers.

ok otto

7 years agoenlarge obj to satisfy new world order that has *big* compilers and
otto [Wed, 19 Apr 2017 05:27:00 +0000 (05:27 +0000)]
enlarge obj to satisfy new world order that has *big* compilers and
remove condition for static linking; ok tb@

7 years agoMore thoroughly reject direct access to unintended files, such that
schwarze [Wed, 19 Apr 2017 00:59:32 +0000 (00:59 +0000)]
More thoroughly reject direct access to unintended files, such that
URIs like http://man.openbsd.org/OpenBSD-current/mandoc.db and
http://man.openbsd.org/OpenBSD-current/man1/ do not cause display
of garbage.

7 years agoSimplify patching of motd(5), also making it agree better with the
schwarze [Tue, 18 Apr 2017 23:06:50 +0000 (23:06 +0000)]
Simplify patching of motd(5), also making it agree better with the
documentation if the first line of the file is blank.
Quirk reported by Anthony Coulter <bsd at anthonycoulter dot name>.
OK rpe@

7 years agoRevert use of DECSLRM on iTerm2, it doesn't help as much as we throught,
nicm [Tue, 18 Apr 2017 21:41:42 +0000 (21:41 +0000)]
Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught,
and there are some question marks about it's support.

7 years agoOn terminals without DECSLRM, when a pane that is less than the full
nicm [Tue, 18 Apr 2017 20:37:49 +0000 (20:37 +0000)]
On terminals without DECSLRM, when a pane that is less than the full
with of the terminal scrolls, tmux needs to redraw the entire pane. This
results in a large amount of output data which can cause slow terminals
to struggle, particularly when many lines are scrolled together quickly.

This can be reduced by only redrawing when tmux doesn't hold any
buffered data for the terminal. If a redraw is required and data is
buffered, the redraw is deferred until all that data is consumed (it is
checked after every event loop, a timer is used to ensure this happens
at some point). While a redraw is pending, no additional data will be
written to the terminal.

The redraw still happens, now it is just pushed back if it is possible
it would just add more data on top of a terminal that is already
behind. This both gives the terminal a chance to catch up, and allows
tmux to process more scrolling (that would require additional redraws)
in the meantime.

Helps with a problem reported by Greg Hurrell.

7 years agoDetect iTerm2 and use DECSLRM for it as well.
nicm [Tue, 18 Apr 2017 18:21:37 +0000 (18:21 +0000)]
Detect iTerm2 and use DECSLRM for it as well.

7 years agospelling fix;
jmc [Tue, 18 Apr 2017 16:21:06 +0000 (16:21 +0000)]
spelling fix;

7 years agoNow that global -i is gone, pass -i through to the apropos(1)
schwarze [Tue, 18 Apr 2017 15:59:56 +0000 (15:59 +0000)]
Now that global -i is gone, pass -i through to the apropos(1)
expression parser, such that "apropos -i 'Nm~dump\>'"
finds kdump(1) and WCOREDUMP(2) and you don't need
to type the counter-intuitive "apropos -- -i 'Nm~dump\>'".

7 years agodon't forget to fill in canary bytes for posix_memalign(3); reported by
otto [Tue, 18 Apr 2017 15:46:44 +0000 (15:46 +0000)]
don't forget to fill in canary bytes for posix_memalign(3); reported by
and ok jeremy@

7 years agoAdd a format for number of bytes writtent to client, useful for debugging.
nicm [Tue, 18 Apr 2017 15:44:17 +0000 (15:44 +0000)]
Add a format for number of bytes writtent to client, useful for debugging.

7 years agoAdd sparc64 support.
kettenis [Tue, 18 Apr 2017 15:35:24 +0000 (15:35 +0000)]
Add sparc64 support.

7 years agoDo not check for BCE for a background colour that isn't needed, use
nicm [Tue, 18 Apr 2017 15:27:47 +0000 (15:27 +0000)]
Do not check for BCE for a background colour that isn't needed, use
colour 8 instead.

7 years agoDelete the undocumented and unimplemented man(1) -i (interactive
schwarze [Tue, 18 Apr 2017 15:26:33 +0000 (15:26 +0000)]
Delete the undocumented and unimplemented man(1) -i (interactive
apropos) option.  It will not be implemented.  Featurism isn't the
plan for the future; simplicity is.

7 years agoinstallation of the compiler creates include/g++ if needed; mtree does not
deraadt [Tue, 18 Apr 2017 15:15:09 +0000 (15:15 +0000)]
installation of the compiler creates include/g++ if needed; mtree does not
need to do this.

7 years agorecent perl have signal names we don't have, protect against that.
espie [Tue, 18 Apr 2017 15:12:00 +0000 (15:12 +0000)]
recent perl have signal names we don't have, protect against that.
also, allow child_error to take a parameter so that this can be used to decode
an arbitrary wait() result.

7 years agoThe apropos(1) manual still documents the unary -i operator for
schwarze [Tue, 18 Apr 2017 15:04:35 +0000 (15:04 +0000)]
The apropos(1) manual still documents the unary -i operator for
regular expression search terms, but it appears that somewhere
along the way, the implementation got lost, so restore it.
Bug found while investigating other reports from Gonzalo Tornaria.

7 years agoStyle nits; no binary change.
nicm [Tue, 18 Apr 2017 14:16:48 +0000 (14:16 +0000)]
Style nits; no binary change.

7 years agoship clang with i386 and amd64. It does not become the main compiler YET.
deraadt [Tue, 18 Apr 2017 14:03:08 +0000 (14:03 +0000)]
ship clang with i386 and amd64.  It does not become the main compiler YET.
ok kettenis

7 years agoTweak parameters to decode_*, add a check or two, and thus gain most of the
krw [Tue, 18 Apr 2017 13:59:09 +0000 (13:59 +0000)]
Tweak parameters to decode_*, add a check or two, and thus gain most of the
sanity improvements reyk@ recently put into dhcrelay to ensure no more than
the captured packet is processed.

7 years agoFix previous: i forgot explicit NUL termination;
schwarze [Tue, 18 Apr 2017 13:57:12 +0000 (13:57 +0000)]
Fix previous: i forgot explicit NUL termination;
noticed by Gonzalo <Tornaria at cmat dot edu dot uy>, thanks!

7 years agoAfter 11 years of pondering about it I think that brookdavis@freebsd.org
krw [Tue, 18 Apr 2017 13:44:03 +0000 (13:44 +0000)]
After 11 years of pondering about it I think that brookdavis@freebsd.org
had it correct. Don't BPF_WORDALIGN() the value for the number of
bytes read() into the buffer. This could theoretically cause the
processing of 1 - 3 more bytes than were read.

7 years agoensure the buffer cache backs off all the way with the correct type
beck [Tue, 18 Apr 2017 13:41:32 +0000 (13:41 +0000)]
ensure the buffer cache backs off all the way with the correct type
of memory, handling the fact that both queues are actually in dma
space when not flipping buffers high

7 years agoInclude client name in key logging.
nicm [Tue, 18 Apr 2017 13:34:04 +0000 (13:34 +0000)]
Include client name in key logging.

7 years agoSupport packet aggregation for umb(4) on tx.
gerhard [Tue, 18 Apr 2017 13:27:55 +0000 (13:27 +0000)]
Support packet aggregation for umb(4) on tx.

tested by bluhm@, ststp@ and Bryan Vyhmeister.
ok bluhm@ ststp@

7 years agoCleaning out /usr/obj is necessary the first time due to permission issues.
tb [Tue, 18 Apr 2017 13:21:36 +0000 (13:21 +0000)]
Cleaning out /usr/obj is necessary the first time due to permission issues.
Make this more clearly visible and also state explicitly that this is no
longer necessary after completing a full release build.

ok deraadt

7 years agowipe some more macros that do not belong in C++ forwarding headers.
espie [Tue, 18 Apr 2017 12:42:29 +0000 (12:42 +0000)]
wipe some more macros that do not belong in C++ forwarding headers.
(breaks lincity-ng)
okay kettenis@

7 years agosame hack logic as maketars. noticed by landry@/semarie@
espie [Tue, 18 Apr 2017 07:13:39 +0000 (07:13 +0000)]
same hack logic as maketars. noticed by landry@/semarie@

7 years agoadd a clang comp list for arm64
jsg [Tue, 18 Apr 2017 05:24:46 +0000 (05:24 +0000)]
add a clang comp list for arm64

7 years agouse freezero() instead of explicit_bzero+free
deraadt [Tue, 18 Apr 2017 04:06:21 +0000 (04:06 +0000)]
use freezero() instead of explicit_bzero+free

7 years agoremoved unused function; from Edgar Pettijohn
deraadt [Tue, 18 Apr 2017 03:54:27 +0000 (03:54 +0000)]
removed unused function; from Edgar Pettijohn

7 years agoWarn if pipex(4) is disabled but the configuration uses it.
yasuoka [Tue, 18 Apr 2017 03:28:04 +0000 (03:28 +0000)]
Warn if pipex(4) is disabled but the configuration uses it.

7 years agoDelete #include lines which are unnecessary.
yasuoka [Tue, 18 Apr 2017 03:25:22 +0000 (03:25 +0000)]
Delete #include lines which are unnecessary.

7 years agoIncluding sys/types.h and net/if.h are needed to use pipex(4).
yasuoka [Tue, 18 Apr 2017 03:21:48 +0000 (03:21 +0000)]
Including sys/types.h and net/if.h are needed to use pipex(4).

7 years agosort
deraadt [Tue, 18 Apr 2017 03:09:57 +0000 (03:09 +0000)]
sort

7 years agouse freezero()
deraadt [Tue, 18 Apr 2017 02:29:56 +0000 (02:29 +0000)]
use freezero()

7 years agouse freezero() instead of explicit_bzero + free
deraadt [Tue, 18 Apr 2017 02:20:50 +0000 (02:20 +0000)]
use freezero() instead of explicit_bzero + free

7 years agoput clang binaries into clang set
deraadt [Tue, 18 Apr 2017 02:16:48 +0000 (02:16 +0000)]
put clang binaries into clang set

7 years agouse freezero() instead of 4-line conditional explicit_bzero + free
deraadt [Tue, 18 Apr 2017 02:15:50 +0000 (02:15 +0000)]
use freezero() instead of 4-line conditional explicit_bzero + free

7 years agofree(NULL) is ok so use it; from Michael W. Bombardieri
deraadt [Tue, 18 Apr 2017 01:45:33 +0000 (01:45 +0000)]
free(NULL) is ok so use it; from Michael W. Bombardieri

7 years agoFix pipex(4) not to cause panics on strict alignment architectures.
yasuoka [Tue, 18 Apr 2017 01:24:47 +0000 (01:24 +0000)]
Fix pipex(4) not to cause panics on strict alignment architectures.

ok claudio

7 years agoRearrange ure_iff to resemble other drivers a bit more.
jmatthew [Tue, 18 Apr 2017 00:18:51 +0000 (00:18 +0000)]
Rearrange ure_iff to resemble other drivers a bit more.
from Brad

7 years ago/dev/rmt* is no longer relevant; from miod
jmc [Mon, 17 Apr 2017 22:42:57 +0000 (22:42 +0000)]
/dev/rmt* is no longer relevant; from miod

7 years agosome freezero() calls
deraadt [Mon, 17 Apr 2017 21:58:27 +0000 (21:58 +0000)]
some freezero() calls

7 years agouse freezero()
deraadt [Mon, 17 Apr 2017 21:55:20 +0000 (21:55 +0000)]
use freezero()

7 years agomemset() of password field should be explicit_bzero().
deraadt [Mon, 17 Apr 2017 21:49:01 +0000 (21:49 +0000)]
memset() of password field should be explicit_bzero().
[Not using freezero() in yacc files yet]

7 years agofreezero() can be used here
deraadt [Mon, 17 Apr 2017 21:48:26 +0000 (21:48 +0000)]
freezero() can be used here

7 years agoskip mtree creation of two include dirs. gcc3 may still use them, but
deraadt [Mon, 17 Apr 2017 21:45:34 +0000 (21:45 +0000)]
skip mtree creation of two include dirs.  gcc3 may still use them, but
if so gcc3 should create them itself.

7 years agoThe raw ip input functions are called from several places. Use the
bluhm [Mon, 17 Apr 2017 21:10:03 +0000 (21:10 +0000)]
The raw ip input functions are called from several places.  Use the
address family passed down with pr_input to check that the correct
one is used.
OK florian@

7 years agoUse the address family passed down with pr_input to simplify
bluhm [Mon, 17 Apr 2017 20:59:35 +0000 (20:59 +0000)]
Use the address family passed down with pr_input to simplify
tcp_input().
OK florian@

7 years agoUse the address family passed down with pr_input to simplify
bluhm [Mon, 17 Apr 2017 20:48:21 +0000 (20:48 +0000)]
Use the address family passed down with pr_input to simplify
udp_input().
OK florian@

7 years agomatthieu@ observes % pax (without any arguments) hits pledge violation,
deraadt [Mon, 17 Apr 2017 20:22:14 +0000 (20:22 +0000)]
matthieu@ observes % pax (without any arguments) hits pledge violation,
because it tries MTIOCTOP against stdin, the tty.  It is very inconvenient
to use isatty to distinguish this difference in userland, so return ENOTTY
for tty devices.
ok natano

7 years agoRestore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order.
schwarze [Mon, 17 Apr 2017 20:04:26 +0000 (20:04 +0000)]
Restore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order.
They got broken in the SQLite removal.
As opposed to the rest of -kO, they are no longer very useful,
but they are certainly not supposed to fail assertions.
Issue reported by Gonzalo Tornaria <tornaria at cmat dot edu dot uy>.

7 years agoTake a more radical approach to disabling colours: pretend we don't
pascal [Mon, 17 Apr 2017 19:58:53 +0000 (19:58 +0000)]
Take a more radical approach to disabling colours: pretend we don't
HAVE_TERMINFO in our local config.h.  Some of the lower levels of LLVM
don't seem to respect our default setting.

As a result, delete the -ltermlib dependency.

Note that this breaks -fcolor-diagnostics=auto.  However, fixing the whole
codebase is out of scope for now ...

Prompted by an instance found in the AsmParser by deraadt@

ok kettenis@ patrick@

7 years agocreate a gross mechanism that can handle gcc-only, clang-only,
deraadt [Mon, 17 Apr 2017 19:44:59 +0000 (19:44 +0000)]
create a gross mechanism that can handle gcc-only, clang-only,
and gcc+clang architectures
with kettenis

7 years agoUse better types for checksum() parameters and local var from
krw [Mon, 17 Apr 2017 18:31:08 +0000 (18:31 +0000)]
Use better types for checksum() parameters and local var from
dhclient. Eliminate extra prototypes for checksum() and wrapsum().

7 years agoconsictently use .Dv NULL and a few other tweaks; ok schwarze@
otto [Mon, 17 Apr 2017 18:07:15 +0000 (18:07 +0000)]
consictently use .Dv NULL and a few other tweaks; ok schwarze@

7 years agodon't manipulate hdr.len, it's used internally by libutil now; ok florian@
otto [Mon, 17 Apr 2017 16:37:39 +0000 (16:37 +0000)]
don't manipulate hdr.len, it's used internally by libutil now; ok florian@

7 years agowhitespace fixes
otto [Mon, 17 Apr 2017 16:36:35 +0000 (16:36 +0000)]
whitespace fixes

7 years agodon't manipulate hdr.len, it's used internally by libutil now; ok florian@
otto [Mon, 17 Apr 2017 16:03:15 +0000 (16:03 +0000)]
don't manipulate hdr.len, it's used internally by libutil now; ok florian@

7 years agoChange build infrastructure to allow building both gcc and clang. This
kettenis [Mon, 17 Apr 2017 15:53:21 +0000 (15:53 +0000)]
Change build infrastructure to allow building both gcc and clang.  This
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.

ok jsg@, deraadt@

7 years agoRecognize nl_langinfo(CODESET) return values "646" and "" as aliases
schwarze [Mon, 17 Apr 2017 14:31:23 +0000 (14:31 +0000)]
Recognize nl_langinfo(CODESET) return values "646" and "" as aliases
for "US-ASCII", useful for different versions of NetBSD and Solaris.
Found by dtucker@ and by Tom G. Christensen <tgc at jupiterrise dot com>.
OK dtucker@ deraadt@

7 years agoTest syslogd(8) "last message repeated" feature and -r option.
bluhm [Mon, 17 Apr 2017 14:27:46 +0000 (14:27 +0000)]
Test syslogd(8) "last message repeated" feature and -r option.

7 years agoAdd syslogd(8) option -r to suppress the summary line for pipe and
bluhm [Mon, 17 Apr 2017 14:18:44 +0000 (14:18 +0000)]
Add syslogd(8) option -r to suppress the summary line for pipe and
remote loghost as they are most commonly used for automated log
processing.  With -rr the "last message repeated" feature can be
disabled completely.
OK sthen@ deraadt@ jmc@

7 years agotest display of long URIs
schwarze [Mon, 17 Apr 2017 13:29:20 +0000 (13:29 +0000)]
test display of long URIs

7 years agoimplement display of long .Lk URIs to match -Tascii
schwarze [Mon, 17 Apr 2017 13:26:30 +0000 (13:26 +0000)]
implement display of long .Lk URIs to match -Tascii

7 years agoSkip objc tests with clang.
kettenis [Mon, 17 Apr 2017 12:54:48 +0000 (12:54 +0000)]
Skip objc tests with clang.

7 years agoFix handling of trailing punctuation in .Lk.
schwarze [Mon, 17 Apr 2017 12:52:00 +0000 (12:52 +0000)]
Fix handling of trailing punctuation in .Lk.
This macro is unusual in so far as trailing punction needs to remain
inside the scope because it must be inside, not after the display
of long URIs in terminal output mode.
Improves formatting of fw_update(1), help(1), less(1), sendbug(1),
acx(4), inet6(4), ipsec(4), oce(4), isakmpd.conf(5), afterboot(8),
release(8), traceroute(8).

7 years agoChange COMPILER_VERSION tests which limited additional warnings to gcc4
jsg [Mon, 17 Apr 2017 11:02:31 +0000 (11:02 +0000)]
Change COMPILER_VERSION tests which limited additional warnings to gcc4
to instead skip them on gcc3 as clang can handle -Wpointer-sign and
-Wold-style-definition.

7 years agoWe need to update the ia6_updatetime when changing the vltime/pltime
florian [Mon, 17 Apr 2017 10:29:01 +0000 (10:29 +0000)]
We need to update the ia6_updatetime when changing the vltime/pltime
vio ioctl(2). Otherwise ifconfig shows the wrong times since
vltime/pltime are calculated from this value on export.

The handling of router advertisements does the right thing.
OK bluhm

7 years agoDon't bother moving the cursor for empty lines.
nicm [Mon, 17 Apr 2017 08:10:44 +0000 (08:10 +0000)]
Don't bother moving the cursor for empty lines.

7 years agoRemove a couple of redraw flags that no longer have any effect.
nicm [Mon, 17 Apr 2017 06:40:32 +0000 (06:40 +0000)]
Remove a couple of redraw flags that no longer have any effect.

7 years agoMemory leak, from David CARLIER.
nicm [Sun, 16 Apr 2017 20:33:46 +0000 (20:33 +0000)]
Memory leak, from David CARLIER.

7 years agoUse EL1 to clear lines when redrawing the leftmost pane, rather than
nicm [Sun, 16 Apr 2017 20:32:14 +0000 (20:32 +0000)]
Use EL1 to clear lines when redrawing the leftmost pane, rather than
spaces.

7 years agofrom brad: document rgephy
jmc [Sun, 16 Apr 2017 20:26:34 +0000 (20:26 +0000)]
from brad: document rgephy

7 years agoDisable colored diagnostics in LLVM's lld.
patrick [Sun, 16 Apr 2017 19:28:25 +0000 (19:28 +0000)]
Disable colored diagnostics in LLVM's lld.

Requested by deraadt@

7 years agoAccording to termcap(3), char PC, *BC, *UP need to be extern. Fixes an
tb [Sun, 16 Apr 2017 18:04:02 +0000 (18:04 +0000)]
According to termcap(3), char PC, *BC, *UP need to be extern. Fixes an
ld(1) error found by mestre a while ago.

fix suggested and ok naddy

7 years agoAlways evaluate expression in BUG_ON() macro to avoid unused variable
bluhm [Sun, 16 Apr 2017 17:16:21 +0000 (17:16 +0000)]
Always evaluate expression in BUG_ON() macro to avoid unused variable
warnings.  Makes non diagnostic kernel compile.
OK kettenis@

7 years agoMake sure these tests print "SKIPPED" if the necessary variables aren't set.
kettenis [Sun, 16 Apr 2017 16:59:53 +0000 (16:59 +0000)]
Make sure these tests print "SKIPPED" if the necessary variables aren't set.
The current code doesn't work since the magic .BEGIN target runs before
the regress target that prints "SKIPPED" and the .BEGIN target fails when
the variables aren't set.

ok bluhm@

7 years agosync
deraadt [Sun, 16 Apr 2017 16:17:23 +0000 (16:17 +0000)]
sync

7 years agoDefine EXT_IMPLICIT_NBIT like we do on sparc64 and mips64. Makes vaious
kettenis [Sun, 16 Apr 2017 16:14:37 +0000 (16:14 +0000)]
Define EXT_IMPLICIT_NBIT like we do on sparc64 and mips64.  Makes vaious
long double math stuff (including printf) actually work.

While there remove 'struct ieee_ldouble', which isn't defined on other
architectures.

ok deraadt@

7 years agoUse INT_MAX instead of SIZE_MAX as the maximum file size we can handle.
kettenis [Sun, 16 Apr 2017 16:04:48 +0000 (16:04 +0000)]
Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle.
Fixes this test on 64-bit architectures.

ok visa@

7 years agoDefine DEF_WEAK like we do for ld.so to fix building this with clang.
kettenis [Sun, 16 Apr 2017 16:01:05 +0000 (16:01 +0000)]
Define DEF_WEAK like we do for ld.so to fix building this with clang.

ok millert@, deraadt@

7 years agoMove comments into a block and uses {} to unconfuse reading.
deraadt [Sun, 16 Apr 2017 15:11:01 +0000 (15:11 +0000)]
Move comments into a block and uses {} to unconfuse reading.

7 years agoUse %zu to print a size_t.
kettenis [Sun, 16 Apr 2017 14:40:47 +0000 (14:40 +0000)]
Use %zu to print a size_t.

7 years agoReplace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h>
visa [Sun, 16 Apr 2017 14:28:07 +0000 (14:28 +0000)]
Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h>
to make the code more similar to sparc64's.

OK mpi@, guenther@, kettenis@

7 years agoFlip previously warm pages in the buffer cache to memory above the DMA
beck [Sun, 16 Apr 2017 14:25:42 +0000 (14:25 +0000)]
Flip previously warm pages in the buffer cache to memory above the DMA
region if uvm tells us it is available.
nits from deraadt@
ok krw@ guenther@ kettenis@

7 years agoStatistics for high memory flips in the buffer cache
beck [Sun, 16 Apr 2017 14:24:03 +0000 (14:24 +0000)]
Statistics for high memory flips in the buffer cache
nits from deraadt@
ok krw@ guenther@ kettenis@

7 years agoRemove some defines marked #ifdef notyet, which really is #ifdef notever.
kettenis [Sun, 16 Apr 2017 14:20:49 +0000 (14:20 +0000)]
Remove some defines marked #ifdef notyet, which really is #ifdef notever.
Reduces the diffs with other architectures.

7 years agoAlways return nonzero from _longjmp too.
kettenis [Sun, 16 Apr 2017 13:35:14 +0000 (13:35 +0000)]
Always return nonzero from _longjmp too.

ok jsg@

7 years agoRemove unused rnd_seed variable. Upstream made the same change 4 days ago.
kettenis [Sun, 16 Apr 2017 11:07:03 +0000 (11:07 +0000)]
Remove unused rnd_seed variable.  Upstream made the same change 4 days ago.
Fixes compiling this test using clang on arm64.

7 years agoremove -g from CFLAGS at florian's request
jsg [Sun, 16 Apr 2017 10:19:54 +0000 (10:19 +0000)]
remove -g from CFLAGS at florian's request

7 years agoDifferent compilers and versions of compilers have different warnings.
jsg [Sun, 16 Apr 2017 10:16:35 +0000 (10:16 +0000)]
Different compilers and versions of compilers have different warnings.
Remove -Werror to give code a greater chance of building.

ok deraadt@ florian@

7 years agoRemove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
ajacoutot [Sun, 16 Apr 2017 08:50:49 +0000 (08:50 +0000)]
Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@

7 years agobackout previous, data_len is not always initialized
otto [Sun, 16 Apr 2017 06:26:55 +0000 (06:26 +0000)]
backout previous, data_len is not always initialized

7 years agoRemove -Werror to make dhcrelay6 on gcc3 architecture successfully.
aoyama [Sun, 16 Apr 2017 00:52:54 +0000 (00:52 +0000)]
Remove -Werror to make dhcrelay6 on gcc3 architecture successfully.

ok reyk

7 years agoBuild sparc64 kernels with -ffreestanding.
kettenis [Sat, 15 Apr 2017 18:58:45 +0000 (18:58 +0000)]
Build sparc64 kernels with -ffreestanding.