dragonfly.git
20 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

20 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.

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

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

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

20 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

20 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?

20 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>

20 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

20 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

20 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>
20 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

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

20 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

20 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.

20 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.

20 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

20 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.

20 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.

20 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.

20 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.

20 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

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

20 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

20 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

20 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

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

20 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.

20 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.

20 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

20 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.

20 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.

20 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 :-).

20 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.

20 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>
20 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)

20 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.

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

20 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.

20 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

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

20 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()

20 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.

20 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>
20 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
20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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>
20 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/

20 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.

20 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

20 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.

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

20 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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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>

20 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

20 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.

20 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

20 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>

20 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.

20 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.

20 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)

20 years agoKernel Police:
Hiten Pandya [Tue, 29 Jul 2003 12:45:42 +0000 (12:45 +0000)]
Kernel Police:

- Fix Mbuf/Malloc flag misuse.

20 years agoNow we can add stat to the build
Robert Garrett [Tue, 29 Jul 2003 00:29:07 +0000 (00:29 +0000)]
Now we can add stat to the build

20 years agoThe code to print correct time in long format is not currently in
Robert Garrett [Tue, 29 Jul 2003 00:27:49 +0000 (00:27 +0000)]
The code to print correct time in long format is not currently in
stat, tell it not to use those variables until I can get it added.

20 years agoMake stat behave in the default case
Robert Garrett [Tue, 29 Jul 2003 00:22:37 +0000 (00:22 +0000)]
Make stat behave in the default case

20 years agoFix the msgsys(), semsys(), and shmsys() syscalls which were broken by the
Matthew Dillon [Mon, 28 Jul 2003 23:28:57 +0000 (23:28 +0000)]
Fix the msgsys(), semsys(), and shmsys() syscalls which were broken by the
messaging code.

20 years agoImport Stat.
Robert Garrett [Mon, 28 Jul 2003 20:47:10 +0000 (20:47 +0000)]
Import Stat.

This does not tie it into the build, as there are a few wrinkles that
need to be ironed first.

20 years agoRemove annoying calls to non existing sysctl's
Robert Garrett [Mon, 28 Jul 2003 19:30:53 +0000 (19:30 +0000)]
Remove annoying calls to non existing sysctl's

found by: A lot of people

20 years agoAssorted mdoc(7) fixes:
Hiten Pandya [Mon, 28 Jul 2003 07:27:38 +0000 (07:27 +0000)]
Assorted mdoc(7) fixes:

- nuke the vnode struct out of this file.
- use .Va/.Vt instead of .Dv where appropriate
- use 'manual page' instead of 'man page'

At a later date, it might be good idea to describe
the various vnode struct members in this manual page.

20 years agoBring us in sync with 4.8-STABLE.
Hiten Pandya [Mon, 28 Jul 2003 06:37:19 +0000 (06:37 +0000)]
Bring us in sync with 4.8-STABLE.

Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>

20 years agoFix mergemaster so it doesnt depend on stat
Robert Garrett [Mon, 28 Jul 2003 06:28:23 +0000 (06:28 +0000)]
Fix mergemaster so it doesnt depend on stat
and teach it about $DragonFly$

Thanks to Steve Mynott for catching the $DragonFly$
bit.

20 years agoUse relative directory, rather than /sys, as base directory for "make tags".
Jeffrey Hsu [Mon, 28 Jul 2003 05:59:10 +0000 (05:59 +0000)]
Use relative directory, rather than /sys, as base directory for "make tags".
Remove obsolete directories.

20 years agoUpdate a case where changing the uname to DragonFly would break RCng
Robert Garrett [Mon, 28 Jul 2003 05:53:20 +0000 (05:53 +0000)]
Update a case where changing the uname to DragonFly would break RCng

20 years agoBring the malloc/mbuf flags up-to-date with FreeBSD.
Hiten Pandya [Mon, 28 Jul 2003 05:03:25 +0000 (05:03 +0000)]
Bring the malloc/mbuf flags up-to-date with FreeBSD.

20 years agoDDB updates:
Hiten Pandya [Mon, 28 Jul 2003 04:56:35 +0000 (04:56 +0000)]
DDB updates:

- add 'where' as an alias to 'trace'
- add db_print_backtrace() and backtrace() (machine-dependant)
- add 'reset' command

20 years agoFix building of vm_zone.c in the case of INVARIANTS.
Hiten Pandya [Mon, 28 Jul 2003 04:41:37 +0000 (04:41 +0000)]
Fix building of vm_zone.c in the case of INVARIANTS.

20 years agoMerge from FreeBSD:
Hiten Pandya [Mon, 28 Jul 2003 04:29:12 +0000 (04:29 +0000)]
Merge from FreeBSD:

- ppsratecheck() - packets/events per second limitation
- ratecheck - time based rate-limiting

20 years agoOops, fix build before anyone realises. :-)
Hiten Pandya [Mon, 28 Jul 2003 00:02:44 +0000 (00:02 +0000)]
Oops, fix build before anyone realises. :-)

20 years agomdoc(7) assorted fixes:
Hiten Pandya [Sun, 27 Jul 2003 05:36:06 +0000 (05:36 +0000)]
mdoc(7) assorted fixes:

- Nuke usage of .Ar from Section 9.  The `.Ar' macro
  should only be used for userland manual pages.

- Replace usage of `.Ar' with `.Va' or `.Vt' as necessary.

20 years agomdoc(7) assorted fixes:
Hiten Pandya [Sun, 27 Jul 2003 05:33:24 +0000 (05:33 +0000)]
mdoc(7) assorted fixes:

- fix an .Xr instance

20 years agoNull terminate the new argv[] array when converting 'tar zcf' to
David Rhodus [Sun, 27 Jul 2003 03:20:17 +0000 (03:20 +0000)]
Null terminate the new argv[] array when converting 'tar zcf' to
'tar -z -c -f'

20 years agoConsolidate usage of MIN/MAX().
Hiten Pandya [Sun, 27 Jul 2003 01:49:53 +0000 (01:49 +0000)]
Consolidate usage of MIN/MAX().

Instead, just remove the conditional processing in sys/param.h so
it's available to all files.

20 years agoRegister keyword removal
Robert Garrett [Sat, 26 Jul 2003 22:10:03 +0000 (22:10 +0000)]
Register keyword removal

Approved by: Matt Dillon

20 years agoRegister keyword removal
Robert Garrett [Sat, 26 Jul 2003 22:04:27 +0000 (22:04 +0000)]
Register keyword removal

Approved by: Matt Dillon

20 years agoRegister keyword removal
Robert Garrett [Sat, 26 Jul 2003 21:56:10 +0000 (21:56 +0000)]
Register keyword removal

Approved by: Matt Dillon