Commit Graph

175450 Commits

Author SHA1 Message Date
pooka
d6457e83e1 Make sockin radix-capable. 2008-11-25 20:42:01 +00:00
pooka
eebcd28057 Support PRU_BIND / PRU_LISTEN / PRU_ACCEPT in sockin. 2008-11-25 20:39:57 +00:00
pooka
50176705eb Take reference for proc0 rootdir vnode. 2008-11-25 20:35:46 +00:00
christos
53200e2e77 PR/40026: Aleksej Saushev: make(1) doesn't document VPATH, document it. 2008-11-25 20:34:19 +00:00
pooka
e346dcad76 "Manually" call rn_init() to make sure it's done. The real kernel
hooks it up with domain constructors in a fascinating way.
2008-11-25 18:44:05 +00:00
christos
2e31951ce3 enable extensions for isblank() and solaris 2008-11-25 18:41:57 +00:00
christos
88bda1cea2 don't use signed chars for no reason. 2008-11-25 18:40:26 +00:00
pooka
ec538307e6 fix comment (no functional change) 2008-11-25 18:38:08 +00:00
pooka
922d39c2b2 Heave-ho radix.c from librumpnet_net to librumpnet. 2008-11-25 18:36:08 +00:00
bouyer
42a9987790 npxsave_cpu() set ci_fpused so that the FPU will be disabled on next context
switch on Xen. Fix "npxintr: came from nowhere" kernel messages on Xen/i386.
2008-11-25 18:33:21 +00:00
pooka
c6e7028d1c Make dom_maxrtkey of inet/inet6domain the size of the ip_encap pack
structures.  This is far from optimal, but gets rid of iffy
#ifdef INET in radix.c.  The radix bonsai still needs lots of love
before loading domains dynamically is possible...
2008-11-25 18:28:05 +00:00
ad
9d09ecfa96 sigaction1: we need to remember if the sigcontext method may be useable,
because libc can use it even if siginfo is available.

Changes are needed in libc to stop this being a performance penalty but
they will come later.
2008-11-25 16:42:44 +00:00
ad
bd14467c41 fpudna: enable interrupts in an error path. 2008-11-25 16:27:36 +00:00
ad
36ebc18492 trap07: do NOT enable interrupts before calling fpudna or we could be
preempted.
2008-11-25 16:25:29 +00:00
tsutsui
953d0b8986 In machclk functions always emulate 1GHz counter using nanotime(9)
since it has enough resolution via timecounter(9).
Using machine dependent cpu_counter() is not MP safe
and it won't work even on UP with Speedstep etc.

No particular comment on tech-kern, and also closes PR kern/39835.
2008-11-25 15:59:10 +00:00
ad
93ea4650a6 dumpsys: don't spew numbers into the log. 2008-11-25 15:51:34 +00:00
skrll
5222358697 -#include "opt_modular.h" 2008-11-25 15:50:52 +00:00
nakayama
4cb83f9c6e Make DDB shows right register values on 32-bit sparc64 kernels.
- define db_expr_t as int64_t.
- %gsr is 32-bit, so use db_sparc_intop.
- sync arguments with function prototype.
- ansify.
2008-11-25 15:41:11 +00:00
ad
4f64126fc1 A fix for failed TSC calibration with the message "ERROR: %lld cycle TSC
drift observed".

