]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoSuitably shrink a comment so it applies again.
Poul-Henning Kamp [Sun, 15 Sep 2002 21:25:55 +0000 (21:25 +0000)]
Suitably shrink a comment so it applies again.

Submitted by: bde

22 years agoMade this compile (but not work). This involved mainly const poisoning
Bruce Evans [Sun, 15 Sep 2002 20:48:08 +0000 (20:48 +0000)]
Made this compile (but not work).  This involved mainly const poisoning
and renaming ALIGNED_POINTER() to _ALIGNED_POINTER() plus the following
hacks for i386's:
- define _ALIGNED_POINTER() if it is not already defined.  Most non-i386
  arches define it <machine/param.h> define it in <machine/param.h>,
  although none actually used it in the kernel.
- define ksym_start and ksym_end.  Most non-i386 arches still define and
  initialize these in machdep.c although they didn't used them.  Here is
  a better place to define them but not to initialize them.

22 years agoAllocate 64K recieve buffer for DNS responses.
Hajimu UMEMOTO [Sun, 15 Sep 2002 20:36:38 +0000 (20:36 +0000)]
Allocate 64K recieve buffer for DNS responses.
KAME did the modification only to _dns_getaddrinfo().  However,
it is not sufficient, and res_queryN() should be modified, too.
So, I did same modification to res_queryN().

Obtained from: KAME

22 years agos/protocole/protocol/
Ceri Davies [Sun, 15 Sep 2002 20:33:05 +0000 (20:33 +0000)]
s/protocole/protocol/

PR: docs/42815
Submitted by: Nicola Vitale <nivit@libero.it>
MFC after: 21 days

22 years agoDocument intptr_t and uintptr_t.
Mike Barcroft [Sun, 15 Sep 2002 20:12:20 +0000 (20:12 +0000)]
Document intptr_t and uintptr_t.

22 years agomakeLINT.sed replaced makeLINT.sh about 4 months ago.
Mike Barcroft [Sun, 15 Sep 2002 19:04:23 +0000 (19:04 +0000)]
makeLINT.sed replaced makeLINT.sh about 4 months ago.

22 years agos/Danglish/English/
Poul-Henning Kamp [Sun, 15 Sep 2002 17:52:35 +0000 (17:52 +0000)]
s/Danglish/English/
Some style issues.
Change the timeout to be hz/10 instead of hz.

Brucification by: bde.

22 years agoRemoved unused includes. Sorted includes. This is part of removing
Bruce Evans [Sun, 15 Sep 2002 17:45:10 +0000 (17:45 +0000)]
Removed unused includes.  Sorted includes.  This is part of removing
includes of <sys/user.h> for its pollution only.  <sys/user.h> wasn't
even used for its pollution here.

22 years agoGarbage-collected splmem.
Bruce Evans [Sun, 15 Sep 2002 17:10:18 +0000 (17:10 +0000)]
Garbage-collected splmem.

Moved the declaration of malloc_mtx to be with the other extern declarations
and not exposed to userland.

Fixed some minor style bugs.

22 years agoCheck for truncation in calls to res_send/res_query/res_search.
Jacques Vidrine [Sun, 15 Sep 2002 16:51:09 +0000 (16:51 +0000)]
Check for truncation in calls to res_send/res_query/res_search.
Fail when it is detected.

22 years agoRemoved most namespace pollution in this header: don't include <vm/uma.h>;
Bruce Evans [Sun, 15 Sep 2002 16:48:25 +0000 (16:48 +0000)]
Removed most namespace pollution in this header: don't include <vm/uma.h>;
include <sys/_mutex.h> and its prerequisites instead of <sys/mutex.h> and
its prerequisite.

22 years agoTry to pick up disk geometry with specific DIOC* ioctls, rather than
Poul-Henning Kamp [Sun, 15 Sep 2002 16:08:52 +0000 (16:08 +0000)]
Try to pick up disk geometry with specific DIOC* ioctls, rather than
expecting a bogo-disklabel to contain them, if possible.

This makes fdisk work with GEOM.

