Commit Graph

194725 Commits

Author SHA1 Message Date
christos
abc3b37046 PR/43469: Antii Kantee: test/util/sh/t_expand:strip fails.
Bring back fixes from revision 1.75:

- Fix a couple of bugs to make the following two echo statements print the
  same output as they should:

    line='#define bindir "/usr/bin" /* comment */'
    echo "${line%%/\**}"
    echo ${line%%/\**}

1. ISDBLQUOTE() was not working properly for non VSNORMAL expansions because
   varnest was incremented before the variable was completely parsed. Add
   an insub adjustment to keep track of that.
2. When we have a quoted backslash, we either need to escape twice, because
   one level of escaping will be stripped later (in the variable substitution
   case) or simply enter the backslash.
2010-11-16 18:17:32 +00:00
jmmv
9e95dfadb1 Pull up 702fa99a25c1b27e4c501e4a504f36b74106ea97 from upstream
This reverts the default timeout for test cases back to 300 seconds.
The change in the release was quite blind because it did not anticipate
many existing tests to be slow enough to overflow the modified timeout
(30 seconds), specially in anita.

My plan to really fix this is to let test cases specify their sizes in
a declarative way instead of specifying timeouts in seconds (the timeout
being defined by atf-run on a size basis), so I'm not going to bother to
go over all existing tests trying to figure out which ones need a higher
timeout for now.  It is just easier to revert.
2010-11-16 17:55:56 +00:00
tron
d0e6f50de3 Implement mark & sweep garbage collection as suggested by Enami Tsugutomo
on "current-users" mailing list. Garbage collection is performed if:
1.) We previously allocated memory for the environment array which
    is no longer used because the application overwrote "environ".
2.) We find a non-NULL pointer in the allocated environment array after
    the end of the environment. This happens if the applications attempts
    to clear the environment with something like "environ[0] = NULL;".
