]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 10:35:22 +0000 (10:35 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove __P().
markm [Wed, 20 Mar 2002 10:32:05 +0000 (10:32 +0000)]
Remove __P().

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 10:17:00 +0000 (10:17 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove unused include.
jeff [Wed, 20 Mar 2002 10:12:07 +0000 (10:12 +0000)]
Remove unused include.

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 10:07:52 +0000 (10:07 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoReplace calls to cpu_critical_enter/exit with appropriate calls to
dfr [Wed, 20 Mar 2002 10:04:08 +0000 (10:04 +0000)]
Replace calls to cpu_critical_enter/exit with appropriate calls to
either explicitly disable interrupts or use a real critical section,
as appropriate.

22 years agoRecreate intr_disable/intr_enable and implement cpu_critical_enter/exit
dfr [Wed, 20 Mar 2002 10:00:05 +0000 (10:00 +0000)]
Recreate intr_disable/intr_enable and implement cpu_critical_enter/exit
in terms of that (for now).

22 years agoRemove unused include.
jeff [Wed, 20 Mar 2002 09:55:07 +0000 (09:55 +0000)]
Remove unused include.

22 years agoRemove unused header.
jeff [Wed, 20 Mar 2002 09:46:04 +0000 (09:46 +0000)]
Remove unused header.

22 years agoAdd a paragraph break I missed in my last update.
cjc [Wed, 20 Mar 2002 09:39:37 +0000 (09:39 +0000)]
Add a paragraph break I missed in my last update.

22 years agoFixed the NO_PERL braino.
ru [Wed, 20 Mar 2002 09:39:16 +0000 (09:39 +0000)]
Fixed the NO_PERL braino.

22 years ago* add extra -I path to get the "matching" header files. (and split the one
darrenr [Wed, 20 Mar 2002 09:04:34 +0000 (09:04 +0000)]
* add extra -I path to get the "matching" header files. (and split the one
  line up into three to make it more readable)

22 years ago* add extra -I path to get the "matching" header files.
darrenr [Wed, 20 Mar 2002 09:02:48 +0000 (09:02 +0000)]
* add extra -I path to get the "matching" header files.

22 years ago* need to compile printnat.c now that this function is in a separate .c file
darrenr [Wed, 20 Mar 2002 09:01:48 +0000 (09:01 +0000)]
* need to compile printnat.c now that this function is in a separate .c file
* add extra -I path to get the "matching" header files.

22 years agoWhen invoked with no file arguments, display usage.
mike [Wed, 20 Mar 2002 08:59:20 +0000 (08:59 +0000)]
When invoked with no file arguments, display usage.

Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
PR: 36074

Use new ID scheme.

22 years ago* ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to
darrenr [Wed, 20 Mar 2002 08:57:10 +0000 (08:57 +0000)]
* ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to
do the log regression test.
* dumping state/nat entries is also possible, outputting this information is
  in the print{state,nat}.c files.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 08:56:31 +0000 (08:56 +0000)]
Remove __P.

22 years agoVarious style issues from a recent brucification:
phk [Wed, 20 Mar 2002 08:48:21 +0000 (08:48 +0000)]
Various style issues from a recent brucification:
  use uint_%dt not u_int%dt
  Avoid LL suffixed intergers where we can by using explicit casts.
  (The last two I don't know how to avoid.)
  Add an explanation why truncation rather than rounding is used.

Inspired by: bde

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 08:48:07 +0000 (08:48 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 08:03:54 +0000 (08:03 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 08:00:54 +0000 (08:00 +0000)]
Remove __P.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 07:51:46 +0000 (07:51 +0000)]
Remove __P.

22 years agoUnifdef __FreeBSD__
phk [Wed, 20 Mar 2002 07:44:09 +0000 (07:44 +0000)]
Unifdef __FreeBSD__

MD5 checksum of binary unchanged.

22 years agoSwing the axe and remove some archaic features from newfs which modern
phk [Wed, 20 Mar 2002 07:16:15 +0000 (07:16 +0000)]
Swing the axe and remove some archaic features from newfs which modern
diskdrives do neither need nor want:

-O create a 4.3BSD format filesystem
-d rotational delay between contiguous blocks
-k sector 0 skew, per track
-l hardware sector interleave
-n number of distinguished rotational positions
-p spare sectors per track
-r revolutions/minute
-t tracks/cylinder
-x spare sectors per cylinder

No change in the produced filesystem image unless one or more of
these options were used.

Approved by: mckusick

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 06:48:11 +0000 (06:48 +0000)]
Remove __P.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 05:48:58 +0000 (05:48 +0000)]
Remove __P.

22 years agoSwitch vm_zone.h with uma.h. Change over to uma interfaces.
jeff [Wed, 20 Mar 2002 05:48:55 +0000 (05:48 +0000)]
Switch vm_zone.h with uma.h.  Change over to uma interfaces.

22 years agoAdd calls to uma_zone_set_max() to restore previously enforced limits.
jeff [Wed, 20 Mar 2002 05:30:58 +0000 (05:30 +0000)]
Add calls to uma_zone_set_max() to restore previously enforced limits.

22 years agoAdd uma_zone_set_max() to add enforced limits to non vm obj backed zones.
jeff [Wed, 20 Mar 2002 05:28:34 +0000 (05:28 +0000)]
Add uma_zone_set_max() to add enforced limits to non vm obj backed zones.

22 years agoIncrement pmap_pvo_count in the right place.
benno [Wed, 20 Mar 2002 05:25:33 +0000 (05:25 +0000)]
Increment pmap_pvo_count in the right place.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 05:14:42 +0000 (05:14 +0000)]
Remove __P.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 05:00:21 +0000 (05:00 +0000)]
Remove __P.

