openbsd
7 years agoRewrite regress sendsrcaddr so that is uses UDP sockets on localhost,
bluhm [Tue, 11 Jul 2017 00:25:19 +0000 (00:25 +0000)]
Rewrite regress sendsrcaddr so that is uses UDP sockets on localhost,
does not try to connect to google and avoids BPF programming.

7 years agomake malloc(9) mpsafe by using a mutex instead of splvm.
dlg [Mon, 10 Jul 2017 23:49:10 +0000 (23:49 +0000)]
make malloc(9) mpsafe by using a mutex instead of splvm.

this is almost a straightforward change of spl ops with mutex ops,
except the accounting has been shuffled around. memory is counted
as used before an attempt to allocate it from uvm is made to prevent
overcommitting memory. this is modelled on how pools limit allocations.

the uvm bits have been eyeballed by kettenis@ who says they should be safe.
visa@ found some nits which have been fixed.

tested by chris@ and amit kulkarni
ok kettenis@ visa@ mpi@

7 years agoFix non-portable .Lk usage that results in complete garbage with groff
schwarze [Mon, 10 Jul 2017 22:48:00 +0000 (22:48 +0000)]
Fix non-portable .Lk usage that results in complete garbage with groff
and looks better, but still not good with mandoc.
Issue pointed out by Jan Stary <hans at stare dot cz>.

7 years agoprefer getprogname to the magic global __progname.
tedu [Mon, 10 Jul 2017 21:39:38 +0000 (21:39 +0000)]
prefer getprogname to the magic global __progname.
from Matthew Martin

7 years agoif there are no changes for kevent, pass in NULL instead.
tedu [Mon, 10 Jul 2017 21:37:26 +0000 (21:37 +0000)]
if there are no changes for kevent, pass in NULL instead.
this has no effect except to make ktrace output prettier.
ok bluhm mpi

7 years agoremove misc. depend and yacc nits that no longer matter.
espie [Mon, 10 Jul 2017 21:30:37 +0000 (21:30 +0000)]
remove misc. depend and yacc nits that no longer matter.
okay millert@

7 years agozap depend ghost.
espie [Mon, 10 Jul 2017 19:52:09 +0000 (19:52 +0000)]
zap depend ghost.
add a comment explaining why keywords.h is in the source tree even though
it's exactly what keywords.sh generates, so that people don't try adding
the generating rule again.

okay millert@

7 years agold.so and nfs regress were using PROGS variable before it was added
bluhm [Mon, 10 Jul 2017 18:56:23 +0000 (18:56 +0000)]
ld.so and nfs regress were using PROGS variable before it was added
to bsd.prog.mk.  Remove local additions and use global rules.

7 years agoThe libtool regress used PROGS as a regular variable. Rename it
bluhm [Mon, 10 Jul 2017 18:48:37 +0000 (18:48 +0000)]
The libtool regress used PROGS as a regular variable.  Rename it
to avoid the new special meaning in bsd.prog.mk.

7 years agoTake some of the mystery out of who does what by
krw [Mon, 10 Jul 2017 17:13:24 +0000 (17:13 +0000)]
Take some of the mystery out of who does what by
renaming "if_register_bpf()" to "get_bpf_sock()",
"if_register_send()" to "get_udp_sock()" and
"if_register_receive()" to "configure_bpf_sock()".

Pull back interface_info knowledge and just pass
the interface name, rdomain and bpf socket fd as
required.

7 years agoUpdate BUGS.
visa [Mon, 10 Jul 2017 16:31:29 +0000 (16:31 +0000)]
Update BUGS.

7 years agoKeep refusing SDIO initialization. The driver cannot work properly
visa [Mon, 10 Jul 2017 16:17:51 +0000 (16:17 +0000)]
Keep refusing SDIO initialization. The driver cannot work properly
with SDIO because it does not handle card interrupts.