2010-11-16 17:23:10 +00:00
njoly
c68f5328ef +libsparc_v8.so.0.0.debug 2010-11-16 14:25:54 +00:00
tron
dde0196938 Add new "t_environment_pth" test to the set lists. 2010-11-16 14:04:11 +00:00
tron
55e8419d17 Split threaded environment test for the other environment tests as
suggested by Nicolas Joly in private e-mail. Linking a binary with
"libpthread" effects the beaviour of "libc" and we really want to
test both cases.
2010-11-16 14:03:47 +00:00
njoly
f1acf9eabb Add missing xorg debug modules. While here, sort list. 2010-11-16 13:08:30 +00:00
uebayasi
9228941ac1 sys/mutex.h includes machine/intr.h via sys/intr.h, so no need here. 2010-11-16 09:35:14 +00:00
uebayasi
25c2ed11f4 MD interrupt implementation is not VM parameter. 2010-11-16 09:34:24 +00:00
uebayasi
7d4ea18f4e Don't expose spl* symbols to userland. Should fix build. 2010-11-16 08:59:30 +00:00
enami
2c376812ef Nowadays, comparing priority against PZERO doesn't make any sense.
Instead, see if a process waits uninterruptibly like ps does,
so that the second column (`b') of default vmstat output prints
some useful value (-t is still broken though).
2010-11-16 03:49:53 +00:00
enami
4f54ea7667 Fix typos in comment. 2010-11-16 03:02:20 +00:00
christos
06b55256bc minor KNF nits. 2010-11-16 02:53:49 +00:00
bsh
0d4eb22ed5 make SMDK2410 kernel compile again after changes to sys/param.h 2010-11-16 02:53:02 +00:00
uebayasi
0905fbeb72 Define uvmexp_pagemask and friends used by sparc to set PAGE_SIZE,
PAGE_MASK, PAGE_SHIFT dynamically.
2010-11-16 01:12:57 +00:00
pooka
891314e269 "fix" completely crackheaded code w/ uninitialized use,
missed as usual by the wonderful -g -O0
2010-11-15 23:59:06 +00:00
pooka
d6787585af remember to commit this file too 2010-11-15 23:51:06 +00:00
macallan
8775ed09b7 explicitly set and clear the backlight on bit, just in case someone messes
with it while we're not looking
2010-11-15 23:19:33 +00:00
pooka
78439d6c9f document shmif, or at least what's implemented so far 2010-11-15 23:10:51 +00:00
skrll
08aa2b4b48 Add a man page for nside(4). 2010-11-15 23:07:37 +00:00
pooka
32b08b37e0 un-\240 2010-11-15 22:49:33 +00:00
pooka
9f725ef6cb * make interface a cloner
* use SIOCSLINKSTR for supplying bus filename in case of cloned if

TODO: downing interface, unclone, and some tweaks for robustness
2010-11-15 22:48:06 +00:00
pooka
4a79b4abf7 add -h which prints only the bus header info 2010-11-15 22:45:23 +00:00
pooka
6f2301fb3c Implement ifconfig linkstr as proposed on tech-net. 2010-11-15 22:42:36 +00:00
pooka
984ea70871 Add another set of problematic offsets from the quoted thread. 2010-11-15 22:01:44 +00:00
pooka
9c2df30c76 diudau, remember that setlists have feelings too and make files match reality 2010-11-15 21:56:46 +00:00
pooka
ab1e35f3d8 Exploit the fact that wizd is currently running and add a manpage
for the rump virtif.
2010-11-15 21:52:47 +00:00
wiz
e1a7a6e54f Improve wording. 2010-11-15 21:39:53 +00:00
wiz
4fe3d9c90c Wording improvements. 2010-11-15 21:39:12 +00:00
pooka
a77ca5ecfc double the timeout for slow hosts (from 1 to 2 seconds) 2010-11-15 21:29:39 +00:00
wiz
9d2172fc04 Remove trailing whitespace. 2010-11-15 21:29:21 +00:00
christos
a85c37d8d9 don't increment i twice in the loop. From Michael Byrnes 2010-11-15 21:24:31 +00:00
wiz
bb034f11ef New sentence, new line; add serial comma. 2010-11-15 21:19:59 +00:00
pooka
7bdde1ba6d Add test case for PR kern/44093 (fixed already, but tested to fail
without fix applied).
2010-11-15 20:39:00 +00:00
pooka
00ab7eeb45 Add a new signal model RUMP_SIGMODEL_RECORD which records all
signals which are posted to a process.
2010-11-15 20:37:21 +00:00
pooka
f129909f87 Apply patch from PR kern/44093 by yamt:
Interrupt server wait only on certain signals (same set at nfs -i)
instead of all signals.  According to the PR this helps with
"git clone" run on a puffs file system.
2010-11-15 20:31:41 +00:00
pooka
ab9955e060 apply const 2010-11-15 20:24:09 +00:00
pooka
1ff4490a1c Make interface support ifconfig {down,destroy} and generally make
it a little less eager to panic.
2010-11-15 20:23:11 +00:00
bsh
38a47a9a4a add an option for system clock frequency (used by timer driver) 2010-11-15 18:21:19 +00:00
bsh
3747b72bd6 EPIT support as system clock for i.MX31 2010-11-15 18:19:19 +00:00
bsh
d8a4fe3f5c GPIO register definitions are now in imxgpioreg.h to share them with
imx51
2010-11-15 18:18:39 +00:00
pooka
e9e1ac535f Make int *error and optional parameter (i.e. it can be NULL).
Sometimes the caller just doesn't care which errno close() might
throw.
2010-11-15 15:23:32 +00:00
uebayasi
f80a576c3f uebayasi-xip: rebase. 2010-11-15 14:40:36 +00:00
njoly
4bca75a158 +ofctl.debug 2010-11-15 12:26:36 +00:00
njoly
26b4f4dcb4 Remove unneeded xfree/xorg dga(1) entries from xserver md lists. 2010-11-15 12:23:06 +00:00
cegger
37c06c3a7b add interrupt EAPIC register definitions 2010-11-15 11:58:09 +00:00
bsh
2f9211700e don't include <arm/cpu.h> which requires SOFTINT_COUNT before <sys/intr.h>
is fully included.
This change makes Beagleboard kernel compile again after uebayashi's change
to sys/param.h.
2010-11-15 09:34:28 +00:00
bsh
90ac127562 fix compile error about missing evcnt definition.
picvar.h is now included very early because of uebayashi's change to sys/param.h.
2010-11-15 09:25:58 +00:00
agc
6b3f11714a There were still some throwbacks with the prefix '_ops' - rectify that to
be the standard "pgp_" - no functional change.
2010-11-15 08:56:30 +00:00
agc
e2c60ad188 Don't prefix function names with "pgp_" if the functions are static. 2010-11-15 08:50:32 +00:00