dragonfly.git
16 years agoRemove reference to FreeBSD's documentation about their source trees.
Jeroen Ruigrok/asmodai [Thu, 14 Aug 2003 18:27:49 +0000 (18:27 +0000)]
Remove reference to FreeBSD's documentation about their source trees.
It is a whole different tree altogether.

16 years agoFirst stab at our own UPDATING file.
Jeroen Ruigrok/asmodai [Thu, 14 Aug 2003 18:26:32 +0000 (18:26 +0000)]
First stab at our own UPDATING file.
If you make any change worth mentioning to people using the source tree,
feel free to add to the text.  Do not worry about spelling, layout or the
like, it will get fixed up shortly afterwards.

16 years agoAdd, hopefully, support for the ICH5 sound hardware.
Jeroen Ruigrok/asmodai [Thu, 14 Aug 2003 18:10:40 +0000 (18:10 +0000)]
Add, hopefully, support for the ICH5 sound hardware.

16 years ago* Fix the type of the NULL arg to execl()
David Rhodus [Wed, 13 Aug 2003 22:55:22 +0000 (22:55 +0000)]
* Fix the type of the NULL arg to execl()
* de-__P()
* Explicitly compare the values returned by chdir(2) and
chroot(2) to -1

Obtained from: FreeBSD

16 years agoNew statistics to keep track of supurious retransmits.
Jeffrey Hsu [Wed, 13 Aug 2003 21:17:53 +0000 (21:17 +0000)]
New statistics to keep track of supurious retransmits.

16 years agoImplement the Eifel Dectection Algorithm for TCP (RFC 3522).
Jeffrey Hsu [Wed, 13 Aug 2003 18:34:25 +0000 (18:34 +0000)]
Implement the Eifel Dectection Algorithm for TCP (RFC 3522).

16 years agoSyscall messaging 4a: LINT build.
Matthew Dillon [Tue, 12 Aug 2003 04:58:23 +0000 (04:58 +0000)]
Syscall messaging 4a: LINT build.

16 years agoSyscall messaging 4: Further expand the kernel-version of the syscall message.
Matthew Dillon [Tue, 12 Aug 2003 02:36:15 +0000 (02:36 +0000)]
Syscall messaging 4: Further expand the kernel-version of the syscall message.
The (in-kernel) syscall message is now arranged:

    struct blah_args {
sysmsg
usrmsg
... syscall arguments ...
    }

Original system calls copyin() just the arguments and then initialize sysmsg
and go.  Syscall messages copyin() usrmsg+arguments and then initialize sysmsg
as appropriate and go.

Further detail work for EASYNC support.  Implement td_msgport as a reply port
and start working on an async capability for the nanosleep() system call.

NOTE: Preliminary system call messaging can be tested using the suite of
programs in /usr/src/test/sysmsg.

NOTE: Work is still in progress  and you can crash the system, so use of
MSGF_ASYNC for messaging system calls is currently restricted to root.

Also fixed a bug in the syscall module helper code in sys/sysent.h, which
might have been causing the linux problems (or might not have).

All system call headers had to be regenerated to deal with the structural
changes.

16 years agoAdd src/test and throw in some of the ad-hoc timing and testing programs
Matthew Dillon [Tue, 12 Aug 2003 02:29:44 +0000 (02:29 +0000)]
Add src/test and throw in some of the ad-hoc timing and testing programs
that have been written.

16 years agoAdd or correct range checking of signal numbers in system calls and
David Rhodus [Mon, 11 Aug 2003 17:50:15 +0000 (17:50 +0000)]
Add or correct range checking of signal numbers in system calls and
ioctls.

16 years agoFix a bug which caused signals on YUV images to fail.
David Rhodus [Mon, 11 Aug 2003 17:30:31 +0000 (17:30 +0000)]
Fix a bug which caused signals on YUV images to fail.

Fix broken programming of VSCALE_HI registers in yuv422_prog().

  Obtained from: FreeBSD

16 years agoFix for insufficient range checking of signal numbers.
David Rhodus [Mon, 11 Aug 2003 17:07:30 +0000 (17:07 +0000)]
Fix for insufficient range checking of signal numbers.
In most cases, attempted delivery of a negative or out-of-range signal
number will trigger an assertion failure and panic, thereby crashing
the system.

FreeBSD Security Advisory FreeBSD-SA-03:09.signal