7 years agoSwitch sample path for black/whitelist files from /var/mail (which is meant to
sthen [Mon, 10 Jul 2017 15:42:46 +0000 (15:42 +0000)]
Switch sample path for black/whitelist files from /var/mail (which is meant to
be for mailboxes) to /etc/mail. Fritjof Bornebusch reported that security(8)
complains about files in /var/mail and suggested a subdirectory, but /etc
seems a better idea all-round, and matches hier(7).  ok jmc@

7 years agoUse ioctlfd/routefd sockets rather than rolling one's own
krw [Mon, 10 Jul 2017 14:11:47 +0000 (14:11 +0000)]
Use ioctlfd/routefd sockets rather than rolling one's own
for resolving 'egress' and adding a route. Move creation
of main()'s ioctlfd up so it can be used for the
'egress' resolution.

7 years agozap redundant Makefile variables.
espie [Mon, 10 Jul 2017 14:09:59 +0000 (14:09 +0000)]
zap redundant Makefile variables.
okay djm@

7 years agotwo minor tweaks and two minor fixes; OK espie@
schwarze [Mon, 10 Jul 2017 11:25:44 +0000 (11:25 +0000)]
two minor tweaks and two minor fixes; OK espie@

7 years agoTest if an acct file exists before trying to rename it. This silences
bluhm [Mon, 10 Jul 2017 11:18:48 +0000 (11:18 +0000)]
Test if an acct file exists before trying to rename it.  This silences
false warnings in the frist three daily mails after process accounting
has been turned on.
from Raf Czlonka

7 years agoone more instance of the previous commit; also initialize ->offset to a
otto [Mon, 10 Jul 2017 09:44:16 +0000 (09:44 +0000)]
one more instance of the previous commit; also initialize ->offset to a
definite value in the size == 0 case

7 years agore-add unintentionally removed cleandir part that rm tags from the .CURDIR
espie [Mon, 10 Jul 2017 07:59:00 +0000 (07:59 +0000)]
re-add unintentionally removed cleandir part that rm tags from the .CURDIR

7 years agoThinko. It's called BUILDAFTER
espie [Mon, 10 Jul 2017 07:51:37 +0000 (07:51 +0000)]
Thinko. It's called BUILDAFTER
"noticed" by Ingo.

7 years agoSet XSRCDIR to /usr/xenocara if it's not defined. Matches what
ajacoutot [Mon, 10 Jul 2017 07:28:26 +0000 (07:28 +0000)]
Set XSRCDIR to /usr/xenocara if it's not defined. Matches what
/usr/X11R6/share/mk/bsd.xorg.mk does.

ok robert@

7 years agoAlso check for NUL termination at the first character of tstr in
bluhm [Mon, 10 Jul 2017 07:10:29 +0000 (07:10 +0000)]
Also check for NUL termination at the first character of tstr in
the error path of VarModifiers_Apply().  This prevents a sporadic
crash in make's regress target t41.
OK espie@

7 years agoreplace Fifos with FIFOs.
dlg [Mon, 10 Jul 2017 06:38:07 +0000 (06:38 +0000)]
replace Fifos with FIFOs.

ok jmc@ visa@

7 years agoReplace codepatch nopsleds with trapsleds.
mortimer [Mon, 10 Jul 2017 00:59:24 +0000 (00:59 +0000)]
Replace codepatch nopsleds with trapsleds.
ok sf@ mlarkin@
suggested by deraadt@

7 years agoUse a modern spacious idiom on all function local variable
krw [Mon, 10 Jul 2017 00:47:47 +0000 (00:47 +0000)]
Use a modern spacious idiom on all function local variable
declarations.

7 years agoMake pkg-config regress tests pass:
bluhm [Sun, 9 Jul 2017 22:43:07 +0000 (22:43 +0000)]
Make pkg-config regress tests pass:
- Allow to override PKG_CONFIG and check correct place in logfile.
- Replace "if ...; then false; fi" with a simple ! .
- Remove comments about failing test which do not fail.
- Adapt regress to changes in pkg-config rev 1.64 and 1.72 regarding
  static and missing tests.
OK jasper@

7 years agoSome extra logging to show why tmux might exit.
nicm [Sun, 9 Jul 2017 22:33:09 +0000 (22:33 +0000)]
Some extra logging to show why tmux might exit.

7 years agoBe consistent. "return (e);" -> "return e;"
krw [Sun, 9 Jul 2017 21:29:19 +0000 (21:29 +0000)]
Be consistent. "return (e);" -> "return e;"

7 years agoremove redundant variable declarations in Makefiles, since those are
espie [Sun, 9 Jul 2017 21:23:18 +0000 (21:23 +0000)]
remove redundant variable declarations in Makefiles, since those are
the default.

okay millert@

7 years agoBe consistent. "return (e);" -> "return e;"
krw [Sun, 9 Jul 2017 19:19:58 +0000 (19:19 +0000)]
Be consistent. "return (e);" -> "return e;"

7 years agoSome parsing code cleanup: add parse_boolean(); pass literal format
krw [Sun, 9 Jul 2017 18:45:27 +0000 (18:45 +0000)]
Some parsing code cleanup: add parse_boolean(); pass literal format
chars to parse_decimal() instead of less obvious *fmt; refactor
to eliminate need for the 'alloc:' and 'bad_flag:' labels and the
invidious backwards goto's to them.

7 years agodocument PROGS, okay jmc@
espie [Sun, 9 Jul 2017 18:28:44 +0000 (18:28 +0000)]
document PROGS, okay jmc@

7 years agodocument more reality.
espie [Sun, 9 Jul 2017 17:17:46 +0000 (17:17 +0000)]
document more reality.
proper english usage and okay jmc@

7 years agouse working boilerplate for yacc/lex instead of homemade rules.
espie [Sun, 9 Jul 2017 15:32:09 +0000 (15:32 +0000)]
use working boilerplate for yacc/lex instead of homemade rules.
okay millert@
(forgot the obvious scanner.l tweak in my diff)

7 years agoadd support to compile several progs at once us
espie [Sun, 9 Jul 2017 15:29:52 +0000 (15:29 +0000)]
add support to compile several progs at once us
by using alternate setup
PROGS = a b c along with SRCS_a = ... , SRCS_b = ... , SRCS_c = ...

okay millert@

7 years agozap empty depends/silence empty installs.
espie [Sun, 9 Jul 2017 15:28:34 +0000 (15:28 +0000)]
zap empty depends/silence empty installs.
okay millert@

7 years agothere's no need to fork/exec to execute comments
espie [Sun, 9 Jul 2017 15:28:00 +0000 (15:28 +0000)]
there's no need to fork/exec to execute comments
okay millert@

7 years agohave bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate
espie [Sun, 9 Jul 2017 14:04:50 +0000 (14:04 +0000)]
have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediate
files. This fixes up parallel builds in the default case.
FreeBSD does something similar.

okay millert@

7 years agoWhitespace tweaks to assuage auto-indent.
krw [Sun, 9 Jul 2017 12:38:47 +0000 (12:38 +0000)]
Whitespace tweaks to assuage auto-indent.

7 years agoIgnore prefixes with a pltime < ND6_PRIV_MAX_DESYNC_FACTOR seconds
florian [Sun, 9 Jul 2017 09:00:56 +0000 (09:00 +0000)]
Ignore prefixes with a pltime < ND6_PRIV_MAX_DESYNC_FACTOR seconds
(512 in our case) for privacy addresses as per RFC 4941.

7 years agoIf we lower the pltime for privacy addresses skew it by
florian [Sun, 9 Jul 2017 08:41:47 +0000 (08:41 +0000)]
If we lower the pltime for privacy addresses skew it by
ND6_PRIV_MAX_DESYNC_FACTOR like RFC 4941 tells us to.
Toss in a arc4random_uniform for good measure like the kernel always
did.

7 years agoRemove old junk. From Matthew Martin
tb [Sun, 9 Jul 2017 08:33:11 +0000 (08:33 +0000)]
Remove old junk. From Matthew Martin

ok bentley

7 years agovmd/vmctl: Add ability to pause / unpause vms
pd [Sun, 9 Jul 2017 00:51:40 +0000 (00:51 +0000)]
vmd/vmctl: Add ability to pause / unpause vms

With help from Ashwin Agrawal

ok reyk@ mlarkin@

7 years agothis program was infected with lint era casts. i think we're past that now.
tedu [Sat, 8 Jul 2017 22:27:17 +0000 (22:27 +0000)]
this program was infected with lint era casts. i think we're past that now.

7 years agoremove ARGSUSED, from Scott Cheloha.
tedu [Sat, 8 Jul 2017 22:22:04 +0000 (22:22 +0000)]
remove ARGSUSED, from Scott Cheloha.
and while we're cleaning, switch __progname to getprogname.

7 years agouse crypt_newhash to protect the password. from Scott Cheloha
tedu [Sat, 8 Jul 2017 22:19:23 +0000 (22:19 +0000)]
use crypt_newhash to protect the password. from Scott Cheloha

7 years agoclean up some unused variables. also, making a variable global isn't the
tedu [Sat, 8 Jul 2017 22:14:48 +0000 (22:14 +0000)]
clean up some unused variables. also, making a variable global isn't the
best way to zero initialize it if that's all you need.

7 years agoinstead of using time(), refer to getitimer to find out how long the
tedu [Sat, 8 Jul 2017 22:07:39 +0000 (22:07 +0000)]
instead of using time(), refer to getitimer to find out how long the
timeout is.
from Scott Cheloha

7 years agocan just continue after readpassphrase returns null, the sighandler will
tedu [Sat, 8 Jul 2017 22:01:09 +0000 (22:01 +0000)]
can just continue after readpassphrase returns null, the sighandler will
have already printed a message.
from Scott Cheloha

7 years agoupdate the little endian processor list to give it a chance of matching
tedu [Sat, 8 Jul 2017 21:45:35 +0000 (21:45 +0000)]
update the little endian processor list to give it a chance of matching
what the reader is using.

7 years agoUnhook tables.c from Makefile.
krw [Sat, 8 Jul 2017 20:40:42 +0000 (20:40 +0000)]
Unhook tables.c from Makefile.

7 years agoFold tables.c into options.c and stop exporting the one
krw [Sat, 8 Jul 2017 20:38:31 +0000 (20:38 +0000)]
Fold tables.c into options.c and stop exporting the one
table (dhcp_options) involved. Provide functions
code_to_name(), name_to_code(), code_to_format() and
replace direct access to dhcp_options with them. Eliminate
unneeded 'struct option'.

Unhook tables.c from Makefile.

7 years agoRemove duplicate typedesf that are now provided by linux_types.h.
kettenis [Sat, 8 Jul 2017 19:36:58 +0000 (19:36 +0000)]
Remove duplicate typedesf that are now provided by linux_types.h.

7 years agoslightly rework previous, to avoid an article issue;
jmc [Sat, 8 Jul 2017 18:32:54 +0000 (18:32 +0000)]
slightly rework previous, to avoid an article issue;

7 years agospelling fix from Hiltjo Posthuma
tedu [Sat, 8 Jul 2017 17:52:44 +0000 (17:52 +0000)]
spelling fix from Hiltjo Posthuma

7 years agoSimplify by creating struct roff_node syntax tree nodes for tbl(7)
schwarze [Sat, 8 Jul 2017 17:52:42 +0000 (17:52 +0000)]
Simplify by creating struct roff_node syntax tree nodes for tbl(7)
right from roff_parseln() rather than delegating to read.c,
similar to what i just did for eqn(7).

The interface function roff_span() becomes obsolete and is deleted,
the former interface function roff_addtbl() becomes static,
the interface functions tbl_read() and tbl_cdata() become void,
and minus twelve linus of code.

No functional change.

7 years agoConsistently use if ((option & F_FOO) && (option & F_BAR)) instead of
florian [Sat, 8 Jul 2017 16:22:29 +0000 (16:22 +0000)]
Consistently use if ((option & F_FOO) && (option & F_BAR)) instead of
if (option & F_FOO && option & F_BAR).

Prompted by a reverse diff from Klemens Nanni. Both forms are
equivalent due to operator precedence, I consider the later to be
easier on the eyes.

7 years agoConsistently use if (option & F_FOO); from Klemens Nanni, thanks!
florian [Sat, 8 Jul 2017 16:21:51 +0000 (16:21 +0000)]
Consistently use if (option & F_FOO); from Klemens Nanni, thanks!

7 years agoEnable slaacd on the installer and temporarily neuter router
florian [Sat, 8 Jul 2017 15:45:11 +0000 (15:45 +0000)]
Enable slaacd on the installer and temporarily neuter router
advertisement processing and solicitation sending like we already did
for the non-install kernels.

Next step will be to tedu all that code from the kernel.

OK rpe@ for the installer bits
move forward deraadt@

7 years agohook up slaacd to the installer on media where we have INET6
florian [Sat, 8 Jul 2017 15:42:46 +0000 (15:42 +0000)]
hook up slaacd to the installer on media where we have INET6

7 years ago_slaacd user/group for installer
florian [Sat, 8 Jul 2017 15:41:25 +0000 (15:41 +0000)]
_slaacd user/group for installer
move forward deraadt@

7 years agoslaacd needs libevent on the ramdisk
florian [Sat, 8 Jul 2017 15:40:29 +0000 (15:40 +0000)]
slaacd needs libevent on the ramdisk
move forward deraadt@

7 years agoIncrease size to make slaacd fit.
florian [Sat, 8 Jul 2017 15:39:11 +0000 (15:39 +0000)]
Increase size to make slaacd fit.
Size problem noted by me, correct fix from deraadt@

7 years agofix an assertion failure triggered by .ce in next-line scope;
schwarze [Sat, 8 Jul 2017 15:28:05 +0000 (15:28 +0000)]
fix an assertion failure triggered by .ce in next-line scope;
found by jsg@ with afl(1)

7 years agoAlways use strcasecmp() when comparing user input to option
krw [Sat, 8 Jul 2017 15:26:27 +0000 (15:26 +0000)]
Always use strcasecmp() when comparing user input to option
names, not just 2 out of 3.

7 years ago1. Eliminate struct eqn, instead use the existing members
schwarze [Sat, 8 Jul 2017 14:51:01 +0000 (14:51 +0000)]
1. Eliminate struct eqn, instead use the existing members
of struct roff_node which is allocated for each equation anyway.
2. Do not keep a list of equation parsers, one parser is enough.
Minus fifty lines of code, no functional change.

7 years ago- For RTL8188CUS/RTL8192CU, we have to force 8051 reset/enable before waiting
kevlo [Sat, 8 Jul 2017 14:26:23 +0000 (14:26 +0000)]
- For RTL8188CUS/RTL8192CU, we have to force 8051 reset/enable before waiting
  for firmware to get ready.  It fixes "urtwn0: could not load firmware page"
  while running stsp@'s script: dhclient urtwn0; ifconfig urtwn0 down;
  ifconfig urtwn0 scan in a loop.

- Minor cleanup for rtwn_read_rom()/rtwn_get_txpower(); no need to use
  callbacks.

Tested by stsp@ and me.

ok stsp@

7 years agoCorrectly handle horizontal spans at the beginning of rows,
schwarze [Sat, 8 Jul 2017 13:43:09 +0000 (13:43 +0000)]
Correctly handle horizontal spans at the beginning of rows,
fixing an assertion failure found by jsg@ with afl(1).

While here, also drop printing of whitespace in tbl_data()
which makes no difference because column positioning code
in term_tbl() already takes care of that.

7 years agofix typo in comment
tb [Sat, 8 Jul 2017 13:37:23 +0000 (13:37 +0000)]
fix typo in comment

from Hiltjo Posthuma

7 years agoRevert grabbing the socket lock in kqueue filters.
mpi [Sat, 8 Jul 2017 09:19:02 +0000 (09:19 +0000)]
Revert grabbing the socket lock in kqueue filters.

It is unsafe to sleep while iterating the list of pending events in
kqueue_scan().

Reported by abieber@ and juanfra@

7 years agoadd a hint about subjectAltName. this isn't great, but i'm not sure how
tedu [Sat, 8 Jul 2017 02:13:36 +0000 (02:13 +0000)]
add a hint about subjectAltName. this isn't great, but i'm not sure how
to improve it without muddying up the whole page, and at a minimum it
gives the reader a clue about some concepts to search the web for.
if you can do better, make it so. :)

