Commit Graph

185102 Commits

Author SHA1 Message Date
bouyer 5dabc83466 Handle EWOULDBLOCK the same way as EPIPE. It seems the TCP socket layer
can return EWOULDBLOCK on some occasion when the connection is broken.
2009-11-05 08:11:24 +00:00
agc 96b6b6617b Re-add two files necessary for the testsuite to run properly. 2009-11-05 07:46:10 +00:00
dyoung 6efd54581f Bring this up-to-date with the changes to dbcool_softc. 2009-11-05 05:39:41 +00:00
dyoung 7507fa6898 In awacs(4) and snapper(4), use deviter(9) instead of accessing
alldevs directly.

In pbms(4), delete some unused debugging macros, expand USB
compatibility macros, and add a child-detachment routine.  Simplify
pbms(4) deactivation and detachment.

These changes are compile-tested, only.
2009-11-05 05:37:30 +00:00
thorpej 121cb87046 Fix error in previous that could cause us to refer to the wrong cpu_info
after handling an AST.
2009-11-05 04:19:47 +00:00
rafal c90efca2b1 Regen for MS Wireless 2.4Ghz Xmitter (for wireless mice, etc.) 2009-11-05 03:46:12 +00:00
rafal 21861f5135 Add Microsoft's Wireless 2.4Ghz transmitter (used for e.g. wireless mice). 2009-11-05 03:44:50 +00:00
dyoung f2d55f8489 Use deviter(9) instead of accessing alldevs directly. Test-compiled,
only.
2009-11-05 00:35:12 +00:00
dyoung cfbdb54565 Define devgen_t, a 64-bit device generation number, for use later
by device iteration.
2009-11-05 00:34:05 +00:00
dyoung 8f33cec11c Document the device iteration routines.
I derived this manual page from pmf(9), hence my retention of Jared's
copyright notice.
2009-11-05 00:20:24 +00:00
tsarna bfe9f6f3f4 Two new features:
- Detect and adapt to resolv.conf changes through the use of the new
  res_check() API, so that for example changing the search list doesn't
  require restarting clients.