16 years agoThe iBCS2 system call translator for statfs(2) did not check the
David Rhodus [Mon, 11 Aug 2003 15:40:52 +0000 (15:40 +0000)]
The iBCS2 system call translator for statfs(2) did not check the
 did not check the length parameter for validity.

FreeBSD Security Advisory FreeBSD-SA-03:10.ibcs2

16 years agofinish fixing my braindeadness..
Robert Garrett [Mon, 11 Aug 2003 12:44:27 +0000 (12:44 +0000)]
finish fixing my braindeadness..
thanks to David Reese for the netbsd, openbsd and opendarwin cvs files

16 years agoChange the names of these files to match the FreeBSD ones
Robert Garrett [Mon, 11 Aug 2003 12:42:05 +0000 (12:42 +0000)]
Change the names of these files to match the FreeBSD ones

16 years agoloose this file, dont need it, don't want it.. by by
Robert Garrett [Mon, 11 Aug 2003 12:31:55 +0000 (12:31 +0000)]
loose this file, dont need it, don't want it.. by by

16 years agoremove old cvs files
Robert Garrett [Mon, 11 Aug 2003 12:17:59 +0000 (12:17 +0000)]
remove old cvs files

16 years agoAdd netbsd, openbsd, and open darwin supfiles, rename freebsd stuff
Robert Garrett [Mon, 11 Aug 2003 12:14:24 +0000 (12:14 +0000)]
Add netbsd, openbsd, and open darwin supfiles, rename freebsd stuff

16 years agoChange __volatile and __const into volatile and const.
Jeroen Ruigrok/asmodai [Mon, 11 Aug 2003 06:17:37 +0000 (06:17 +0000)]
Change __volatile and __const into volatile and const.
We expect the compiler to compile DragonFly to support C90 at minimum.

16 years agoRemove -traditional which breaks the keyword signed
Robert Garrett [Mon, 11 Aug 2003 03:59:25 +0000 (03:59 +0000)]
Remove -traditional which breaks the keyword signed

16 years agoadd cvs-site dist (The layout for the dragonflybsd.org web site).
Matthew Dillon [Mon, 11 Aug 2003 01:35:52 +0000 (01:35 +0000)]
add cvs-site dist (The layout for the dragonflybsd.org web site).

16 years agoAdd the 'wmake' script to /usr/bin and wmake support to Makefile.inc1.
Matthew Dillon [Mon, 11 Aug 2003 00:25:17 +0000 (00:25 +0000)]
Add the 'wmake' script to /usr/bin and wmake support to Makefile.inc1.

This script allows you to build any element within /usr/src using a
buildworld environment and is extremely useful for debugging or
development work.  Instead of having to restart the buildworld
(even with -DNOCLEAN -DNOTOOLS it can take a while) this script can
be used to immediately build whatever piece of the world you are
working on.

16 years agoRemove kerberosIV a.k.a. eBones. It has served well, but definately
Jeroen Ruigrok/asmodai [Sun, 10 Aug 2003 20:03:39 +0000 (20:03 +0000)]
Remove kerberosIV a.k.a. eBones.  It has served well, but definately
needs to be succeeded by kerberos5 a.k.a. Heimdal.

16 years agoChange __signed to signed.
Jeroen Ruigrok/asmodai [Sun, 10 Aug 2003 19:10:42 +0000 (19:10 +0000)]
Change __signed to signed.
The former is a very GCC specific use and hardly used.

Approved by: Matt Dillon

16 years agoFix path for nfs mounts, and correct sysctl
Robert Garrett [Sun, 10 Aug 2003 10:11:13 +0000 (10:11 +0000)]
Fix path for nfs mounts, and correct sysctl
nfs now works properly with RCng

17 years agoRemove math.h from Makefile, it gets installed through lib/msun/Makefile.
Jeroen Ruigrok/asmodai [Sat, 9 Aug 2003 22:00:54 +0000 (22:00 +0000)]
Remove math.h from Makefile, it gets installed through lib/msun/Makefile.

17 years agoLINT breakage fix.
David Rhodus [Sat, 9 Aug 2003 20:54:39 +0000 (20:54 +0000)]
LINT breakage fix.
#include "cx.c"

17 years agoInstall math.h.
Jeroen Ruigrok/asmodai [Sat, 9 Aug 2003 20:43:45 +0000 (20:43 +0000)]
Install math.h.