22 years agoBackout part of my previous commit; I was wrong about vm_zone's handling of
jeff [Wed, 20 Mar 2002 04:39:32 +0000 (04:39 +0000)]
Backout part of my previous commit;  I was wrong about vm_zone's handling of
limits on zones w/o objects.

22 years agoKill register
imp [Wed, 20 Mar 2002 04:33:25 +0000 (04:33 +0000)]
Kill register

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 04:11:52 +0000 (04:11 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 04:09:59 +0000 (04:09 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

Also, remove maxsockets.  If you look carefully you'll notice that the old
zone allocator never honored this anyway.

22 years agoFix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
dillon [Wed, 20 Mar 2002 04:05:26 +0000 (04:05 +0000)]
Fix a bug introduced in 1.11 (and also MFCd to stable AND the security branch)
that causes a machine to panic when the kernel PPP / DEFLATE code is used.
1.11 moved a ZFREE to a point after the structural members were clobbered
by stores into a union'd structure.

This commit fixes the bug and adds a big whopping comment to make sure
the code isn't 'cleaned up' again :-)

Ian Dowse came up with the same patch independantly 68 seconds before I
did, talk about Karma!

I would also like to thank Eugene Grosbein for marathon work in tracking the
problem down by udpating his -stable based on date over and over again
to close in on the commit that caused his crashes.

PR: kern/35969
Reviewed by: Ian Dowse <iedowse@maths.tcd.ie>
X-MFC after:  immediately

22 years agoRemove references to vm_zone.h and switch over to the new uma API.
jeff [Wed, 20 Mar 2002 04:02:59 +0000 (04:02 +0000)]
Remove references to vm_zone.h and switch over to the new uma API.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 02:39:27 +0000 (02:39 +0000)]
Remove __P.

22 years ago"-" now sends output to stdout.
rwatson [Wed, 20 Mar 2002 02:35:14 +0000 (02:35 +0000)]
"-" now sends output to stdout.

22 years agoTeach growfs's dbg_open() that a filename of "-" for output means to
rwatson [Wed, 20 Mar 2002 02:34:01 +0000 (02:34 +0000)]
Teach growfs's dbg_open() that a filename of "-" for output means to
open "/dev/stdout".  This doesn't actually affect growfs, but does affect
ffsinfo, permitting ffsinfo to output to the shell's stdout rather than
requiring it be dumped to a file or explicitly pointed at a special
device.

Reviewed by: peter

22 years agoForce the boot cpu to wait for the APs to finish starting up. This eliminates
jeff [Wed, 20 Mar 2002 02:27:55 +0000 (02:27 +0000)]
Force the boot cpu to wait for the APs to finish starting up.  This eliminates
a race where the AP and the boot cpu were trying to printf at the same time,
which was confusing the console too much for it to continue working.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 02:15:46 +0000 (02:15 +0000)]
Remove __P.

22 years agoRemove ipnat until the committer can actually test his changes.
obrien [Wed, 20 Mar 2002 02:09:50 +0000 (02:09 +0000)]
Remove ipnat until the committer can actually test his changes.

22 years agoRemove __P.
alfred [Wed, 20 Mar 2002 02:08:01 +0000 (02:08 +0000)]
Remove __P.

