241823 Commits

Author SHA1 Message Date
ozaki-r
9bacf05801 Document net.inet6.ip6.neighborgcthresh change 2016-03-30 05:45:26 +00:00
skrll
e4a98f388f crt0-common.c is miscompiled by gcc 5.3 on evbarm with -O2 so use -O1. Do
this for all non-x86 arches.
2016-03-29 21:23:05 +00:00
martin
60de583e7a Avoid warnings (signed/unsigned comparision and unused variable) 2016-03-29 18:42:29 +00:00
macallan
a3107e02e3 make sure we compile mips_fpu.c and fp.S with -mhard-float 2016-03-29 18:40:32 +00:00
mrg
768e59d75f - clean up some
- i386 atf works
- mipseb kernels and system runs
- mips64* kernels work system runs
2016-03-29 09:20:28 +00:00
mrg
19cbd6805c distinguish between partial and failed read, so that "read 0xffffffff bytes failed"
is not output..
2016-03-29 06:51:40 +00:00
mrg
877929762e switch alpha to GCC 5.3. works just as well on my UP1000. 2016-03-29 06:36:12 +00:00
mlelstv
7a222a4140 Initialize disk_geom information, DIOCGPARTINFO relies on it. 2016-03-29 04:55:53 +00:00
mlelstv
3bb28e76f8 Align /proc/<pid>/statm data with /proc/<pid>/stat and
provide RSS information. There is no data about shared
pages.