17 years agoFix compile error.
David Rhodus [Sat, 9 Aug 2003 20:26:21 +0000 (20:26 +0000)]
Fix compile error.
s/+/=

17 years agoadd missing space between libraries -lcrypt-lcrypto should of been -lcrypt -lcrypto
Robert Garrett [Sat, 9 Aug 2003 17:50:11 +0000 (17:50 +0000)]
add missing space between libraries -lcrypt-lcrypto should of been -lcrypt -lcrypto

17 years agoI think it's about time we added this file to the cvsup examples directory.
Robert Garrett [Sat, 9 Aug 2003 17:28:46 +0000 (17:28 +0000)]
I think it's about time we added this file to the cvsup examples directory.
perhaps we should also think about removing the freebsd examples?

17 years agoCorrect spelling of Matt's surname.
Jeroen Ruigrok/asmodai [Sat, 9 Aug 2003 14:16:51 +0000 (14:16 +0000)]
Correct spelling of Matt's surname.

Submitted by: Liu Kang <liukang@bjpu.edu.cn>

17 years ago Allow the caller to get an error directly if we sent the packet immediately.
David Rhodus [Fri, 8 Aug 2003 22:23:55 +0000 (22:23 +0000)]
  Allow the caller to get an error directly if we sent the packet immediately.

 Obtained from: FreeBSD

17 years ago Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa for
David Rhodus [Fri, 8 Aug 2003 22:11:29 +0000 (22:11 +0000)]
  Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa for
  the VMIN and VTIME members of the c_cc array. These members are not
  special control characters. By not excluding these members we
  changed the noncanonical mode input processing when both members
  were 0 on entry (=LINUX_POSIX_VDISABLE) as we would remap them to 255
  (=_POSIX_VDISABLE). See termios(4) case A for how that screws up
  your terminal I/O.

 Obtained from: FreeBSD

17 years agoAdd a few missing cratom() calls. In particular the code in kern_exec()
Matthew Dillon [Fri, 8 Aug 2003 21:47:49 +0000 (21:47 +0000)]
Add a few missing cratom() calls.  In particular the code in kern_exec()
was modifying the svuid of the parent process when a child exec()'d, which
broke the 'man' program (and probably other things).

Reported-by: Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
17 years ago Fix a problem that occurs when truncating files on NFSv3 mounts: we need
David Rhodus [Fri, 8 Aug 2003 21:42:06 +0000 (21:42 +0000)]
  Fix a problem that occurs when truncating files on NFSv3 mounts: we need
  to set np->n_size back to the desired size again after calling
  nfs_meta_setsize(), since it could end up in nfs_loadattrcache() getting
  called, which would change n_size back to the value it had before the
  truncate request was issued. The result of this bug is that the size info
  cached in the nfsnode becomes incorrect, lseek(fd, ofs, SEEK_END) seeks
  past the end of the file, stat() returns the wrong size, etc.

Obtained from: FreeBSD

17 years agoFix the buildkernel target.
Matthew Dillon [Fri, 8 Aug 2003 19:22:45 +0000 (19:22 +0000)]
Fix the buildkernel target.

17 years agoadd missed sysdb to /etc/rc.d's Makefile
Robert Garrett [Fri, 8 Aug 2003 11:55:19 +0000 (11:55 +0000)]
add missed sysdb to /etc/rc.d's Makefile

17 years agoKernel tree reorganization stage 2: Major cvs repository work.
Matthew Dillon [Fri, 8 Aug 2003 04:18:49 +0000 (04:18 +0000)]
Kernel tree reorganization stage 2: Major cvs repository work.

This stage includes source code adjustments to make buildworld work again,
including extensive additional work on the /usr/include hierarchy.

17 years agoSet _THREAD_SAFE preprocessor symbol when the -pthread option is used,
Matthew Dillon [Fri, 8 Aug 2003 04:11:06 +0000 (04:11 +0000)]
Set _THREAD_SAFE preprocessor symbol when the -pthread option is used,
solves a concurrency problem with libc's stdio.h when inline macros
(like putchar()) are used.

17 years agokernel tree reorganization stage 1a: remove -I- for kmod build
Matthew Dillon [Fri, 8 Aug 2003 03:57:35 +0000 (03:57 +0000)]
kernel tree reorganization stage 1a: remove -I- for kmod build