7 years agoAlways use uintNN_t instead of sometimes u_intNN_t
krw [Sat, 8 Jul 2017 00:36:10 +0000 (00:36 +0000)]
Always use uintNN_t instead of sometimes u_intNN_t
and sometimes uintNN_t.

7 years agoRun malloc0test with all possible malloc options.
bluhm [Sat, 8 Jul 2017 00:08:26 +0000 (00:08 +0000)]
Run malloc0test with all possible malloc options.

7 years agoRemove all references to "make depend" from regress.
bluhm [Fri, 7 Jul 2017 23:55:21 +0000 (23:55 +0000)]
Remove all references to "make depend" from regress.

7 years agoRemove useless make depend targets.
bluhm [Fri, 7 Jul 2017 23:15:27 +0000 (23:15 +0000)]
Remove useless make depend targets.

7 years agogarbage collect unused enum member EQN_ROOT
schwarze [Fri, 7 Jul 2017 19:39:17 +0000 (19:39 +0000)]
garbage collect unused enum member EQN_ROOT

7 years agoOnly access offset if canaries are enabled *and* size > 0, otherwise offset
otto [Fri, 7 Jul 2017 19:14:46 +0000 (19:14 +0000)]
Only access offset if canaries are enabled *and* size > 0, otherwise offset
is not initialized. Problem spotted by Carlin Bingham; ok phessler@ tedu@