On i386, cpu_cc_skew was written out as two 32-bit words. If unlucky, the
boot processor could read the whole 64-bit value after only 32-bits of the
update were written back to main memory.
2008-11-25 15:40:30 +00:00
ad
a5a0d68555 Print the size as decimal. 2008-11-25 15:15:28 +00:00
ad
31afc5b6d8 Add some basic DDB stuff for modules. 2008-11-25 15:14:07 +00:00
ad
173ac732fd -#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
2008-11-25 15:13:47 +00:00
ad
c90afa3efc vax uses v3 trampoline. 2008-11-25 15:05:38 +00:00
tsutsui
47e819654a - tcpdump 4.0.0 and libpcap 1.0.0 have been released
- update nvi and pkg_install version
- in tree bzip2 is also updated to 1.0.5
- libcdk was removed long ago
2008-11-25 14:54:03 +00:00
pooka
1ba9363d08 Comment police. No functional or GENERIC size change. 2008-11-25 14:28:42 +00:00
tsutsui
2a25d4aad2 Mention that i386 and amd64 GENERIC kernels now require
installed kernel modules and the latest bootloader.
2008-11-25 14:27:43 +00:00
ad
b5476b291f Union mount a tmpfs over /etc, for sysinst. 2008-11-25 14:25:59 +00:00
ad
a93bd7922f Don't shoot self in the foot if / is on NFS. 2008-11-25 14:25:20 +00:00
pooka
ad71247a89 When testing if a file system handles file handles (ha ha ha), be
content with just the vp-to-fh-size check.
(removes a very weird error path in the code)
2008-11-25 14:04:23 +00:00
tsutsui
74e78b8faa Bump date for previous. 2008-11-25 14:03:28 +00:00
tsutsui
b8f301461c Add #ifdef _KERNEL_OPT. 2008-11-25 14:02:16 +00:00
ad
44435f5a02 Make pxeboot understand boot.cfg. 2008-11-25 13:23:54 +00:00
ad
378bfa9aa9 Cut-and-paste strikes again. Set fsmod here too. 2008-11-25 13:18:37 +00:00
cube
78c770f784 Descend into the new modules during the build. 2008-11-25 12:50:03 +00:00
pooka
e61394a6b8 i'm almost certain that puffs_cooie_t is supposed to be puffs_cookie_t 2008-11-25 11:49:08 +00:00
he
0f2d00e5bc Don't be lazy and let one directory's Makefile install an include
file from another directory, as that only causes problems with
mtree later on when encountering the /.. path component.  Instead,
descend into dev/ and use the Makefile there to install dev/crmfbreg.h
in the appropriate directory.
2008-11-25 09:47:40 +00:00
skrll
1d28e9aeb0 Add empty module_init_md so that options MODULAR compiles. 2008-11-25 09:43:05 +00:00
pooka
24bc96c743 Add BUGS section which notes that dynamic linker features in dealing
with link sets prevent from including more than one file system on
the link line and that the rest must be loaded dynamically at runtime.
2008-11-25 06:44:19 +00:00
apb
faeb779f91 Use ${HOST_SH}, not ${SH}. ${SH} is undefined, so acts like an
empty string.  The build would sometimes work despite this error, if
errlist.sh happened to be executable and if the host's /bin/sh was good
enough.
2008-11-25 05:32:05 +00:00
cube
41b25c78bc Don't compile PPP compressors in by default, they'll be auto-loaded. This
saves an incredible 10k of text and data.
2008-11-25 02:47:19 +00:00
cube
3109c3a3b9 Register PPP compressors modules. 2008-11-25 02:45:14 +00:00
cube
1ff44d9310 Build and install the PPP compressors modules deflate and bsdcomp. 2008-11-25 02:42:35 +00:00
cube
c12e613f44 Rework the way PPP compmressors are handled and allow them to be
automatically loaded when needed.
2008-11-25 02:40:36 +00:00
dogcow
165e230a9b sprintf to temporary buffer and memcpy, rather than sprintf directly
into place; this avoids possible corruption and coredumping on systems
that more aggressively bounds-check. patch by dbj.
2008-11-25 01:58:13 +00:00
nakayama
c16b2cafae Add scan obsolete minor shared libraries in /usr/X11R7/lib.
Also scan in /usr/lib/i386 for amd64, /usr/lib/sparc for sparc64.
2008-11-24 20:12:28 +00:00
tsutsui
ec756dcdab Pull expected usage of get*uptime() functions from <sys/timevar.h>
as well as microtime(9) man page.
2008-11-24 18:37:47 +00:00
tsutsui
2af45ff960 Remove unnecessary casts. 2008-11-24 18:05:25 +00:00
tsutsui
0c5d01004e Handle 32 bit uid field on E2FS_REV1. 2008-11-24 17:41:29 +00:00
tsutsui
6189d5e324 Add missed byteswap ops against ext2fs_dinode members. 2008-11-24 17:37:17 +00:00
tsutsui
ee70a0c964 Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit. 2008-11-24 17:30:12 +00:00