17 years agokernel tree reorganization stage 1: Major cvs repository work (not logged as
Matthew Dillon [Thu, 7 Aug 2003 21:54:36 +0000 (21:54 +0000)]
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

17 years agokernel tree reorganization stage 1: Major cvs repository work (not logged as
Matthew Dillon [Thu, 7 Aug 2003 21:26:08 +0000 (21:26 +0000)]
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

17 years agokernel tree reorganization stage 1: Major cvs repository work (not logged as
Matthew Dillon [Thu, 7 Aug 2003 21:22:38 +0000 (21:22 +0000)]
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

17 years agokernel tree reorganization stage 1: Major cvs repository work (not logged as
Matthew Dillon [Thu, 7 Aug 2003 21:19:26 +0000 (21:19 +0000)]
kernel tree reorganization stage 1: Major cvs repository work (not logged as
commits) plus a major reworking of the #include's to accomodate the
relocations.

    * CVS repository files manually moved.  Old directories left intact
      and empty (temporary).

    * Reorganize all filesystems into vfs/, most devices into dev/,
      sub-divide devices by function.

    * Begin to move device-specific architecture files to the device
      subdirs rather then throwing them all into, e.g. i386/include

    * Reorganize files related to system busses, placing the related code
      in a new bus/ directory.  Also move cam to bus/cam though this may
      not have been the best idea in retrospect.

    * Reorganize emulation code and place it in a new emulation/ directory.

    * Remove the -I- compiler option in order to allow #include file
      localization, rename all config generated X.h files to use_X.h to
      clean up the conflicts.

    * Remove /usr/src/include (or /usr/include) dependancies during the
      kernel build, beyond what is normally needed to compile helper
      programs.

    * Make config create 'machine' softlinks for architecture specific
      directories outside of the standard <arch>/include.

    * Bump the config rev.

    WARNING! after this commit /usr/include and /usr/src/sys/compile/*
    should be regenerated from scratch.

17 years agoHardwire i386 instead of using the borken machine variable
Robert Garrett [Wed, 6 Aug 2003 20:23:19 +0000 (20:23 +0000)]
Hardwire i386 instead of using the borken machine variable

17 years agoremove unmatched endif
Robert Garrett [Wed, 6 Aug 2003 20:22:33 +0000 (20:22 +0000)]
remove unmatched endif

17 years agoremove reference to krb4 in sysinstalls man page
Robert Garrett [Wed, 6 Aug 2003 20:21:37 +0000 (20:21 +0000)]
remove reference to krb4 in sysinstalls man page

17 years agoadd -crypto to the list of required libraries
Robert Garrett [Wed, 6 Aug 2003 20:20:29 +0000 (20:20 +0000)]
add -crypto to the list of required libraries

17 years agoUndo a local change that made it into the makefile
Robert Garrett [Wed, 6 Aug 2003 20:19:10 +0000 (20:19 +0000)]
Undo a local change that made it into the makefile

17 years agoChange this back
Robert Garrett [Wed, 6 Aug 2003 19:58:46 +0000 (19:58 +0000)]
Change this back

17 years agoBackout my ``proc cleanup'' brain damage.
Hiten Pandya [Tue, 5 Aug 2003 18:07:41 +0000 (18:07 +0000)]
Backout my ``proc cleanup'' brain damage.

 -- Thy shall not listen to LINT about stupid things.

17 years agoFix conditional that had two &&'s so that make release
Robert Garrett [Tue, 5 Aug 2003 17:11:04 +0000 (17:11 +0000)]
Fix conditional that had two &&'s so that make release
will work.
--Needed for RCng testing.

17 years agoUm, ok. I should have slept a little more.
Hiten Pandya [Tue, 5 Aug 2003 14:08:52 +0000 (14:08 +0000)]
Um, ok.  I should have slept a little more.

Fix the affects of my braindamage in svr4_fcntl.c

Spotted by: asmodai, robg

17 years agoRemove kerberosIV from the build.
Jeroen Ruigrok/asmodai [Tue, 5 Aug 2003 07:45:44 +0000 (07:45 +0000)]
Remove kerberosIV from the build.

Both normal builds and kerberos5 builds have been tested to work.

17 years agoClean up two lint warnings, by adding /* NOTREACHED */ in the appropriate
Jeroen Ruigrok/asmodai [Tue, 5 Aug 2003 06:15:21 +0000 (06:15 +0000)]
Clean up two lint warnings, by adding /* NOTREACHED */ in the appropriate
places.

Sort of syncs us with rev 1.27 of FreeBSD's cat.c.

17 years agoFix a compile time error. Rename MAX to RAINMAX and get rid of all the
Matthew Dillon [Sun, 3 Aug 2003 17:27:17 +0000 (17:27 +0000)]
Fix a compile time error.  Rename MAX to RAINMAX and get rid of all the
silly #ifdef checks.  I think we can safely blame FreeBSD braindamage
for this one :-).

17 years agoExplicitly use an unsigned index for 'which' in shmsys(), msgsys(), and
Matthew Dillon [Sun, 3 Aug 2003 17:11:36 +0000 (17:11 +0000)]
Explicitly use an unsigned index for 'which' in shmsys(), msgsys(), and
semsys(), so the implications of the use of a negative index become obvious.
Fix the misdocumented 'which' UAP argument, which is actually signed.

Note: There is no security issue because sizeof() is unsigned but such
non-explicit comparisons are a very dangerous way to code and this fixes
that.

17 years agoRemove NOSECURE which no longer serves a purpose. Note: FreeBSD also removed
Matthew Dillon [Sun, 3 Aug 2003 16:45:17 +0000 (16:45 +0000)]
Remove NOSECURE which no longer serves a purpose.  Note: FreeBSD also removed
NOSECURE.

Submitted-by: Jeroen Ruigrok/asmodai <asmodai@tendra.org>
17 years agoMove the backtrace() function from kern_subr.c to kern_debug.c.
Hiten Pandya [Sun, 3 Aug 2003 12:29:05 +0000 (12:29 +0000)]
Move the backtrace() function from kern_subr.c to  kern_debug.c.

All debugging related kernel functions, and syscalls should
be added into this file.

Discussed with: Matt (about kern_debug.c)

17 years agoDELAY() does not belong in a MD include file, instead, move
Hiten Pandya [Sun, 3 Aug 2003 11:51:25 +0000 (11:51 +0000)]
DELAY() does not belong in a MD include file, instead, move
it to sys/systm.h where it fits better with the other clock
related functions.

17 years agoAdd backtrace() prototype.
Hiten Pandya [Sun, 3 Aug 2003 11:47:58 +0000 (11:47 +0000)]
Add backtrace() prototype.

17 years agoLINT cleanup: remove redundant ``struct proc *p'' declarations.
Hiten Pandya [Sun, 3 Aug 2003 11:42:28 +0000 (11:42 +0000)]
LINT cleanup: remove redundant ``struct proc *p'' declarations.

17 years agoDefine HAVE_PPSRATECHECK macro, now that we have merged the
Hiten Pandya [Sun, 3 Aug 2003 11:41:12 +0000 (11:41 +0000)]
Define HAVE_PPSRATECHECK macro, now that we have merged the
ppsratecheck() function from FreeBSD.

Prodded by: LINT

17 years agoLINT cleanup: fix MAX difinition.
Hiten Pandya [Sun, 3 Aug 2003 11:39:57 +0000 (11:39 +0000)]
LINT cleanup: fix MAX difinition.

17 years agoLINT cleanup: add <sys/systm.h> for printf()
Hiten Pandya [Sun, 3 Aug 2003 11:38:45 +0000 (11:38 +0000)]
LINT cleanup: add <sys/systm.h> for printf()

17 years agoUse FOREACH_PROC_IN_SYSTEM() throughout.
Hiten Pandya [Sun, 3 Aug 2003 10:07:41 +0000 (10:07 +0000)]
Use FOREACH_PROC_IN_SYSTEM() throughout.

17 years agoCleanup remaining tsleep priority issues.
Matthew Dillon [Fri, 1 Aug 2003 17:46:27 +0000 (17:46 +0000)]
Cleanup remaining tsleep priority issues.

Submitted-by: Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
17 years agoFix a pointer bug introduced by syscall messaging. semget() should work
Matthew Dillon [Fri, 1 Aug 2003 17:14:23 +0000 (17:14 +0000)]
Fix a pointer bug introduced by syscall messaging.  semget() should work
properly now.

Submitted-by: qhwt@myrealbox.com
17 years agofix ;; in /etc/rc.subr
Robert Garrett [Fri, 1 Aug 2003 16:30:41 +0000 (16:30 +0000)]
fix ;; in /etc/rc.subr
caught by:qhwt

17 years agoEnable SSE by default, add nob to turn it off
Robert Garrett [Fri, 1 Aug 2003 10:58:59 +0000 (10:58 +0000)]
Enable SSE by default, add nob to turn it off

Submitted by: Craig Dooley
Aproved by: Matt Dillon

17 years agoUpdate mtree so man pages quit complaining
Robert Garrett [Fri, 1 Aug 2003 09:57:34 +0000 (09:57 +0000)]
Update mtree so man pages quit complaining

17 years agoattach rc.subr to the build
Robert Garrett [Fri, 1 Aug 2003 04:37:51 +0000 (04:37 +0000)]
attach rc.subr to the build

17 years agoAdd rc.subr to our list of most informative manpages
Robert Garrett [Fri, 1 Aug 2003 04:36:57 +0000 (04:36 +0000)]
Add rc.subr to our list of most informative manpages

17 years agoUpdate rc manpage to reflect RCng
Robert Garrett [Fri, 1 Aug 2003 04:31:03 +0000 (04:31 +0000)]
Update rc manpage to reflect RCng

17 years agoAdd nsswitch.conf.5 to man page build
Robert Garrett [Fri, 1 Aug 2003 04:25:15 +0000 (04:25 +0000)]
Add nsswitch.conf.5 to man page build

17 years agoupdate manpage to reflect changes in RCng
Robert Garrett [Fri, 1 Aug 2003 04:23:44 +0000 (04:23 +0000)]
update manpage to reflect changes in RCng

17 years agoBring in the man page for nsswitch.conf this is part of RCng
Robert Garrett [Fri, 1 Aug 2003 04:11:23 +0000 (04:11 +0000)]
Bring in the man page for nsswitch.conf this is part of RCng

17 years agoLet us not forget network.subr either
Robert Garrett [Fri, 1 Aug 2003 03:48:33 +0000 (03:48 +0000)]
Let us not forget network.subr either

17 years agoAdd rc.subr to /etc/Makefile this fixes a bug where
Robert Garrett [Fri, 1 Aug 2003 03:47:06 +0000 (03:47 +0000)]
Add rc.subr to /etc/Makefile this fixes a bug where
rc.subr is failing to be installed

17 years agoClear the BSS earlier in the boot sequence and clean up the comments. This
Matthew Dillon [Thu, 31 Jul 2003 19:56:59 +0000 (19:56 +0000)]
Clear the BSS earlier in the boot sequence and clean up the comments.  This
will allow us to not have to worry about .data vs .bss globals in the future
(especially since gcc 3.x 'optimizes' things like (global) int x = 0 -> bss).
Also note that many boot loaders do not clear the bss.

Taken-from: FreeBSD sys/i386/i386/locore.s 1.172 and 1.174 (bde)
Submitted-by: Craig Dooley <cd5697@albany.edu>
17 years agoGet LINT to build.
Hiten Pandya [Thu, 31 Jul 2003 12:37:39 +0000 (12:37 +0000)]
Get LINT to build.

This commit is a followup to the removal of <machine/asnames.h>:

Attic/asnames.h, rev 1.12:

Remove pre-ELF underscore prefix and asnames macro hacks.

Reported by: http://ps.catpa.com/tinderbox/

17 years agoGeneralise, and remove SI_SUB_VINUM; use SI_SUB_RAID instead.
Hiten Pandya [Thu, 31 Jul 2003 12:01:38 +0000 (12:01 +0000)]
Generalise, and remove SI_SUB_VINUM; use SI_SUB_RAID instead.

17 years agoLINT breakage fix, part one:
Hiten Pandya [Thu, 31 Jul 2003 11:03:34 +0000 (11:03 +0000)]
LINT breakage fix, part one:

Changes the remaining calls to disable_intr() to cpu_disable_intr()

Reviewed by: dillon

17 years ago - Make `vmstat -i' working after Matt's interrupt related
Hiten Pandya [Wed, 30 Jul 2003 05:19:54 +0000 (05:19 +0000)]
- Make `vmstat -i' working after Matt's interrupt related
  changes.

- While I am there, make the namelist structure static.

17 years agoTurn off CHECK_POINTS debugging.
Matthew Dillon [Wed, 30 Jul 2003 02:59:19 +0000 (02:59 +0000)]
Turn off CHECK_POINTS debugging.

17 years agoTry to distinguish PCS encoding error events
David Rhodus [Wed, 30 Jul 2003 01:34:49 +0000 (01:34 +0000)]
Try to distinguish PCS encoding error events
from actual link state change events.

Obtained from: FreeBSD

17 years agoLINT synchronization, remove remaining manually defined MIN macros.
Matthew Dillon [Wed, 30 Jul 2003 00:20:41 +0000 (00:20 +0000)]
LINT synchronization, remove remaining manually defined MIN macros.

17 years agosyscall messaging 3: Expand the 'header' that goes in front of the syscall
Matthew Dillon [Wed, 30 Jul 2003 00:19:16 +0000 (00:19 +0000)]
syscall messaging 3: Expand the 'header' that goes in front of the syscall
arguments in the kernel copy.  The header was previously just an lwkt_msg.
The header is now a 'union sysmsg'.  'union sysmsg' contains an lwkt_msg
plus space for the additional meta data required to asynchronize various
system calls.   We haven't actually asynchronized anything yet and will not
be able to until the reply port and abort processing infrastructure is
in place.  See sys/sysmsg.h for more information on the new header.

Also cleanup syscall generation somewhat and add some ibcs2 stuff I missed.

17 years agoFix CPU stats percentages formatting
David Rhodus [Tue, 29 Jul 2003 23:15:36 +0000 (23:15 +0000)]
Fix CPU stats percentages formatting
so that they never coalesce.

17 years agoRemove KKASSERT(p)'s, 'p' (curproc) no longer exists in this functions.
Matthew Dillon [Tue, 29 Jul 2003 21:54:15 +0000 (21:54 +0000)]
Remove KKASSERT(p)'s, 'p' (curproc) no longer exists in this functions.

17 years agoFix for trap 12 on KVA space exhaustion.
David Rhodus [Tue, 29 Jul 2003 21:51:07 +0000 (21:51 +0000)]
Fix for trap 12 on KVA space exhaustion.

Possible panic where the available backing
pages for the KVA space are less than the
available memory.

17 years agoConsolidate MIN() usage across kern/ tree.
Hiten Pandya [Tue, 29 Jul 2003 21:30:02 +0000 (21:30 +0000)]
Consolidate MIN() usage across kern/ tree.

Submitted by: Craig Dooley <cd5697@albany.edu>

17 years agostyle(9) police:
Hiten Pandya [Tue, 29 Jul 2003 21:24:33 +0000 (21:24 +0000)]
style(9) police:

- use tab character with #define

17 years agoRemove INVARIANT_SUPPORT conditional pre-processing on zerror(). Just
Hiten Pandya [Tue, 29 Jul 2003 21:13:49 +0000 (21:13 +0000)]
Remove INVARIANT_SUPPORT conditional pre-processing on zerror().  Just
use INVARIANTS.

The latter creates unwanted problems when just adding the INVARIANTS
option to the kernel.

17 years agoNo need to comment out unused thread/proc declarations (prev. revision),
Hiten Pandya [Tue, 29 Jul 2003 20:31:03 +0000 (20:31 +0000)]
No need to comment out unused thread/proc declarations (prev. revision),
just remove them.

Suggested by: Matt

17 years agoComment out the unused proc/thread declarations.
Hiten Pandya [Tue, 29 Jul 2003 20:06:35 +0000 (20:06 +0000)]
Comment out the unused proc/thread declarations.

Submitted by: Craig Dooley <cd5697@albany.edu>

17 years agofileops messaging stage 1: add port and feature mask to struct fileops and
Matthew Dillon [Tue, 29 Jul 2003 20:03:08 +0000 (20:03 +0000)]
fileops messaging stage 1: add port and feature mask to struct fileops and
rename fo_ functions to fold.

17 years agoadd missing lwkt_msg to manually specified syscall args structure.
Matthew Dillon [Tue, 29 Jul 2003 19:39:03 +0000 (19:39 +0000)]
add missing lwkt_msg to manually specified syscall args structure.

17 years agoKernel Police:
Hiten Pandya [Tue, 29 Jul 2003 12:51:30 +0000 (12:51 +0000)]
Kernel Police:

- Fix Mbuf/Malloc flag misuse.
- Remove redundant memset() redifiniton (ng_l2tp.c)