7 years agoadd parentheses to the output where required for disambiguation
schwarze [Fri, 7 Jul 2017 19:06:15 +0000 (19:06 +0000)]
add parentheses to the output where required for disambiguation

7 years agoYou win some, you los some. The Linux 4.4 code is still sub-standard but
kettenis [Fri, 7 Jul 2017 18:06:51 +0000 (18:06 +0000)]
You win some, you los some.  The Linux 4.4 code is still sub-standard but
triggers different warnings now.

ok naddy@

7 years agoHandle carp(4) as HTYPE_ETHER.
reyk [Fri, 7 Jul 2017 17:25:09 +0000 (17:25 +0000)]
Handle carp(4) as HTYPE_ETHER.

This fixes "dhcrelay -i carpX" that used to work when dhcrelay didn't care.

Reported and tested by Kapetanakis Giannis bilias at edu.physics.uoc.gr

7 years agosimplify the eqn_box_makebinary() function by removing the trivial pos
schwarze [Fri, 7 Jul 2017 17:15:21 +0000 (17:15 +0000)]
simplify the eqn_box_makebinary() function by removing the trivial pos
parameter; also minus two lines of code; no functional change

7 years agoReplace the many occurances of '256' with a new #define
krw [Fri, 7 Jul 2017 16:58:45 +0000 (16:58 +0000)]
Replace the many occurances of '256' with a new #define
DHO_COUNT.

