Commit Graph

185124 Commits

Author SHA1 Message Date
dyoung
2e43373a96 Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists.  If
$MKKMOD == no, do not install modules tests.
2009-11-05 17:34:25 +00:00
pooka
2e098f1f4e ... actually, define compat only for the kernel. Userlandia should
see only one version of the interfaces.
2009-11-05 17:16:36 +00:00
pooka
5207b24e34 Include compat/sys/time_types.h instead of compat/sys/time.h.
Fixes lint drama with interface name collisions.
2009-11-05 16:59:55 +00:00
pooka
93db2986fd Fling portion of time.h dealing strictly with types to a separate
time_types.h file.  Include latter from former.
2009-11-05 16:59:01 +00:00
uebayasi
997d28a770 Informative comments instead of useless blank lines. 2009-11-05 16:28:09 +00:00
pooka
11b02a2b55 Excommunicate comment not abiding to the 80col dogma.
(well, turns out it was no longer valid either)
2009-11-05 16:15:51 +00:00
chuck
fd40ef4f59 yppush RPC is supposed to return yppush_status error/status codes
(e.g. YPPUSH_SUCC, YPPUSH_NOMAP, etc.).

Functions like yp_master, yp_order_host, yp_master_host, and
yp_match_host return YPERR-style error codes.  YPERR-style error
codes do not directly correspond to yppush_status codes, so it
is a bad idea to just directly YPERR codes into the yppush return
status value (it causes failing yppush runs to print confusing
error messages).

Change ypxfr.c to convert the YPERR codes to YPPUSH codes.
2009-11-05 15:23:55 +00:00
pooka
44dcee46bd default to UKFS_PARTITION_NONE in argvprobe 2009-11-05 14:22:54 +00:00
pooka
597f5b5581 Link fs components into binary instead of loading dynamically now
that it's possible (dependency handling changes to rumpuser_dl).
2009-11-05 14:17:07 +00:00
pooka
f5b3a079d0 Loop over dso list while loading succeeds (brute force dependency handling). 2009-11-05 14:13:03 +00:00
pooka
2a244b850d enqueue loaded modules and prevent duplicates 2009-11-05 14:10:53 +00:00
pooka
35a75982e4 expose module_{lookup,enqueue}() 2009-11-05 14:09:14 +00:00
njoly
74e5cf1829 Remove unneeded t_event.debug (t_event is a shell script). 2009-11-05 13:32:14 +00:00
pooka
5866121c7c more lp64 it's-a-sign! fixes 2009-11-05 13:28:18 +00:00
pooka
07b61426de WARNS=2 (netsmb is not pointer-sign-confusion-lp64-clean) 2009-11-05 13:26:02 +00:00
pooka
1aa117e65e lp64 sign comparison 2009-11-05 13:09:56 +00:00
pooka
23517ba3a1 Need to p2k_init() (i.e. fork()) earlier to not lose threads created
in rump_init().
2009-11-05 12:00:18 +00:00
pooka
c584ccaa0d Include compat code by default. 2009-11-05 11:54:49 +00:00
pooka
a91d18a45a pump up the WARNS to 4 2009-11-05 11:41:43 +00:00
pooka
de048bdaae const woes 2009-11-05 11:40:24 +00:00
wiz
23a6db9cd7 Drop trailing whitespace; use full month name in Dd. 2009-11-05 09:55:38 +00:00
bouyer
6b8161200e getcleanvnode(): don't vclean() the vnode if it has gained another
reference while we were getting the v_interlock.
vget(): attempt prevent it from returning a clean vnode:
  if the vnode is being inactivated (by vrelel()), wait for
  vrelel() to complete (or return EBUSY if we can't wait), and return
  ENOENT if the vnode has been vclean'ed by vrelel()
Fix kern/41147 in a better way, hopefully fix other related race conditions.
2009-11-05 08:18:02 +00:00
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