Commit Graph

216869 Commits

Author SHA1 Message Date
dsl
41b0a909cc When using the response to SYST to decide whether to default to 'binary'
be a lot less specific.
Kyocera printers report "230 Linux" but really don't want text transfers
of pdf files!
2013-02-19 23:29:15 +00:00
skrll
5933558776 Fix typo. Hi matt. 2013-02-19 22:54:03 +00:00
pgoyette
ab7a59749e Replace printf() in child process with a simple write(STDERR_FILNO,...)
Thanks, Joerg.
2013-02-19 22:44:27 +00:00
matt
b97afb49aa fix C&P error 2013-02-19 21:16:26 +00:00
joerg
94bcefa490 Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
joerg
4a5bd22048 Replace NETBSDSRCDIR with .PARSEDIR based logic here. bsd.own.mk is
included too early in the tools build, but not including it fails for
standalaone builds.
2013-02-19 18:02:41 +00:00
christos
b078433469 PR/47577: Steffen "Daode" Nurpmeso: Keep a resolved folder name together
with a display name in order to keep track of current state when the directory
is changed.
2013-02-19 17:43:32 +00:00
matt
9d02ba995e More Cortina CS75xx files. 2013-02-19 16:12:36 +00:00
matt
bbf7256078 Start of Cortina CS75xx support. 2013-02-19 16:07:23 +00:00
phx
fd320b596a Implement real hardware power-off for DSM-G600 using the "ZWC" command.
It seems that not all microcontrollers support the command, though, so
the old solution to flash the power LED is still present as a fallback.
2013-02-19 15:58:19 +00:00
jmmv
2ff3d6baf3 Fix atf version in pkgconfig files (should be 0.17).
Keeping these files up to date with every new import is too easy to get
wrong.  Would be nice if we'd extract the version number in some other
manner, like from lib/libatf-c/bconfig.h.