7 years agoDisable tests that fail due to known make bugs, fix the others.
bluhm [Fri, 7 Jul 2017 16:31:37 +0000 (16:31 +0000)]
Disable tests that fail due to known make bugs, fix the others.

7 years agoclarify which httpd we are talking about;
schwarze [Fri, 7 Jul 2017 16:30:06 +0000 (16:30 +0000)]
clarify which httpd we are talking about;
from Raf Czlonka <rczlonka at gmail dot com>

7 years agoFix size of rightmost preview section.
nicm [Fri, 7 Jul 2017 16:27:26 +0000 (16:27 +0000)]
Fix size of rightmost preview section.

7 years agoReplace a doubled period and add a blank space in front of a bracket.
tb [Fri, 7 Jul 2017 16:21:34 +0000 (16:21 +0000)]
Replace a doubled period and add a blank space in front of a bracket.
From Klemens Nanni

ok rpe

7 years agoRadically simplify the definitions what the message levels ERROR
schwarze [Fri, 7 Jul 2017 16:19:30 +0000 (16:19 +0000)]
Radically simplify the definitions what the message levels ERROR
and WARNING mean: minus 20 lines of mdoc source.  OK jmc@.

7 years agodispatch_imsg() only needs to know name and rdomain.
krw [Fri, 7 Jul 2017 15:39:30 +0000 (15:39 +0000)]
dispatch_imsg() only needs to know name and rdomain.

