Commit Graph

194906 Commits

Author SHA1 Message Date
uebayasi 56df070b0c Fix DIAGNOSTIC physseg find check. 2010-11-18 08:18:31 +00:00
mrg d882d76e4a make this actually correct for an xorg world. 2010-11-18 07:52:45 +00:00
pooka e425b7c737 Remove unused rump_set_vmspace. An equivalent needs to come back
later, though, but in its current form it's just unusable garbage.
2010-11-17 21:57:33 +00:00
pooka 5eb7a3a4cc Provide a special rump_proxy_syscall for handling received proxy
syscalls and retire unused rump_syscall.
2010-11-17 21:52:29 +00:00
pooka dc4938b8f8 regen: -rump_pub_syscall 2010-11-17 21:50:34 +00:00
pooka 56c4db38a8 remove rump_pub_syscall -- unused/unusable 2010-11-17 21:49:52 +00:00
pooka 5e4322985a regen: optimize local syscall path a bit 2010-11-17 21:48:07 +00:00
pooka b991c38551 Skip one extra function in the rump syscall local path and use
sy_call() directly from rump_syscalls.c.
2010-11-17 21:47:11 +00:00
plunky 7d794dc7da do not produce an error when connections are closed normally
for L2CAP sockets, this solves an irritating error message from sdpd(8),
which can now differentiate between normal closure and error.
2010-11-17 20:19:25 +00:00
dholland 06a95d4af1 typo in comment 2010-11-17 20:07:50 +00:00
pooka 3e9c0c4fe1 cleanup some old garbage 2010-11-17 19:54:09 +00:00
dholland 4c60482042 Fix build when NATA_DMA is 0. 2010-11-17 19:36:54 +00:00
dholland 826407be7c Fix build with COMPAT_13. 2010-11-17 18:22:17 +00:00
wiz d999ecb2cd Capitalize the Internet's importance. 2010-11-17 18:03:49 +00:00
wiz 606383f1ce Convert manual list to Bl; fix typo; remove dot at end of SEE ALSO. 2010-11-17 18:02:20 +00:00
wiz deee42d237 Remove pasto. 2010-11-17 17:59:25 +00:00
pooka c3eed02978 note that shmif can be destroyed now 2010-11-17 17:55:00 +00:00
pooka d9aab6f8fc Support destroy in shmif. 2010-11-17 17:51:22 +00:00
pooka 48257b3e61 free syscall data after use 2010-11-17 17:36:14 +00:00
christos e285c9c3f2 since the fix was reverted, revert the test. 2010-11-17 13:41:52 +00:00
christos 7c0ceafd8c revert again, since this breaks libtool amongst other things. 2010-11-17 13:40:48 +00:00
tron 4a3a313897 Include "namespace.h" to get namespace protection. 2010-11-17 13:25:53 +00:00
tron aacd5349be Provide proper namespace protection for rbtree(3) because it is now
used by "libc" internally.
2010-11-17 13:19:32 +00:00
drochner fe04c71aa0 apply patch from http://www.openssl.org/news/secadv_20101116.txt
to fix a race condition which can be exploited in a buffer
overrun attack (CVE-2010-3864)
2010-11-17 12:09:34 +00:00
tteras 6a6cffd67e Fix my previous patch to not call purge_remote() twice. Change the place
where purge_remote() is called. This fixes also a possible crash from the
same patch since ph1->remote can be NULL (when we are responder and config
is not yet selected).
2010-11-17 10:40:41 +00:00
tron 40d1f42309 Put my name in the author section. 2010-11-17 08:55:27 +00:00
dyoung 7ef5c7d564 Cosmetic: fix indentation. 2010-11-17 00:20:49 +00:00
wiz 78f9e33271 Fix Dd argument. 2010-11-16 23:59:02 +00:00
dyoung 64f588a45a Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from
sending a termios(4) structure like it was supposed to: ptcread() used
to copy pti->pt_send and zero it before testing it for TIOCPKT_IOCTL.
Test for TIOCPKT_IOCTL in the pti->pt_send copy in local variable c
instead of in pti->pt_send itself.
2010-11-16 23:58:11 +00:00
pooka b4e3a3178b Use vmem for keeping track of unit numbers so that wildcard allocation
works correctly.
2010-11-16 20:08:24 +00:00
christos cbd46215a7 Fixed test that was expected to fail. 2010-11-16 18:25:03 +00:00
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