22 years agoMFen.
kuriyama [Wed, 20 Mar 2002 02:01:26 +0000 (02:01 +0000)]
MFen.

22 years agoRemove ipftest until the committer can actually test his changes.
obrien [Wed, 20 Mar 2002 01:57:52 +0000 (01:57 +0000)]
Remove ipftest until the committer can actually test his changes.

22 years agoFix bugs from previous commit: initialize the correct field and use
mikeh [Wed, 20 Mar 2002 01:31:15 +0000 (01:31 +0000)]
Fix bugs from previous commit: initialize the correct field and use
the correct local variable.

Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh

22 years agoCast pointers to uintptr_t rather than u_int32_t. This doesn't work too
peter [Tue, 19 Mar 2002 23:28:35 +0000 (23:28 +0000)]
Cast pointers to uintptr_t rather than u_int32_t.  This doesn't work too
well on machines with 64 bit pointers.

22 years agoPacify gcc-3.1.
peter [Tue, 19 Mar 2002 23:26:37 +0000 (23:26 +0000)]
Pacify gcc-3.1.

22 years agoFix some gcc-3.1+ warnings:
peter [Tue, 19 Mar 2002 23:20:21 +0000 (23:20 +0000)]
Fix some gcc-3.1+ warnings:
warning: deprecated use of label at end of compound statement
umass.c:2626:46: multi-line string literals are deprecated

22 years agoAdd EFI write support to loader
peter [Tue, 19 Mar 2002 23:05:33 +0000 (23:05 +0000)]
Add EFI write support to loader

22 years agoAdd the ability to recognize old references to keys, and return NULL
deischen [Tue, 19 Mar 2002 22:58:56 +0000 (22:58 +0000)]
Add the ability to recognize old references to keys, and return NULL
when old keys are referenced (after pthread_key_delete()) via
pthread_getspecific().

22 years agoHopefully fix make world.
alfred [Tue, 19 Mar 2002 22:51:53 +0000 (22:51 +0000)]
Hopefully fix make world.

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>

22 years agoRemove __P.
alfred [Tue, 19 Mar 2002 22:40:48 +0000 (22:40 +0000)]
Remove __P.

22 years agoRemove __P.
alfred [Tue, 19 Mar 2002 22:20:14 +0000 (22:20 +0000)]
Remove __P.

22 years agoSync the uhci_dump_foo routines with NetBSD, and remove an errant additional
joe [Tue, 19 Mar 2002 22:14:08 +0000 (22:14 +0000)]
Sync the uhci_dump_foo routines with NetBSD, and remove an errant additional
uhci_dump_ii function that landed there, probably during a recent merge.

Spotted by: alfred

22 years agoRemove __P.
alfred [Tue, 19 Mar 2002 21:54:18 +0000 (21:54 +0000)]
Remove __P.

22 years agoadd missing semicolon.
alfred [Tue, 19 Mar 2002 21:44:49 +0000 (21:44 +0000)]
add missing semicolon.

22 years agoRemove __P.
alfred [Tue, 19 Mar 2002 21:25:46 +0000 (21:25 +0000)]
Remove __P.

22 years agoAdd the undocumented -R option to disable randomness for regression-testing.
phk [Tue, 19 Mar 2002 21:05:29 +0000 (21:05 +0000)]
Add the undocumented -R option to disable randomness for regression-testing.

Add a couple of simple regression tests accessible with "make test", they
depend on the md(4) driver.

FYI I have also tried running the test against a week old newfs and it
passed.

22 years agodon't generate files with __P.
alfred [Tue, 19 Mar 2002 20:48:32 +0000 (20:48 +0000)]
don't generate files with __P.

22 years agofix blockno printf formatting warnings.
alfred [Tue, 19 Mar 2002 20:46:30 +0000 (20:46 +0000)]
fix blockno printf formatting warnings.

22 years agoRemove __P
alfred [Tue, 19 Mar 2002 20:18:42 +0000 (20:18 +0000)]
Remove __P

22 years agoFix bio->bio_blkno format warning.
alfred [Tue, 19 Mar 2002 20:12:08 +0000 (20:12 +0000)]
Fix bio->bio_blkno format warning.

22 years agoFurther cleanups.
phk [Tue, 19 Mar 2002 20:01:38 +0000 (20:01 +0000)]
Further cleanups.