No more struct interface_info knowledge in privsep.[ch]

7 years agoassemble_eh_header() needs only to know about hw_addr.
krw [Fri, 7 Jul 2017 15:14:47 +0000 (15:14 +0000)]
assemble_eh_header() needs only to know about hw_addr.

No more struct interface_info knowledge in packet.c

7 years agoRename cons_options() to pack_options(), and do_packet() to
krw [Fri, 7 Jul 2017 14:53:06 +0000 (14:53 +0000)]
Rename cons_options() to pack_options(), and do_packet() to
unpack_options(). Store the unpacked options in a static
variable. Move remaining raw packet processing from unpack_options()
to packethandler().

No more struct interface_info knowledge in options.c

7 years agoAdd logic for running SD commands. Tested with a few different makes
visa [Fri, 7 Jul 2017 14:49:04 +0000 (14:49 +0000)]
Add logic for running SD commands. Tested with a few different makes
of MMC/SD memory.

7 years agoAdd a pane_pipe format to show if pipe-pane is active, GitHub issue 990.
nicm [Fri, 7 Jul 2017 14:39:45 +0000 (14:39 +0000)]
Add a pane_pipe format to show if pipe-pane is active, GitHub issue 990.

7 years agotrigger default .l.o rule and check the produced file has the right name
espie [Fri, 7 Jul 2017 14:12:43 +0000 (14:12 +0000)]
trigger default .l.o  rule and check the produced file has the right name