- A persistent mdnsd connection pool, with slow start (so that
  programs like ping, ssh, etc don't keep connections open) and age-out.
  NOTE: Tuning parameter values are just SWAGs.
2009-11-04 23:34:59 +00:00
dsl fb64c309b2 Allow MB, GB and CYL (not just M, G and C) and lower case.
Don't output a splurious 'd' before "cyl".
Fixes PR/37414.
Patch in PR is wrong!
2009-11-04 22:25:56 +00:00
dsl ef7eea8bfd Read input from the correct FILE. 2009-11-04 21:51:11 +00:00
dsl ff86378d52 Allow display intervals > 25 seconds.
Fixes PR/36999
I did contemplate chaging curses - but the code is replicated and warped.
2009-11-04 21:46:24 +00:00
dsl bc1d032082 Round timeout values up.
More importantly convert 1..99 to 1, not 0.
2009-11-04 21:24:57 +00:00
rmind 4c1098f541 do_sys_wait(): fix previous by checking for ru != NULL. Noticed by
Onno van der Linden.  Also, remove redundant arguments (seems that
was_zombie was not used since rev 1.177 ?).
2009-11-04 21:23:02 +00:00
pooka 947f23c334 Pull all relegating memory allocators under a common roof in memalloc.c
(forgot to commit the new file)
2009-11-04 20:38:58 +00:00
pooka 5f6806f45c typedef struct link_map as Link_map (for solaris-compat) 2009-11-04 19:28:03 +00:00
pooka d502da58ec misc_stub and emul have been the same thing for a looong time now,
so just move the few remaining routines in misc_stub to emul.
2009-11-04 19:21:51 +00:00
pooka c03306bc0d Give the kthread->pthread interface emulation its own module. 2009-11-04 19:17:53 +00:00
dyoung 0440bde8db Don't build & install ncdcs if ${MKBINUTILS} == "no".
In the set list, mark ncdcs as a binutils 2.16 item.
2009-11-04 19:02:28 +00:00
joerg 33d938a5e5 Do not indent global variables. 2009-11-04 18:32:27 +00:00
pooka 8ec96b27ff trim trailing whitespace 2009-11-04 18:27:40 +00:00
pooka 8ef52102c2 Pull all relegating memory allocators under a common roof in memalloc.c 2009-11-04 18:25:36 +00:00
pooka 83dbe94e8b Implement yield()/preempt() now that there is a CPU scheduler. 2009-11-04 18:11:11 +00:00
skrll 4199642c5f Apply workaround for an ld bug which creates an empty .rel.dyn section. 2009-11-04 17:03:52 +00:00
skrll ef99e95537 Fix start symbols for new binutils. 2009-11-04 17:02:43 +00:00
skrll 130f3380aa Switch mips to binutils 2.19. 2009-11-04 17:02:19 +00:00
pooka 080522e1ce move copy-related routines to their own module 2009-11-04 17:01:45 +00:00
pooka a69d555865 Use std. uiomove() & friends. 2009-11-04 16:55:20 +00:00
pooka fcc20a4ba1 Split uiomove() and high-level copy routines out of the crowded
kern_subr and into their own cozy home in subr_copy.
2009-11-04 16:54:00 +00:00
agc ac9efee5f2 Plug a memory leak for ssl-protected formatted output 2009-11-04 15:37:39 +00:00
pooka ab72032a6c nuke unused local variable 2009-11-04 15:35:09 +00:00
toshii c8d10319f7 Don't return an error if the _PIC method isn't found.
It's an optional method and not found in kvm/qemu.
2009-11-04 14:39:17 +00:00
pooka 510038040b Use kern_mutex_obj.c directly instead of copypasting code. 2009-11-04 13:32:39 +00:00
pooka 83685e650c Heave-ho mutex/rwlock object routines into separate modules -- they
don't have anything to do with the lock internals.
2009-11-04 13:29:45 +00:00
apb 61d1f4a9a4 If do_expertmode is false, then add DESTDIR and RELEASEDIR to makeenv.
This reinstates behaviour that was accidentally lost in revision 1.215.
2009-11-04 12:58:01 +00:00
hannken d35df7da38 Now that softdep has left the tree the only place needing the ffs_lock()
hack is ffs_sync().

- Use the generic lock operations for ffs.
- Change ffs_sync() to omit the vnode lock while suspending.

Reviewed by: Antti Kantee <pooka@netbsd.org>
2009-11-04 09:45:05 +00:00
christos 43c1f29388 prevent $ NetBSD expansion. 2009-11-03 22:52:59 +00:00
jakllsch 9ae52821d4 Use hme_init() to provide a non-NULL ifp->if_init. 2009-11-03 22:06:30 +00:00
pooka 332ad24cfd Weak aliazeize usermount_common_policy() to uncouple rumpkern
linkage from rumpvfs once again after the secmodel changes.
(temp solution, should find a better one)
2009-11-03 20:25:31 +00:00
pooka 652a56fde0 Reorder enough of lwp/cpu initialization to have enough context
for pool/kmem init to work again with the stock versions (as opposed
to rump malloc relegations).
2009-11-03 20:22:33 +00:00
dyoung c64f34a1e5 Gracelessly bracket #include "opt_spldebug.h" with #ifdef i386.
Should fix the amd64 kernel-build failure that Andreas Wrede
reported.
2009-11-03 20:11:53 +00:00
pooka 341072b737 move module to SRCS where it logically belongs. no functional change. 2009-11-03 18:44:15 +00:00
pooka c2492298bf * use rump_boot_sethowto()
* fail in a nicer way if interface device is not probed
2009-11-03 18:24:21 +00:00
pooka 2a63153751 regen: add AB_* macros 2009-11-03 18:23:15 +00:00
pooka ef8c3e068e include AB_* macros from reboot.h 2009-11-03 18:22:44 +00:00
pooka b32585a644 Add rump_boot_set/gethowto(), which can be called before rump_init()
to control .... *tadaa* boothowto.
2009-11-03 18:22:16 +00:00
thorpej c64f923f50 Restructure exception_return() a bit in preparation for some upcoming
changes.
2009-11-03 16:08:00 +00:00
cegger bed332fcc5 use proper type for memory protection bits 2009-11-03 13:14:50 +00:00