22 years agoAdd "-t" to useage message and comment. (The -t option was added
David Malone [Sun, 15 Sep 2002 15:37:50 +0000 (15:37 +0000)]
Add "-t" to useage message and comment. (The -t option was added
independently by Robert, but also proposed in the PR below).

PR: 38126
Submitted by: Josh Elsasser <jre@vineyard.net>
MFC after: 1 month

22 years agoSome BIOSs are using MTRR values that are only documented under NDA
David Malone [Sun, 15 Sep 2002 15:07:55 +0000 (15:07 +0000)]
Some BIOSs are using MTRR values that are only documented under NDA
to control the mapping of things like the ACPI and APM into memory.

The problem is that starting X changes these values, so if something
was using the bits of BIOS mapped into memory (say ACPI or APM),
then next time they access this memory the machine would hang.

This patch refuse to change MTRR values it doesn't understand,
unless a new "force" option is given. This means X doesn't change
them by accident but someone can override that if they really want
to.

PR: 28418
Tested by: Christopher Masto <chris@netmonger.net>,
David Bushong <david@bushong.net>,
Santos <casd@myrealbox.com>
MFC after: 1 week

22 years agoDefine __LONG_LONG_SUPPORTED if the compiler claims to support C99.
Bruce Evans [Sun, 15 Sep 2002 14:17:29 +0000 (14:17 +0000)]
Define __LONG_LONG_SUPPORTED if the compiler claims to support C99.
Don't set __LONG_LONG_SUPPORTED for gcc-1.  I didn't check exactly
when gcc started to support long long, but it was in the version
of gcc in FreeBSD-1.0 (gcc-2.4.5).

Other C99 features should be ifdefed similarly, but the ifdefs for
old versions of gcc will be more complicated since the features
weren't in all versions of gcc-2.

22 years agoInclude <sys/systm.h> instead of depending on namespace pollution 2
Bruce Evans [Sun, 15 Sep 2002 13:54:12 +0000 (13:54 +0000)]
Include <sys/systm.h> instead of depending on namespace pollution 2
layers deep in <sys/malloc.h> or 1 layer deep in <net/if_var.h>.

22 years agoSome change in src/share/mk seems to have made it possible to remove
Poul-Henning Kamp [Sun, 15 Sep 2002 13:05:42 +0000 (13:05 +0000)]
Some change in src/share/mk seems to have made it possible to remove
50% of the active ingredients in these Makefiles.

22 years agoRemove the unused _bio_buf field. I can't even remember if this ever got
Poul-Henning Kamp [Sun, 15 Sep 2002 12:50:37 +0000 (12:50 +0000)]
Remove the unused _bio_buf field.  I can't even remember if this ever got
to be used in the first place.

Spotted by: bde

22 years agoFix i810 after i830 commit.
Eric Anholt [Sun, 15 Sep 2002 08:43:23 +0000 (08:43 +0000)]
Fix i810 after i830 commit.

Submitted by: David Dawes <dawes@XFree86.Org>

22 years agoAdd wcstod() as a wrapper around strtod(). It does not handle any characters
Tim J. Robbins [Sun, 15 Sep 2002 08:38:51 +0000 (08:38 +0000)]
Add wcstod() as a wrapper around strtod(). It does not handle any characters
that strtod() does not (alternate digit characters, etc. are not handled).

22 years agoFixed breakage from removing the used include of <sys/buf.h> in the
Bruce Evans [Sun, 15 Sep 2002 08:21:14 +0000 (08:21 +0000)]
Fixed breakage from removing the used include of <sys/buf.h> in the
previous commit:
Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
depending on namespace pollution in <sys/buf.h>.  Only do this in the
__FreeBSD_version > 500000 case although the __FreeBSD_version < 500000
case has already rotted.

22 years agoUse the heap instead of the stack to store temporary multibyte string
Tim J. Robbins [Sun, 15 Sep 2002 08:06:17 +0000 (08:06 +0000)]
Use the heap instead of the stack to store temporary multibyte string
buffers; this is slower but safer for threaded programs where threads
often have relatively low stack size limits.

22 years agoMake a comment reflect less of a lie, NOCPU is used to generally mean that we
Juli Mallett [Sun, 15 Sep 2002 04:45:56 +0000 (04:45 +0000)]
Make a comment reflect less of a lie, NOCPU is used to generally mean that we
are not on a specific CPU in a distributed system, certainly not just for
<struct proc>.p_oncpu, which is of course now <struct kse>.ke_oncpu.

22 years agoBackout the increase of MAXPACKET from 1024 to 65536: it
Jacques Vidrine [Sun, 15 Sep 2002 04:23:20 +0000 (04:23 +0000)]
Backout the increase of MAXPACKET from 1024 to 65536: it
broke pthreads.

Reported by: mbr, tjr

22 years agoUn-inline the non-trivial "trivial" bio* functions.
Poul-Henning Kamp [Sat, 14 Sep 2002 19:34:11 +0000 (19:34 +0000)]
Un-inline the non-trivial "trivial" bio* functions.
Untangle devstat_end_transaction_bio()

22 years agoAdd additional information returned to userland by the device querying
Warner Losh [Sat, 14 Sep 2002 19:15:12 +0000 (19:15 +0000)]
Add additional information returned to userland by the device querying
functions.  We add pnpinfo, locationinfo, devflags (the newbus flags
on the device), flags (the flags that device_get_flags returns) and
state to the list of things we return.

pnpinfo and locationinfo are place holders at the moment that will be
filled in by the device's parent (optionally).  Userland programs will
likely use this information from time to time and take appropriate
actions.

Improvements to devinfo to follow.

22 years agoremove #includes of <sys/bio.h> where not needed.
Poul-Henning Kamp [Sat, 14 Sep 2002 18:59:32 +0000 (18:59 +0000)]
remove #includes of <sys/bio.h> where not needed.

22 years agoFreeBSD -current doesn't need <sys/buf.h> or <sys/bio.h>.
Poul-Henning Kamp [Sat, 14 Sep 2002 18:58:36 +0000 (18:58 +0000)]
FreeBSD -current doesn't need <sys/buf.h> or <sys/bio.h>.

22 years agoMove setugidsafety() call outside of process lock. This prevents a lock
Nate Lawson [Sat, 14 Sep 2002 18:55:11 +0000 (18:55 +0000)]
Move setugidsafety() call outside of process lock.  This prevents a lock
recursion when closef() calls pfind() which also wants the proc lock.
This case only occurred when setugidsafety() needed to close unsafe files.

Reviewed by: truckman

22 years agoUserland changes to go with vnode->v_tag change.
Nate Lawson [Sat, 14 Sep 2002 18:51:10 +0000 (18:51 +0000)]
Userland changes to go with vnode->v_tag change.

22 years agoUse the macros from machine/fsr.h; some minor cleanups.
Thomas Moestl [Sat, 14 Sep 2002 18:07:03 +0000 (18:07 +0000)]
Use the macros from machine/fsr.h; some minor cleanups.

22 years agoAdd implementations of fpgetmask(), fpgetround(), fpgetsticky(),
Thomas Moestl [Sat, 14 Sep 2002 18:06:21 +0000 (18:06 +0000)]
Add implementations of fpgetmask(), fpgetround(), fpgetsticky(),
fpsetround(), fpsetsticky(), obtained from NetBSD and tweaked a little
to use definitions from machine/fsr.h instead of magic numbers.

22 years agoUse the definitions in machine/fsr.h instead of duplicating these magic
Thomas Moestl [Sat, 14 Sep 2002 18:00:44 +0000 (18:00 +0000)]
Use the definitions in machine/fsr.h instead of duplicating these magic
numbers here (the values need to correspond to the %fsr ones for some
libc functions to work right).

22 years agoClean up a bit, and add some more macros to access %fsr fields.
Thomas Moestl [Sat, 14 Sep 2002 17:58:54 +0000 (17:58 +0000)]
Clean up a bit, and add some more macros to access %fsr fields.

22 years agoLimit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.
Hajimu UMEMOTO [Sat, 14 Sep 2002 17:28:40 +0000 (17:28 +0000)]
Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.

Obtained from: KAME

22 years agokthread.h is not needed
Scott Long [Sat, 14 Sep 2002 16:54:46 +0000 (16:54 +0000)]
kthread.h is not needed

22 years agoRemoved a debugging printf() left here in peter's
Maxime Henrion [Sat, 14 Sep 2002 15:14:29 +0000 (15:14 +0000)]
Removed a debugging printf() left here in peter's
last commit.

Spotted by: kris

22 years agoRemove a conditional #include <sys/kernel.h>, it is already
Maxime Henrion [Sat, 14 Sep 2002 14:44:41 +0000 (14:44 +0000)]
Remove a conditional #include <sys/kernel.h>, it is already
included unconditionally before.

Submitted by: Olivier Houchard <cognet@ci0.org>

22 years agoReturn an error if a symbol is not found in reloc_jmpslots() instead of
Thomas Moestl [Sat, 14 Sep 2002 12:14:24 +0000 (12:14 +0000)]
Return an error if a symbol is not found in reloc_jmpslots() instead of
crashing.

22 years agoRemove all use of vnode->v_tag, replacing with appropriate substitutes.
Nate Lawson [Sat, 14 Sep 2002 09:02:28 +0000 (09:02 +0000)]
Remove all use of vnode->v_tag, replacing with appropriate substitutes.
v_tag is now const char * and should only be used for debugging.

Additionally:
1. All users of VT_NTS now check vfsconf->vf_type VFCF_NETWORK
2. The user of VT_PROCFS now checks for the new flag VV_PROCDEP, which
is propagated by pseudofs to all child vnodes if the fs sets PFS_PROCDEP.

Suggested by:   phk
Reviewed by:    bde, rwatson (earlier version)

22 years agoReference the socket we're accepting.
Benno Rice [Sat, 14 Sep 2002 08:56:10 +0000 (08:56 +0000)]
Reference the socket we're accepting.

22 years agoApparently something down in the guts of vm/uvm still needs giant
Julian Elischer [Sat, 14 Sep 2002 06:23:43 +0000 (06:23 +0000)]
Apparently something down in the guts of vm/uvm still needs giant

Obtained from:  mini via P4 KSE tree.

22 years agos/VOP_NULL/VATTR_NULL/
Robert Watson [Sat, 14 Sep 2002 03:32:57 +0000 (03:32 +0000)]
s/VOP_NULL/VATTR_NULL/

22 years agoPut firewire under architectures it actually might conceivably
Matt Jacob [Sat, 14 Sep 2002 02:05:33 +0000 (02:05 +0000)]
Put firewire under architectures it actually might conceivably
build on, let alone actually do some useful work on real hardware.

Namely, put it in i386/pc98. There is no bus_dma.h on the other architecures,
tra la.

22 years agoRelax checking of incoming PPTP GRE packets a bit: ignore a bogus payload
Archie Cobbs [Sat, 14 Sep 2002 00:00:49 +0000 (00:00 +0000)]
Relax checking of incoming PPTP GRE packets a bit: ignore a bogus payload
length field when there's no payload indicated by the header 'S' bit.
This works around semi-brokenness in the Mac OS X PPTP client.

22 years agoWhen using res_send/res_query/res_search, the caller must either
Jacques Vidrine [Fri, 13 Sep 2002 20:31:29 +0000 (20:31 +0000)]
When using res_send/res_query/res_search, the caller must either
insure enough space is available for the response, or be prepared
to resize the buffer and retry as necessary.

Do the conservative thing and make sure enough space is available.

Reviewed by: silence on freebsd-audit

22 years agoThe nfsroot code should be conditional on NFSCLIENT, not NFS (which no
Peter Wemm [Fri, 13 Sep 2002 20:29:42 +0000 (20:29 +0000)]
The nfsroot code should be conditional on NFSCLIENT, not NFS (which no
longer exists as an option)

22 years agoBegin of MFen 1.423
Sebastien Gioria [Fri, 13 Sep 2002 20:23:26 +0000 (20:23 +0000)]
Begin of MFen 1.423

22 years agomlockall() and munlockall() are unimplemented; remove their prototypes.
Mike Barcroft [Fri, 13 Sep 2002 18:29:15 +0000 (18:29 +0000)]
mlockall() and munlockall() are unimplemented; remove their prototypes.

22 years agoPromote gcore from i386-specific to the MI section.
Peter Wemm [Fri, 13 Sep 2002 18:29:08 +0000 (18:29 +0000)]
Promote gcore from i386-specific to the MI section.

Compiled on: alpha, sparc64, ia64

22 years agoAdd #include <sys/queue.h> for sparc64's benefit. The MD includes there
Peter Wemm [Fri, 13 Sep 2002 18:24:59 +0000 (18:24 +0000)]
Add #include <sys/queue.h> for sparc64's benefit.  The MD includes there
have less polution.

22 years agoUse a crowbar to move the a.out code out of gcore.c and into its own
Peter Wemm [Fri, 13 Sep 2002 16:33:35 +0000 (16:33 +0000)]
Use a crowbar to move the a.out code out of gcore.c and into its own
file so that we have a chance of using gcore on non-i386 platforms.  Use
linker sets to reduce the registration glue.  Remove md-sparc.c, we do not
have an a.out sparc32 port.  aoutcore.c was repocopied from gcore.c.

22 years agoFor boot verbose, print resources assigned in a more asthetically pleasing
Warner Losh [Fri, 13 Sep 2002 16:23:41 +0000 (16:23 +0000)]
For boot verbose, print resources assigned in a more asthetically pleasing
way.

PR: 42745 (although done in a different way)

22 years agoAdd an implementation of fabs() (which is quite trivial).
Thomas Moestl [Fri, 13 Sep 2002 16:01:26 +0000 (16:01 +0000)]
Add an implementation of fabs() (which is quite trivial).
When it is called directly, gcc is smart enough to generate inline
code for it, which is why it wasn't noticed before that it was missing.

fabs() would probably better fit into libm, but it has traditionally been
in libc on FreeBSD, so there is probably software around that makes
assumptions about this by now.

22 years agoFix fcntl(..., F_GETOWN, ...) and fcntl(..., F_SETOWN, ...) on sparc64
Thomas Moestl [Fri, 13 Sep 2002 15:15:16 +0000 (15:15 +0000)]
Fix fcntl(..., F_GETOWN, ...) and fcntl(..., F_SETOWN, ...) on sparc64
by not passing a pointer to a register_t or intptr_t when the code in
the lower layers expects one to an int.

22 years agoOverhaul the kernel-simulation bits here to use pthreads instead.
Poul-Henning Kamp [Fri, 13 Sep 2002 13:13:00 +0000 (13:13 +0000)]
Overhaul the kernel-simulation bits here to use pthreads instead.

If somebody wanted to, this could for the beginning of a "libkernel"
which could be used to run kernel code in userland.

Sponsored by: DARPA & NAI Labs.

22 years agoAdd firewire module
Katsushi Kobayashi [Fri, 13 Sep 2002 12:42:57 +0000 (12:42 +0000)]
Add firewire module

22 years agoInitial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Katsushi Kobayashi [Fri, 13 Sep 2002 12:31:56 +0000 (12:31 +0000)]
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Bus Protocol 2:SCSI over IEEE1394) support for CAM.

22 years ago"Fix" printf format issues by using %j
Poul-Henning Kamp [Fri, 13 Sep 2002 11:41:25 +0000 (11:41 +0000)]
"Fix" printf format issues by using %j

Sponsored by: DARPA & NAI Labs.

22 years agoUse biowait() rather than DIY.
Poul-Henning Kamp [Fri, 13 Sep 2002 11:39:11 +0000 (11:39 +0000)]
Use biowait() rather than DIY.

Sponsored by: DARPA & NAI Labs

22 years agoFix a bug were a struct bio was freed and certain members subsequently
Poul-Henning Kamp [Fri, 13 Sep 2002 11:37:38 +0000 (11:37 +0000)]
Fix a bug were a struct bio was freed and certain members subsequently
examined.  Use biowait() instead of DIY.

22 years agoOops, broke the build there. Uninline biodone() now that it is non-trivial.
Poul-Henning Kamp [Fri, 13 Sep 2002 11:28:31 +0000 (11:28 +0000)]
Oops, broke the build there.  Uninline biodone() now that it is non-trivial.

Introduce biowait() function.  Currently there is a race condition and the
mitigation is a timeout/retry.  It is not obvious what kind of locking (if any)
is suitable for BIO_DONE, since the majority of users take are of this
themselves, and only a few places actually rely on the wakeup.

Sponsored by: DARPA & NAI Labs.

22 years agoMake biodone() default to wakeup() on the struct bio if no bio_done
Poul-Henning Kamp [Fri, 13 Sep 2002 11:00:48 +0000 (11:00 +0000)]
Make biodone() default to wakeup() on the struct bio if no bio_done
method was specified.

22 years agoAdd a couple more of the big/little-endian conversion routines and make
Poul-Henning Kamp [Fri, 13 Sep 2002 10:33:10 +0000 (10:33 +0000)]
Add a couple more of the big/little-endian conversion routines and make
them visible from userland, if need be.

I wish that the C language contained this as part of struct definintions,
but failing that, I would settle for an agreed upon set of functions for
packing/unpacking integers in various sizes from byte-streams which may
have unfriendly alignment.

This really belongs in <sys/endian.h> I guess.

22 years agoFix another two printf() format errors which weren't warned
Maxime Henrion [Fri, 13 Sep 2002 09:37:44 +0000 (09:37 +0000)]
Fix another two printf() format errors which weren't warned
about because the bio_blknos were bogusly casted to long long.

22 years agoDrop the proc lock while calling fdcheckstd() which may block to allocate
Don Lewis [Fri, 13 Sep 2002 09:31:56 +0000 (09:31 +0000)]
Drop the proc lock while calling fdcheckstd() which may block to allocate
memory.

Reviewed by: jhb

22 years agoFix another printf() format error which wasn't warned about
Maxime Henrion [Fri, 13 Sep 2002 09:19:55 +0000 (09:19 +0000)]
Fix another printf() format error which wasn't warned about
because the bio_blkno was bogusly casted to an int.

22 years agoFix a printf() format error on 64 bits architectures.
Maxime Henrion [Fri, 13 Sep 2002 09:16:06 +0000 (09:16 +0000)]
Fix a printf() format error on 64 bits architectures.
Also fix some style bugs on the same line.

22 years agoDo not risk using the kernel pgtok() which assumes the page size is
Peter Wemm [Fri, 13 Sep 2002 07:13:33 +0000 (07:13 +0000)]
Do not risk using the kernel pgtok() which assumes the page size is
constant.

22 years agoRestore original behaviour of recursion preventer.
Maxim Sobolev [Fri, 13 Sep 2002 06:24:27 +0000 (06:24 +0000)]
Restore original behaviour of recursion preventer.

Submitted by:   sumikawa

22 years agoFix an i830/i845 test that shouldn't get hit in normal use and remove a printf.
Eric Anholt [Fri, 13 Sep 2002 04:17:28 +0000 (04:17 +0000)]
Fix an i830/i845 test that shouldn't get hit in normal use and remove a printf.

Submitted by: David Dawes <dawes@XFree86.Org>

22 years agoNew release notes: sendfile(2) bugfix + MFC.
Bruce A. Mah [Fri, 13 Sep 2002 03:55:31 +0000 (03:55 +0000)]
New release notes:  sendfile(2) bugfix + MFC.

Modified release notes:  newsyslog(8) now uses bzip2(1) by default.

Move two TCP-related release notes from the general kernel section to
the networking protocols section.  Minor wording adjustment in one
item, note MFC of the other.

22 years agoStyle: tab between #define and macro name.
Tim J. Robbins [Thu, 12 Sep 2002 23:33:17 +0000 (23:33 +0000)]
Style: tab between #define and macro name.

22 years agoAdd a blank line to make this more consistent with the rest of the file.
John Baldwin [Thu, 12 Sep 2002 21:07:06 +0000 (21:07 +0000)]
Add a blank line to make this more consistent with the rest of the file.

22 years agoPass the physical instead of the logical block number in
Joerg Wunsch [Thu, 12 Sep 2002 20:53:50 +0000 (20:53 +0000)]
Pass the physical instead of the logical block number in
bp->bio_pblkno.  Otherwise, all formats not using 512 byte
physical sectors got screwed.

22 years agoFix sendmail to use checkyesno since rc.conf is no longer re'sourced from the
Gordon Tetlow [Thu, 12 Sep 2002 17:31:09 +0000 (17:31 +0000)]
Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the
debug statement.

22 years agoUse bzip2 instead of gzip for those logs we compress.
David E. O'Brien [Thu, 12 Sep 2002 17:28:07 +0000 (17:28 +0000)]
Use bzip2 instead of gzip for those logs we compress.

Basic idea agreed to by: rwatson

22 years agoRemove the sourceing of rc.conf from the debug subroutine. This caused
Gordon Tetlow [Thu, 12 Sep 2002 17:27:36 +0000 (17:27 +0000)]
Remove the sourceing of rc.conf from the debug subroutine. This caused
problems when you try to override variables locally.

22 years agoEmacs decides between v8 and v9 based on "__arch64__". So define it.
David E. O'Brien [Thu, 12 Sep 2002 17:19:09 +0000 (17:19 +0000)]
Emacs decides between v8 and v9 based on "__arch64__".  So define it.

Desired by: tmm

22 years agoRemove some debugging cruft I accidently committed with rev 1.4.
David E. O'Brien [Thu, 12 Sep 2002 16:10:21 +0000 (16:10 +0000)]
Remove some debugging cruft I accidently committed with rev 1.4.

22 years agoTry to detect support for the `long long' type so that ANSI-C[89] clean
David E. O'Brien [Thu, 12 Sep 2002 16:05:56 +0000 (16:05 +0000)]
Try to detect support for the `long long' type so that ANSI-C[89] clean
code will know not to try to use `long long'.
Unfortunately the GCC spec parser will not allow us to properly detect the
"iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments,
because of the ':' in the -std argument.  :-(  I have left them in the spec
as a place holder in hopes someone knows a way to make the detection of
them work.

Desired by: wollman

22 years agoWe're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
David E. O'Brien [Thu, 12 Sep 2002 15:56:21 +0000 (15:56 +0000)]
We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.

22 years agoFix the GENERIC build. Don't refer to the non-existant fw_one_pass.
David E. O'Brien [Thu, 12 Sep 2002 15:36:13 +0000 (15:36 +0000)]
Fix the GENERIC build.  Don't refer to the non-existant fw_one_pass.

22 years agoAdd preliminary mostly untested support for the Silicon Image Sil680 chip.
Søren Schmidt [Thu, 12 Sep 2002 15:25:59 +0000 (15:25 +0000)]
Add preliminary mostly untested support for the Silicon Image Sil680 chip.

22 years agoEnd of initial effort of the translation of the CURRENT release notes. Now
Sebastien Gioria [Thu, 12 Sep 2002 15:21:02 +0000 (15:21 +0000)]
End of initial effort of the translation of the CURRENT release notes. Now
need to update :-(((

22 years agoChange a couple of splcam() calls that do not make sense in atapi-cam
Thomas Quinot [Thu, 12 Sep 2002 15:15:33 +0000 (15:15 +0000)]
Change a couple of splcam() calls that do not make sense in atapi-cam
(what we want to mask is the ATA interrupts, which run at level splbio),
and add interrupt masking around the statement that modifies the
request queue for a SIM.

This resolves problems reported by users under heavy ATAPI load.

Reviewed by: roberto

22 years agoEnd of translation of section "Contributed Software"
Sebastien Gioria [Thu, 12 Sep 2002 14:45:50 +0000 (14:45 +0000)]
End of translation of section "Contributed Software"

22 years agoRearrange where to get the ATAPI magic sequence.
Søren Schmidt [Thu, 12 Sep 2002 14:32:33 +0000 (14:32 +0000)]
Rearrange where to get the ATAPI magic sequence.

Submitted by: Benjamin Close <cisbjc@cs.unisa.edu.au>

22 years agoUse the proper fields for security.
Søren Schmidt [Thu, 12 Sep 2002 14:08:28 +0000 (14:08 +0000)]
Use the proper fields for security.

PR: 41870

22 years agoWait for drive to become ready if its in progress of loading..
Søren Schmidt [Thu, 12 Sep 2002 13:55:24 +0000 (13:55 +0000)]
Wait for drive to become ready if its in progress of loading..
Based on patch in PR-42659, but done somewhat differently.

PR: 42659

22 years agoDont hang in atprq on poll_dsc command.
Søren Schmidt [Thu, 12 Sep 2002 13:53:33 +0000 (13:53 +0000)]
Dont hang in atprq on poll_dsc command.
This is a temporary fix until I get proper locking done.

Submitted by: iedowse@maths.tcd.ie

22 years agoFixed style bugs in resource_list_add_next().
Bruce Evans [Thu, 12 Sep 2002 13:45:38 +0000 (13:45 +0000)]
Fixed style bugs in resource_list_add_next().

22 years agoProtect arguments to the putwc and putwchar macros with parens.
Tim J. Robbins [Thu, 12 Sep 2002 10:27:48 +0000 (10:27 +0000)]
Protect arguments to the putwc and putwchar macros with parens.

22 years agoCorrect type of second argument: it is wchar_t ** restrict,
Tim J. Robbins [Thu, 12 Sep 2002 09:25:27 +0000 (09:25 +0000)]
Correct type of second argument: it is wchar_t ** restrict,
not wchar_t * restrict.

22 years ago- Fix two obvious locking bugs; 1) returning with lock held when it needed
Andrew R. Reiter [Thu, 12 Sep 2002 05:00:32 +0000 (05:00 +0000)]
- Fix two obvious locking bugs; 1) returning with lock held when it needed
  to be dropped, 2) attempting to lock acct_mtx while already holding it.
  Sorry to those who experienced pain.
- Added two comments referring to two areas in which acct_mtx is held over
  vnode operations that might sleep.  Patch in the works for this.

22 years agoAdd AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
Eric Anholt [Thu, 12 Sep 2002 04:23:18 +0000 (04:23 +0000)]
Add AGP support for Intel i830M and i845 thanks to patches from moto kawasaki
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.

22 years agoMake bridging and layer2-ipfw obey net.inet.ip.fw.one_pass.
Luigi Rizzo [Thu, 12 Sep 2002 01:05:46 +0000 (01:05 +0000)]
Make bridging and layer2-ipfw obey net.inet.ip.fw.one_pass.
I should have committed this ages ago.

The MFC for if_ethersubr.c could be done in the usual few days (only
ipfw2 uses it), the one for bridge.c should probably wait until
after 4.7 because it changes an existing though mostly undocumented
behaviour (on which i hope nobody relies). All in all, i'll wait for
both things unless there is demand.

MFC after: 35 days

22 years agoStore the port number in "fwd" rules in host format, same as ipfw1
Luigi Rizzo [Thu, 12 Sep 2002 00:45:32 +0000 (00:45 +0000)]
Store the port number in "fwd" rules in host format, same as ipfw1
has always done.

Technically, this is the wrong format, but it reduces the diffs in
-stable. Someday, when we get rid of ipfw1, I will put the port number
in the proper format both in kernel and userland.

MFC after: 3 days
(with re@ permission)

22 years agoUpdate to reflect reality.
Archie Cobbs [Wed, 11 Sep 2002 21:40:02 +0000 (21:40 +0000)]
Update to reflect reality.

Reviewed by: mini
MFC after: 3 days

22 years agoAdd man pages for getcontext()/setcontext(), makecontext()/swapcontext(),
Archie Cobbs [Wed, 11 Sep 2002 21:39:21 +0000 (21:39 +0000)]
Add man pages for getcontext()/setcontext(), makecontext()/swapcontext(),
and ucontext_t.

Reviewed by: mini
MFC after: 3 days