Helps PR 50801.
2016-03-28 17:23:47 +00:00
mrg
f46b30aacc mknative-binutils for binutils 2.26 and mipse[lb]. 2016-03-28 17:00:43 +00:00
macallan
192512b54b fix this properly.
uap is supposed to hold init's argv[], so it's 3 * sizeof(char *), the bug
was to copyout(..., sizeof(args)) which is an array of syscallargs, not argv
*
2016-03-28 16:45:44 +00:00
macallan
3228b500d3 do not assume that syscallarg(const char *) and (char *) are the same size
first step to make n32 kernels run binaries again
2016-03-28 15:45:18 +00:00
riastradh
96b890b34c Fix relation in rngtest failure message to match reality. 2016-03-28 15:20:16 +00:00
martin
0213dfd655 Add missing include 2016-03-28 10:35:36 +00:00
martin
e002a1e12e Simplify now that we have an internal toolchain 2016-03-28 10:31:45 +00:00
skrll
8e0f1b1171 Simplify. No functional change. 2016-03-28 09:50:40 +00:00
skrll
d176304fc0 Add some more mips targets for martin 2016-03-28 09:01:24 +00:00
martin
afad7c48d8 Restrict float format hacks to gcc 4.8 2016-03-28 08:10:57 +00:00
ozaki-r
fb96f2a80f Remove unused global bridge list
Pointed out by riastradh@
2016-03-28 04:38:04 +00:00
ozaki-r
84720685bf Make outputs informative on failure 2016-03-28 02:35:43 +00:00
ozaki-r
d0731f8a07 Add tests for "route get" 2016-03-28 01:53:07 +00:00
alnsn
38047b2736 Don't enter infinite loop on big ktr_len values.
Fixes PR 49460.
2016-03-27 21:51:20 +00:00
mrg
0bcf063564 revert most of the previous and re-do it to be valid, re-fixing i386 psABI
support with -m32.
2016-03-27 17:17:59 +00:00
christos
32b59da6c9 Allow for testing other than /bin/sh using TEST_SH (from kre@) 2016-03-27 14:57:50 +00:00
christos
aa36454cd0 Finish these tests (or at least, fill in the place holder tests
with actual code ... tests are never really finished.)  One of these
new tests was how the bug in PR bin/50993 was discovered. (from kre@)
2016-03-27 14:53:17 +00:00
christos
bb5046e57f PR bin/50993 - lots of new here document tests to validate all of
the changes made to fix that PR.   LOTS more tests...  A few general
improvements to the way the tests work and results are reported
as well. (from kre@)
2016-03-27 14:52:40 +00:00
christos
e0530cd421 More tests, add protection against shells that allow wait N
to wait for the same process over and over again (forever) (???)
This test now takes slightly over 20 seconds to complete (elapsed
time) caused by all the waiting on sleep commands being run in
the background. (from kre@)
2016-03-27 14:50:40 +00:00
christos
c43f84898f Finish TEST_SH - all tests should support it now.
Misc other KNF changes, minor bug fixes, and a few minor
extra tests added. (from kre@)
2016-03-27 14:50:01 +00:00
christos
8130505f80 Avoid relying on the test shell correctly implementing $(( ))
in order for some of the redirect tests to terminate. (from kre@)
2016-03-27 14:49:07 +00:00
christos
7c8885a4e7 Move the parseredir internal subroutine out of readtoken1() into being
a real function of its own (also inspired by FreeBSD - though for
this one other sh differences require slightly different code.) (from kre@)
2016-03-27 14:40:20 +00:00
christos
1d1484aa26 PR bin/50993 - this is a significant rewrite of the way that here
documents are processed.  Now, when first detected, they are
simply read (the only change made to the text is to join lines
ended with a \ to the subsequent line, otherwise end marker detection
does not work correctly (for here docs with an unquoted endmarker
only of course.)  This patch also moves the "internal subroutine"
for looking for the end marker out of readtoken1() (which had to
happen as readtoken1 is no longer reading the here doc when it is
needed) - that uses code mostly taken from FreeBSD's sh (thanks!)
and along the way results in some restrictions on what the end
marker can be being removed.   We still do not allow all we should.
(from kre@)
2016-03-27 14:39:33 +00:00
christos
1d4fbce984 Cease "support" for <redirect> fn() { ...
Any redirect (or redirects) before a function definition were
allowed by the parser, but otherwise totally ignored.  The standard
syntax does not permit redirects there, now, neither do we. (from kre@)
2016-03-27 14:36:29 +00:00
christos
f9acd92dd8 Finish constifying the new parsebackquote() function. Save a
variable or two...   Should change nothing. (from kre@)
2016-03-27 14:35:30 +00:00
christos
ca12a0b88a General KNF and source code cleanups, avoid scattering the
magic string " \t\n" all over the place, slightly improved
syntax error messages, restructured some of the code for
clarity, don't allow IFS to be imported through the environment,
and remove the (never) conditionally compiled ATTY option.
Apart from one or two syntax error messages, and ignoring IFS
if present in the environment, this is intended to have no
user visible changes. (from kre@)
2016-03-27 14:34:46 +00:00
skrll
420f6b0097 Switch hppa to gcc 5.3 2016-03-27 10:46:41 +00:00
mrg
0fd71d0df7 add a normal kernel that builds with PAE enabled. this is not yet
hooked into the normal build, but this is a working configuration
and on my 16GB test system, works fine.
2016-03-27 05:14:14 +00:00
mrg
d993c21bf1 don't set PREFERRED_STACK_BOUNDARY_DEFAULT, in particular, don't set it
to 64 (8 bytes) for 64-bit targets, where 16 byte alignment is required.
this fixes GCC 5 and ssh on modern intel cpus, and perhaps more.
2016-03-27 04:18:09 +00:00
mrg
3bd6f79dca - figured out the ldap/ssh problem. was miscompiled crtbeginS.o which
has been worked around.
- update some testing info.
- merge or1k/riscv descriptions that are actually the same problem.
2016-03-27 00:07:20 +00:00
mrg
09a7b9833f add a hack for GCC 5 and non-x86 platforms:
build crtbeginS.o with -O1 as GCC tries to be very smart with the
__DTOR_LIST__ as it believes it knows the size of the array at
compile time (which is not true until link time).  on SPARC and
MIPS, the result was emitting a call to 0.

technically, i believe that GCC isn't "wrong" to make this choice,
as the array is declared with a well-known initialiser size in the
crtbegin.c compilation unit, and we have noticed that the libgcc
version of this code has some hacks added, most likely to avoid
being bitten by this optimisation.


this makes sshd work for me on earm and sparc with GCC 5.
2016-03-27 00:03:06 +00:00
martin
0b2c20760e Do not touch FP register on softfloat kernels. 2016-03-26 17:40:02 +00:00
martin
b1d4b53a67 Fix set lists for mips64 and gcc 5.3 2016-03-26 17:16:48 +00:00
martin
0eb7da4d7a David Binderman in PR port-newsmips/51014:
Move initialization of remain_cnt up to the declaration.
XXX the #ifdef here does not make much sense to me, but I know nothing
about the hardware. I'd guess it could be removed or inverted and #error'd
instead.
2016-03-26 17:14:38 +00:00
martin
07a988af43 David Binderman in port-arm/51013: masking of rxbdtlen happened before
the value was read - move it down a few lines.
2016-03-26 17:04:03 +00:00
hannken
d222105946 Whhen spec_strategy() extracts v_rdev take care to avoid a
race with spec_revoke.

Fixes PR kern/50467 Panic from disconnecting phone while reading its contents
2016-03-26 14:58:13 +00:00
martin
1d9390077f Do not store FP registers in softfloat userland 2016-03-26 11:57:32 +00:00
martin
c22389e399 Fix comment 2016-03-26 11:49:10 +00:00
mrg
6647f806a6 note (belatedly) gdb 7.10 import. 2016-03-26 10:40:05 +00:00
mrg
f9dc4a2c0b switch sparc to GDB 7.10. works for me. 2016-03-26 10:38:22 +00:00
martin
251567c563 Switch playstation2 over to gcc 5.3, binutils 2.26 and gdb 7.10 2016-03-26 10:35:14 +00:00
mrg
1353e79727 mknative-gdb for sparc and gdb 7.10 2016-03-26 10:29:44 +00:00