7 years agoCOMPILE.c already does -c, so no need to double it.
espie [Fri, 7 Jul 2017 14:11:07 +0000 (14:11 +0000)]
COMPILE.c already does -c, so no need to double it.
no functional change

7 years agounbreak
espie [Fri, 7 Jul 2017 13:44:45 +0000 (13:44 +0000)]
unbreak
this specific rule is only triggered twice in the whole ports tree
(sysutils/xjobs and print/l2a)

This fixes them

7 years agowe're not shooting yacception
espie [Fri, 7 Jul 2017 12:41:59 +0000 (12:41 +0000)]
we're not shooting yacception

okay millert@

7 years agoMake libtool regress tests pass:
bluhm [Fri, 7 Jul 2017 10:56:13 +0000 (10:56 +0000)]
Make libtool regress tests pass:
- There are no NOPIC architectures anymore.
- Add DISABLED targets for tests failing intensionally without
  touching the real targets.
- In execute mode libtool command line must use ./p2 as .  is not
  in my PATH.
OK mpi@ espie@

7 years agoMake mmap_hint.c compile on i386 by adding includes. Unfortunately
bluhm [Fri, 7 Jul 2017 10:49:12 +0000 (10:49 +0000)]
Make mmap_hint.c compile on i386 by adding includes.  Unfortunately
test is still failing.

7 years agoFix function name in panic message.
visa [Fri, 7 Jul 2017 10:04:43 +0000 (10:04 +0000)]
Fix function name in panic message.

7 years agoMake configuration lines match GENERIC files.
fcambus [Fri, 7 Jul 2017 09:15:59 +0000 (09:15 +0000)]
Make configuration lines match GENERIC files.

This adds amd64 and splits up alpha and i386.

OK deraadt@