22 years agoRemove duplicate extern declarations to silence warnings.
alfred [Tue, 19 Mar 2002 19:45:41 +0000 (19:45 +0000)]
Remove duplicate extern declarations to silence warnings.

22 years agoRemove stray register
imp [Tue, 19 Mar 2002 18:47:50 +0000 (18:47 +0000)]
Remove stray register

22 years agoDe-__P the man page, but I suspect that we need to freshly import
imp [Tue, 19 Mar 2002 18:44:56 +0000 (18:44 +0000)]
De-__P the man page, but I suspect that we need to freshly import
sys/disklabel.h since the one in here looks a little crunchy.

22 years agoReplace a number of similar `for' loops with a new `ilog2()' function
iedowse [Tue, 19 Mar 2002 17:39:01 +0000 (17:39 +0000)]
Replace a number of similar `for' loops with a new `ilog2()' function
that computes the base-2 log of a power of 2.

22 years agoComplete the ANSIfication of newfs by converting function declarations
iedowse [Tue, 19 Mar 2002 17:20:02 +0000 (17:20 +0000)]
Complete the ANSIfication of newfs by converting function declarations
to C89 style.

22 years agoThe FSIRAND code is always compiled in, and it is unlikely that
iedowse [Tue, 19 Mar 2002 17:03:14 +0000 (17:03 +0000)]
The FSIRAND code is always compiled in, and it is unlikely that
anyone needs a newfs without it. Remove the #ifdef's from around
the code and the -DFSIRAND from the Makefile. Also remove redundant
declarations of random() and srandomdev().

22 years agoRemove the ancient STANDALONE code.
iedowse [Tue, 19 Mar 2002 16:47:20 +0000 (16:47 +0000)]
Remove the ancient STANDALONE code.

Approved by: phk

22 years agoUnbreak for KRB4 ^ KRB5 case.
des [Tue, 19 Mar 2002 16:44:11 +0000 (16:44 +0000)]
Unbreak for KRB4 ^ KRB5 case.

Sponsored by: DARPA, NAI Labs

22 years agoAdd graphics/gimp1 and lang/gnat to the list of must-have packages for
murray [Tue, 19 Mar 2002 16:40:03 +0000 (16:40 +0000)]
Add graphics/gimp1 and lang/gnat to the list of must-have packages for
disc #3.

Requested by: "Dennis Lowery" <dennisl@rio.com>

22 years ago- Change a malloc / bzero pair to make use of the M_ZERO malloc(9) flag.
arr [Tue, 19 Mar 2002 15:41:21 +0000 (15:41 +0000)]
- Change a malloc / bzero pair to make use of the M_ZERO malloc(9) flag.

22 years agoFor this regression test to pass, you must run ipmon in the Australia/Victoria
darrenr [Tue, 19 Mar 2002 15:17:06 +0000 (15:17 +0000)]
For this regression test to pass, you must run ipmon in the Australia/Victoria
(EST-10) timezone to generate the correct timestamps in output.

22 years agodo not include the missing ip_h323_pxy.c
darrenr [Tue, 19 Mar 2002 15:14:18 +0000 (15:14 +0000)]
do not include the missing ip_h323_pxy.c

22 years agoremove because of licence reasons
darrenr [Tue, 19 Mar 2002 15:13:27 +0000 (15:13 +0000)]
remove because of licence reasons

22 years agoboth ipnat and ipfstat now use libkvm rather than their own home-rolled
darrenr [Tue, 19 Mar 2002 15:07:30 +0000 (15:07 +0000)]
both ipnat and ipfstat now use libkvm rather than their own home-rolled
kmem accessors, allowing them to be used with crash dumps as well as live
systems, now.

22 years agoput an extern for ip6_protox in here where it is only used for kernel compiling
darrenr [Tue, 19 Mar 2002 15:01:21 +0000 (15:01 +0000)]
put an extern for ip6_protox in here where it is only used for kernel compiling

22 years agoput an extern for inet6sw in here and make it active only for kernel compiling
darrenr [Tue, 19 Mar 2002 14:56:59 +0000 (14:56 +0000)]
put an extern for inet6sw in here and make it active only for kernel compiling

22 years agoAdd five GEOM oriented ioctls to get basic information about a geom device.
phk [Tue, 19 Mar 2002 13:54:15 +0000 (13:54 +0000)]
Add five GEOM oriented ioctls to get basic information about a geom device.

22 years agoo Remove __P
imp [Tue, 19 Mar 2002 13:29:39 +0000 (13:29 +0000)]
o Remove __P
o Use ANSI function definitions
o mark usage() as __dead2