Found by martin@.
2013-02-19 15:35:42 +00:00
jmmv
e06d860d40 Auto-generate the top-level Atffile.
This fixes a problem in MKKYUA=no builds in which the kyua-testers
subdirectory in /usr/tests was created unconditionally and atf-run was
confused because such subdirectory didn't have an Atffile of its own.
(Due to the way our directory creation and file lists work, I'm not
sure it's possible to just not "install" the empty directory.  But
that'd be an alternative to this.)

Auto-generating the Atffile causes it to only list the subdirectories
listed by the Makefile, which can vary depending on various MK* options.

Problem found by martin@.
2013-02-19 15:30:07 +00:00
macallan
4e198487fa fix a bunch of _IO() ioctl()s to actually work on LP64/BE
( the data pointer is abused to pass an integer, we get a pointer to it so
  we need to deref it to something the same size as a pointer to get the
  correct value )
now the PCVT compat code ( which is used for VT switching in and out of X )
works on sparc64
2013-02-19 15:21:08 +00:00
joerg
c1d816d5fd Update LLVM/Clang snapshot to r175373. This improves GNU as
compatibility.
2013-02-19 12:35:41 +00:00
martin
b6d45f2118 Stopgap fix to make rump cooperate with pserialize, may be revisited later.
Patch from pooka, ok: rmind. No related regressions in a complete atf test
run (which works again with this, even on non x86 SMP machines).
2013-02-19 11:20:17 +00:00
skrll
150d8d05ea Oops. Didn't mean to commit this with previous. 2013-02-19 10:58:35 +00:00
skrll
5c97965224 Add support for the ARM Integrator/CP from Sergio López.
The code hasn't been tested on real hardware, but INTEGRATOR_CP config
is useful for QEMU which supports it.
2013-02-19 10:57:09 +00:00
martin
7587f0bb0d Stopgap fix to make rump cooperate with pserialize, may be revisited later.
Patch from pooka, ok: rmind. No related regressions in a complete atf test
run (which works again with this, even on non x86 SMP machines).
2013-02-19 09:04:53 +00:00
jmmv
9093b029d2 Note import of kyua-testers, version 0.1. 2013-02-19 06:06:53 +00:00
jmmv
dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv
6de51c519f Add reachover build files for kyua-testers. 2013-02-19 06:04:42 +00:00
jmmv
754f425fc2 Initial import of Kyua Testers, version 0.1:
This is a component of Kyua and its build will be guarded by the MKKYUA
knob.  core@ has approved this import.

Description:

Kyua (pronounced Q.A.) is a testing framework for both developers and
users.  Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else.  There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.

This module, kyua-testers, provides scriptable interfaces to interact
with test programs of various kinds.  The interface of such testers
allows the caller to execute a single test case of a single test program
in a controlled and homogeneous manner.
2013-02-19 06:01:39 +00:00
pgoyette
a3217a378f Rather than just sleeping and hoping that all the sub-processes are
ready to be ptrace()d, use a positive barrier.
2013-02-19 04:58:40 +00:00
pgoyette
7dec801027 White-space in for(...) loops.
Use #define instead of static variables to define test parameters.
No functional change.
2013-02-19 04:46:46 +00:00
pgoyette
593938d6da Create a variable for max number of passes to make. While we're here,
reduce the pass-count from 100 to 50;  this is more than enough to prove
that the test is working, and helps reduce the ever-increasing time it's
taking to run the entire test suite.
2013-02-19 03:22:54 +00:00
matt
39b128d4f6 Use the coherent dma_ranges in the bounce dmatag but only use the first one. 2013-02-19 02:30:55 +00:00
matt
efac7af857 As with pax, use cf_flags 2 to indicate to use the bounce dma tag. 2013-02-19 02:18:29 +00:00
matt
0c3792adcc Add a bounce dmatag which only has the coherent memory region.
The coherent dmatag now always has all of memory (both coherent and normal
memory).
2013-02-19 02:15:17 +00:00
matt
1357517a46 Turn on BUSDMA_COUNTERS and BCMETH_COUNTERS.
Add a commented out options for MEMSIZE=256
2013-02-19 02:04:24 +00:00
matt
5b76a48281 Use a bit in cf_flags to decide whether to use bounce buffers or not. 2013-02-19 02:03:06 +00:00
matt
df3eb7071f Add KERNHIST_CALLARGS and make the delay tunable (KERNHIST_DELAY) 2013-02-19 00:56:25 +00:00
pgoyette
2fde625529 Wait a little bit after fork()ing the lockers to give them a chance to
get started before trying to ptrace(ATTACH).  Otherwise, the traced
process doesn't seem to resume properly upon ptrace(DETACH) and on the
next pass the ptrace(ATTACH) just hangs forever, causing the test to
time-out.

XXX The failure-to-resume-properly might actually be a kernel bug that
we need to follow up on.  But for now, let's make the test work as
intended.
2013-02-19 00:54:47 +00:00
rmind
e9a253f3c1 npftest/npf_blockall_rule: set NPF_RULE_DYNAMIC flag for the test rule. 2013-02-18 23:09:20 +00:00
riastradh
6641d1f9ad Touch e_aes.c to force a rebuild with new compiler flags for AES-NI. 2013-02-18 21:20:50 +00:00
riastradh
249c85457d Fix build goo for OpenSSL AES-NI support.
OpenSSL now supports AES-NI in evp, not in an engine.  We can now get
rid of the no longer maintained aesni engine, which was broken last
summer.  Not only can OpenSSL now use AES-NI for everything it did
before we broke it last summer, but it can also use AES-NI for more
encryption modes than before, such as CTR.

Tested on amd64, both vanilla and in an i386 chroot.

ok christos
2013-02-18 21:15:25 +00:00
pgoyette
706bd0b309 Check that we did get EDEADLK error, and fail immediately if we did not. 2013-02-18 20:59:19 +00:00
joerg
6936a0d356 Explicitly include bsd.own.mk to allow building without tool make. 2013-02-18 20:30:16 +00:00
oster
d7d363d3a7 Fix a few spelling issues. No functional changes. 2013-02-18 19:42:54 +00:00
christos
906f8f1a0a PR/47576: Takahiro HAYASHI: Avoid crash destroying tap0 after deleting
it's link-local address.
2013-02-18 16:45:50 +00:00
matt
5ad8a9e05d Disable when using extended MMU support. 2013-02-18 16:03:25 +00:00
gdt
aa97bfb53f Adjust blank lines. Add comment about missing DPADD for -lz. 2013-02-18 15:32:02 +00:00
gdt
7c713e5631 Adjust blank lines, add comment about DPADD 2013-02-18 15:29:36 +00:00
matt
61df3e45d2 Supply VM_PROT_EXECUTE to pmap_fault_fixup when trying to fixup prefetch
aborts.
2013-02-18 05:14:13 +00:00
christos
077ff08983 Use sort -s to get a stable sort, even if that is the default for ours. We
prolly need a TOOL_SORT...
2013-02-18 00:22:13 +00:00
christos
33dedf2c47 only do the keep last in update builds and explain why. 2013-02-18 00:00:55 +00:00
christos
656c32c03e keep only the last entry for each file, before sorting. 2013-02-17 23:56:52 +00:00
jmcneill
6d1c375231 gzcat -> zcat 2013-02-17 20:49:16 +00:00
christos
c6cdafa088 Don't use DPADD for HOST build. 2013-02-17 20:36:01 +00:00
stacktic
aa56b207c5 Regen to add lstat64 2013-02-17 15:17:40 +00:00
pgoyette
17514df881 Fix same typo in the other file in which it occurs 2013-02-17 13:39:51 +00:00