Commit Graph

185156 Commits

Author SHA1 Message Date
pooka 3ad682caa6 Enable kernel kmem/vmem/pool/pool_cache by default again instead
of malloc(3) allocators.
2009-11-06 16:16:59 +00:00
pooka 83a2f995b9 In case a temp thread is exiting, borrow lwp0 for the respective
kmem_free().
2009-11-06 16:15:16 +00:00
skrll 96092d9e00 Whitespace. 2009-11-06 15:41:58 +00:00
christos 225e9fc5c1 make this compile. 2009-11-06 15:36:55 +00:00
pooka aebec17a03 WARNS=4 2009-11-06 15:26:54 +00:00
pooka 5ffd8be0f2 rump_module -> rump_pub_module 2009-11-06 15:25:52 +00:00
pooka 9d391c932b account creds for processes, not lwp's 2009-11-06 15:22:33 +00:00
pooka 6abd8e3cdf lie that we are never in a softintr (i.e. add stub) 2009-11-06 15:22:16 +00:00
joerg 133a83e65e Make sure that parser.c and friends can be found. 2009-11-06 15:14:37 +00:00
joerg 98712b66ed Fix __progname mess. 2009-11-06 15:13:27 +00:00
joerg 3e36bb3dce Drop __SCCSID. It is only of archeological interest. 2009-11-06 15:00:31 +00:00
njoly 5ef060dd31 Restrict ncdcs.debug and man pages to MKBINUTILS=yes builds. 2009-11-06 13:36:01 +00:00
pooka 1dac1a8cbc g/c M_SOFTINTR 2009-11-06 13:32:41 +00:00
is 38a9a9f43c 2nd part of "install kernel -> release" fix, inspired by tsutsui@'s patch
to PR 41672.
2009-11-06 13:01:36 +00:00
is cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
skrll 80ea658d23 Copy the change made by christos to elf32-i386.c to other targets where
it's easy:

Add a warning that prints the symbol that has the text reloc.
2009-11-06 10:59:17 +00:00
rafal 4e042dc0d8 Fix kern/41737 -- add quirks to make MS Wireless Laser Mouse 6000 work. 2009-11-06 04:42:27 +00:00
chuck a8036503d8 rev 1.18 un-covered some bugs:
1. add_interdomain and add_secure are optional... not all maps use these
    keys.  if we are unable to add them due to a YPERR_KEY (meaning they
    are not being used), then we should not flag this as a general error.

 2. if we have a failure (status <= 0) we unlink_db() the temp database
    as part of error handling.   but we should not overwrite our error
    status code with the return value from unlink_db() because if the
    unlink_db() works (likely true) than that success will wipe out our
    error code and the calling yppush will think we worked.
2009-11-05 21:26:25 +00:00
dyoung 48e2cd3a62 ncdcs needs to labeled 'binutils' not 'binutils=216', otherwise
it's present in the DESTDIR but missing from the flist on binutils
2.19 architectures (today, that is all of the architectures).
2009-11-05 21:11:53 +00:00
joerg e0efe9552e Fix incorrect merge. 2009-11-05 20:38:42 +00:00
skrll 3966cd5848 Switch everyone to binutils 2.19. 2009-11-05 20:06:29 +00:00
pooka 1d8c6c1718 Kill suspend support. It was never implemented correctly:
* it depended on the biglock (in a very cruel way)
  * it was attached to userspace transactions rather than logical
    fs operations

(If someone wants to revisit it some day, most of the stuff can be
reused from cvs history)
2009-11-05 19:42:44 +00:00
chuck 1f5ddb4eb6 in the case where ypbind is serving more than one domain (i.e.
not just the yp_get_default_domain() domain), we must remove
any old binding files from /var/yp/binding (BINDINGDIR) from
previous runs, or the non-yp_get_default_domain()'s will not
bind properly.   add a purge_bindingdir() function that basically
does "rm BINDINGDIR/*.[0-9]" at ypbind startup time.

example case of where this is an issue: bind a second (non-default)
domain.   ypbind will create and flock a /var/yp/binding/xxx.2
file for it.  stop and restart ypbind.  the old /var/yp/binding/xxx.2
file will remain from the previous run.   since it is not flock()'d
by the new instance of ypbind, libc functions like yp_master() will
fail without even bothering to talk to ypbind itself.   (and ypbind
is totally unaware of the old file...)
2009-11-05 19:34:06 +00:00
pooka 1ed7a6beef Reinstante PNODE_DYING. vmlocking had a brief hiatus when it was not
a valid optimization, but that's long gone and once VOP_INACTIVE is
called and the file server says that the vnode is going to be recycled,
it really is going to be recycled extra references gained or not.
2009-11-05 19:22:57 +00:00
rafal 0c8283fe12 Fix fallout from do_sys_wait changes (hi, rmind!) 2009-11-05 18:39:38 +00:00
joerg 375a51926a pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.

Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.

Add support to query arbitrary variables with pkg_admin config-var.
2009-11-05 18:39:00 +00:00
joerg da6735ba23 Update to 1.9.13 and merge. 2009-11-05 18:28:10 +00:00
joerg 3514411fed Import mdocml 1.9.13:
- added: -fign-escape
- fix: -Thtml accessibility (identifiers, table summary, etc.)
- fix: -Tascii -mdoc segfault with specific `Bl -hang' lists
- portability: bzero() -> memset()
- portability: warnx -> fprintf/perror
- fix: -Thtml buffer munging with certain tags
- fix: -Thtml output of some tags (empty divs, etc.)
- portability: compiler attributes
- documentation: significant man.7 and mdoc.7 improvements
2009-11-05 18:24:50 +00:00
dyoung bb8630fab4 Delete the useless activation hook. Add a child-detached hook and
a rescan hook.  Detach children before detaching self.
2009-11-05 18:20:40 +00:00
dyoung b504b9ff0b Use deviter(9) instead of accessing alldevs directly. Untested. 2009-11-05 18:11:09 +00:00
dyoung fbe2bb0ace Use deviter(9) instead of accessing alldevs directly. 2009-11-05 18:07:19 +00:00
dyoung c6acecde0a Use deviter(9) instead of accessing alldevs directly. Compile-tested,
only.
2009-11-05 17:52:32 +00:00
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