22 years ago#if 0 some unused variables (only in #if 0 code)
peter [Tue, 19 Mar 2002 12:15:29 +0000 (12:15 +0000)]
#if 0 some unused variables (only in #if 0 code)

22 years agoAdd some break's after default: in the end of switch statements to
peter [Tue, 19 Mar 2002 12:14:14 +0000 (12:14 +0000)]
Add some break's after default: in the end of switch statements to
keep gcc-3.1+ happy:
ata-all.c:410: warning: deprecated use of label at end of compound statement
ata-all.c:587: warning: deprecated use of label at end of compound statement
ata-raid.c:99: warning: deprecated use of label at end of compound statement
ata-raid.c:151: warning: deprecated use of label at end of compound statement

22 years agoMove savecore build enable to MD section of Makefile, currently enabled
peter [Tue, 19 Mar 2002 12:07:27 +0000 (12:07 +0000)]
Move savecore build enable to MD section of Makefile, currently enabled
for i386 and alpha.  Although it builds on sparc64, it does not yet work.
A similar hack as what is used on the sparc64 MD macros can be used to
make ia64 build too, but there doesn't seem to be much point.

22 years agoAdd -ffreestanding to CFLAGS for ia64. This should probably be global
peter [Tue, 19 Mar 2002 12:03:05 +0000 (12:03 +0000)]
Add -ffreestanding to CFLAGS for ia64.  This should probably be global
like on the kernel.

22 years agoQuit a warning introduced by UMA. This only occurs on machines where
jeff [Tue, 19 Mar 2002 11:49:10 +0000 (11:49 +0000)]
Quit a warning introduced by UMA.  This only occurs on machines where
vm_size_t != unsigned long.

Reviewed by: phk

22 years agofix conflicts generated by import, completing import of ipf3.4.25
darrenr [Tue, 19 Mar 2002 11:48:16 +0000 (11:48 +0000)]
fix conflicts generated by import, completing import of ipf3.4.25

22 years agoThis commit was generated by cvs2svn to compensate for changes in r92688,
darrenr [Tue, 19 Mar 2002 11:45:24 +0000 (11:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r92688,
which included commits to RCS files with non-trunk default branches.

22 years agoImport IPFilter 3.4.25
darrenr [Tue, 19 Mar 2002 11:45:24 +0000 (11:45 +0000)]
Import IPFilter 3.4.25

22 years agoThis commit was generated by cvs2svn to compensate for changes in r92686,
darrenr [Tue, 19 Mar 2002 11:45:20 +0000 (11:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r92686,
which included commits to RCS files with non-trunk default branches.

22 years agoImport IPFilter 3.4.25
darrenr [Tue, 19 Mar 2002 11:45:20 +0000 (11:45 +0000)]
Import IPFilter 3.4.25

22 years agofix conflicts (mostly damn rcs id's) generated by import
darrenr [Tue, 19 Mar 2002 11:44:16 +0000 (11:44 +0000)]
fix conflicts (mostly damn rcs id's) generated by import

22 years agoThis file is being removed pending the all clear on its licence by someone
darrenr [Tue, 19 Mar 2002 11:42:12 +0000 (11:42 +0000)]
This file is being removed pending the all clear on its licence by someone
else.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r92680,
darrenr [Tue, 19 Mar 2002 11:30:21 +0000 (11:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r92680,
which included commits to RCS files with non-trunk default branches.

22 years agoImport IPFilter 3.4.25 (last version 3.4.20)
darrenr [Tue, 19 Mar 2002 11:30:21 +0000 (11:30 +0000)]
Import IPFilter 3.4.25 (last version 3.4.20)

22 years agoEnabling the SKI option is a guaranteed breakage for me. Interrupts no
peter [Tue, 19 Mar 2002 11:21:12 +0000 (11:21 +0000)]
Enabling the SKI option is a guaranteed breakage for me.  Interrupts no
longer work.
I can only get a box to boot with 'options SMP'.

22 years agoMy ia64 box for some reason likes to fragment the beginning/end of memory
peter [Tue, 19 Mar 2002 11:18:47 +0000 (11:18 +0000)]
My ia64 box for some reason likes to fragment the beginning/end of memory
a bit before handing it over to the OS.  I occasionally have 11
segments with several 8K or so fragments depending on nvram settings and
what I have done under loader(8) before booting.  This needs to be
revisited.