]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoRemove fragments of support for the FreeBSD 3.x and 4.x branches.
Tim J. Robbins [Thu, 6 Mar 2003 10:38:18 +0000 (10:38 +0000)]
Remove fragments of support for the FreeBSD 3.x and 4.x branches.

21 years agoDon't pick the name out of the devstat member of the ccd softc, it will
Poul-Henning Kamp [Thu, 6 Mar 2003 06:31:49 +0000 (06:31 +0000)]
Don't pick the name out of the devstat member of the ccd softc, it will
disappear soon.  Exporting the softc in the first place is a mistake.

21 years agoMFp4(simokawa_sbp)
Hidetoshi Shimokawa [Thu, 6 Mar 2003 05:06:44 +0000 (05:06 +0000)]
MFp4(simokawa_sbp)

Improve if_fwe performance.
- Simplify mbuf handling by using bulkxfer.
Now, it uses mbuf clusters for RX buffer as usual ethernet drivers.
- Recycle struct xfer buffer and don't call malloc at runtime.
- Count input and output errors.
- Handle a mbuf chain longer than 6 correctly.
- Increase queue length.

21 years agoRemove a remnant of netns.
Tim J. Robbins [Thu, 6 Mar 2003 05:02:36 +0000 (05:02 +0000)]
Remove a remnant of netns.

21 years agoRemove GIANT_REQUIRED from sf_buf_free().
Alan Cox [Thu, 6 Mar 2003 04:48:19 +0000 (04:48 +0000)]
Remove GIANT_REQUIRED from sf_buf_free().

21 years agoInstrument sysarch() MD privileged I/O access interfaces with a MAC
Robert Watson [Thu, 6 Mar 2003 04:47:47 +0000 (04:47 +0000)]
Instrument sysarch() MD privileged I/O access interfaces with a MAC
check, mac_check_sysarch_ioperm(), permitting MAC security policy
modules to control access to these interfaces.  Currently, they
protect access to IOPL on i386, and setting HAE on Alpha.
Additional checks might be required on other platforms to prevent
bypass of kernel security protections by unauthorized processes.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoAdd an embellished lesspipe.sh as described in the man page.
David E. O'Brien [Thu, 6 Mar 2003 04:35:48 +0000 (04:35 +0000)]
Add an embellished lesspipe.sh as described in the man page.
P.S. it is stupid I have to define both SCRIPTS and SCRIPTSNAME.

21 years agoRemove ENABLE_VFS_IOOPT. It is a long unfinished work-in-progress.
Alan Cox [Thu, 6 Mar 2003 03:41:02 +0000 (03:41 +0000)]
Remove ENABLE_VFS_IOOPT.  It is a long unfinished work-in-progress.

Discussed on: arch@

21 years agoProvide a mac_check_system_swapoff() entry point, which permits MAC
Robert Watson [Wed, 5 Mar 2003 23:50:15 +0000 (23:50 +0000)]
Provide a mac_check_system_swapoff() entry point, which permits MAC
modules to authorize disabling of swap against a particular vnode.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoMove the initialization of the vattr flags field in setfflags() to
Robert Watson [Wed, 5 Mar 2003 23:15:23 +0000 (23:15 +0000)]
Move the initialization of the vattr flags field in setfflags() to
before the MAC check so that we pass the flags field into the MAC
check properly initialized.  This didn't affect any current MAC
modules since they didn't care what the flags argument was (as
they were primarily interested in the fact that it was a meta-data
write, not the contents of the write), but would be relevant to
future modules relying on that field.

Submitted by: Mike Halderman <mrh@spawar.navy.mil>
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoFix a use-after-free bug that could cause multi-link fragment reassembly to
Archie Cobbs [Wed, 5 Mar 2003 23:12:59 +0000 (23:12 +0000)]
Fix a use-after-free bug that could cause multi-link fragment reassembly to
fail for a long time (until the incoming sequence numbers wrapped around).

Reported by: Matthew Impett <mimpett@Glue.umd.edu>
MFC after: 3 days

21 years agoUpdate ping to be WARNS=2 compliant.
Sean Chittenden [Wed, 5 Mar 2003 22:42:03 +0000 (22:42 +0000)]
Update ping to be WARNS=2 compliant.

Reviewed by: -audit (no objections ~1mo)
Approved by: nectar

21 years agoVOP_PATHCONF returns a register_t, not an int. Noticed by phk.
Tim J. Robbins [Wed, 5 Mar 2003 22:30:02 +0000 (22:30 +0000)]
VOP_PATHCONF returns a register_t, not an int. Noticed by phk.

21 years agoSpelling, grammar fixes.
Matthew N. Dodd [Wed, 5 Mar 2003 21:42:23 +0000 (21:42 +0000)]
Spelling, grammar fixes.

21 years agoUpdate Judaic calendar for this year.
David Malone [Wed, 5 Mar 2003 21:13:28 +0000 (21:13 +0000)]
Update Judaic calendar for this year.

PR: 48297
Submitted by: Josef Grosch <jgrosch@mooseriver.com>
MFC after: 3 days

21 years agoFix cut'n'paste error
Alexey Zelkin [Wed, 5 Mar 2003 20:50:03 +0000 (20:50 +0000)]
Fix cut'n'paste error

Noticed by: julian

21 years agoRemove documentation of old '-M' flag.
Matthew N. Dodd [Wed, 5 Mar 2003 20:35:45 +0000 (20:35 +0000)]
Remove documentation of old '-M' flag.
Re-order.

21 years agoFinish driving a stake through the heart of netns and the associated
Peter Wemm [Wed, 5 Mar 2003 19:24:24 +0000 (19:24 +0000)]
Finish driving a stake through the heart of netns and the associated
ifdefs scattered around the place - its dead Jim!

The SMB stuff had stolen AF_NS, make it official.

21 years agoStop creating /usr/include/netns
Peter Wemm [Wed, 5 Mar 2003 19:21:23 +0000 (19:21 +0000)]
Stop creating /usr/include/netns

21 years agoDrop netns from include file installation
Peter Wemm [Wed, 5 Mar 2003 19:21:02 +0000 (19:21 +0000)]
Drop netns from include file installation

21 years agoKill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[]
Peter Wemm [Wed, 5 Mar 2003 19:20:29 +0000 (19:20 +0000)]
Kill #ifdef NS and some leftover #ifdef ISO code.  Re-pack the nlist[]
array, it isn't likely to find any ARPAnet IMP drivers in FreeBSD.

21 years agoKill references to netns in comment about how it conflicted with netipx so
Peter Wemm [Wed, 5 Mar 2003 19:19:08 +0000 (19:19 +0000)]
Kill references to netns in comment about how it conflicted with netipx so
it was ignored all this time.

21 years agoKill #ifdef NS code
Peter Wemm [Wed, 5 Mar 2003 19:18:05 +0000 (19:18 +0000)]
Kill #ifdef NS code

21 years agoRemove NS and ISO stuff.
Peter Wemm [Wed, 5 Mar 2003 19:16:41 +0000 (19:16 +0000)]
Remove NS and ISO stuff.

21 years agoUse correct interface name (it's different on -current).
Maxim Sobolev [Wed, 5 Mar 2003 18:50:18 +0000 (18:50 +0000)]
Use correct interface name (it's different on -current).

Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
MFC after: 20 days

21 years agoRemove local hack that somehow slipped into the previous commit.
Maxim Sobolev [Wed, 5 Mar 2003 18:48:47 +0000 (18:48 +0000)]
Remove local hack that somehow slipped into the previous commit.

MFC after: 20 days

21 years agoRetire some misleading comments and explain why we need to keep a copy
Duncan Barclay [Wed, 5 Mar 2003 18:13:19 +0000 (18:13 +0000)]
Retire some misleading comments and explain why we need to keep a copy
of parameters written to the card.

21 years agoDuplicate more of options.i386 in this file since we can't seem to settle
John Baldwin [Wed, 5 Mar 2003 18:12:48 +0000 (18:12 +0000)]
Duplicate more of options.i386 in this file since we can't seem to settle
on a notion of having MACHINE_ARCH common files that MACHINE files include.

21 years agoAdd missed description for the `ds' (disc(4)) pseudo-interface.
Maxim Sobolev [Wed, 5 Mar 2003 18:07:59 +0000 (18:07 +0000)]
Add missed description for the `ds' (disc(4)) pseudo-interface.

Sponsored by: Porta Software Ltd
MFC after: 20 days

21 years agoLatest IPFilter requires flushing rules for IPv6 separately
Hajimu UMEMOTO [Wed, 5 Mar 2003 17:16:22 +0000 (17:16 +0000)]
Latest IPFilter requires flushing rules for IPv6 separately
from IPv4.

21 years agoFurther fix the syntax by ignoring empty and whitespace-only lines.
Ruslan Ermilov [Wed, 5 Mar 2003 15:53:18 +0000 (15:53 +0000)]
Further fix the syntax by ignoring empty and whitespace-only lines.

Prompted by: Eugene Grosbein <eugen@kuzbass.ru>

21 years agoBack out last commit, which is fine in theory, but ignores the fact
Orion Hodson [Wed, 5 Mar 2003 14:48:28 +0000 (14:48 +0000)]
Back out last commit, which is fine in theory, but ignores the fact
that a lock is held whilst the allocations are made (M_WAITOK -> M_NOWAIT).

21 years agoAdd prototype for coda_pathconf() that I missed in the previous commit.
Tim J. Robbins [Wed, 5 Mar 2003 13:48:51 +0000 (13:48 +0000)]
Add prototype for coda_pathconf() that I missed in the previous commit.

21 years agoUsed correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
Takeshi Shibagaki [Wed, 5 Mar 2003 13:25:35 +0000 (13:25 +0000)]
Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.

Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
              Takeshi Shibagaki <shiba@freebsd.org>
                 (refer to [bsd-usb:685],[bsd-usb:686])

21 years agoFixed an issue which transfer no packets in combination with aue driver.
Takeshi Shibagaki [Wed, 5 Mar 2003 13:17:15 +0000 (13:17 +0000)]
Fixed an issue which transfer no packets in combination with aue driver.

Submitted by Hiroyuki Aizu <eyes@navi.org>
                (refer to [FreeBSD-users-jp 65061])
Tested by    Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
                (refer to [bsd-usb:689])

21 years agoPut back the deletion of TEMPROOT/etc/passwd.
Doug Barton [Wed, 5 Mar 2003 12:42:08 +0000 (12:42 +0000)]
Put back the deletion of TEMPROOT/etc/passwd.

Noticed by: maxim

21 years agoAdd a minimal implementation of VOP_PATHCONF to silence warning
Tim J. Robbins [Wed, 5 Mar 2003 10:23:51 +0000 (10:23 +0000)]
Add a minimal implementation of VOP_PATHCONF to silence warning
messages from ls(1).

21 years agoHandle the case where a_uio->uio_td == NULL properly in coda_readlink().
Tim J. Robbins [Wed, 5 Mar 2003 09:52:04 +0000 (09:52 +0000)]
Handle the case where a_uio->uio_td == NULL properly in coda_readlink().
This happens when called from lookup().

21 years agoBetter handle the recent (desirable) change to create login.conf.db at
Doug Barton [Wed, 5 Mar 2003 08:20:55 +0000 (08:20 +0000)]
Better handle the recent (desirable) change to create login.conf.db at
install time, and make sure to catch any future .db files as well.

21 years agoRaise the default value of TTYHOG from 1 kB to 8 kB. Since TTYHOG is
David Schultz [Wed, 5 Mar 2003 08:17:10 +0000 (08:17 +0000)]
Raise the default value of TTYHOG from 1 kB to 8 kB.  Since TTYHOG is
an administrative limit on the size of tty/pty input buffers, this is
mostly an inconsequential change.  (slti(4) will allocate an 8 kB
static buffer instead of a 1 kB buffer due to a hack in the driver.)
The increase happens to kludge around a lame limitation of syscons,
which does not allow one to paste more than TTYHOG bytes.

PR: 42031
Reviewed by: mike (mentor)

21 years agoMake TTYHOG tunable.
David Schultz [Wed, 5 Mar 2003 08:16:29 +0000 (08:16 +0000)]
Make TTYHOG tunable.

Reviewed by: mike (mentor)

21 years agoAttempt a hard reset if AC97 codec is not ready on attach.
Orion Hodson [Wed, 5 Mar 2003 05:56:18 +0000 (05:56 +0000)]
Attempt a hard reset if AC97 codec is not ready on attach.

Halt attach if mixer_init fails.

Prompted by: points raised by Hugo Valentim <hvalentim@gmx.net>.

21 years agoFix threaded applications on ia64 that are linked dynamicly. We did
Marcel Moolenaar [Wed, 5 Mar 2003 04:39:24 +0000 (04:39 +0000)]
Fix threaded applications on ia64 that are linked dynamicly. We did
not save (restore) the global pointer (GP) in the jmpbuf in setjmp
(longjmp) because it's not needed in general. GP is considered a
scratch register at callsites and hence is always restored after a
call (when it's possible that the call resolves to a symbol in a
different loadmodule; otherwise GP does not have to be saved and
restored at all), including calls to setjmp/longjmp. There's just
one problem with this now that we use setjmp/longjmp for context
switching: A new context must have GP defined properly for the
thread's entry point. This means that we need to put GP in the
jmpbuf and consequently that we have to restore is in longjmp.
This automaticly requires us to save it as well.

When setjmp/longjmp isn't used for context switching, this can be
reverted again.

21 years agoDon't cast an int to a pointer type without (possibly) widening the
Marcel Moolenaar [Wed, 5 Mar 2003 04:28:08 +0000 (04:28 +0000)]
Don't cast an int to a pointer type without (possibly) widening the
integral type to the size of a pointer type when it's known that the
cast is valid. On ia64 such casts are generally bad news and has led
us (=peter :-) to make such casts fatal. By casting to intptr_t
before casting to a pointer type, this now compiles cleanly in LP64
architectures. Note that the final cast has been changed to void*
(instead of siginfo_t*) to make it explicit that we're not trying to
pass a siginfo_t pointer but rather trying to pass an int when the
prototype says it should be a pointer.

21 years agoABI breaker: Move the J_SIGMASK field in the jmpbuf before
Marcel Moolenaar [Wed, 5 Mar 2003 03:30:54 +0000 (03:30 +0000)]
ABI breaker: Move the J_SIGMASK field in the jmpbuf before
the J_SIG0 field. While here, rename J_SIG0 to J_SIGSET and
remove J_SIG1. The main reason for this change is that the
128-bit sigset_t is now aligned on a 16-byte boundary, which
allows us to use 16-byte atomic loads and stores on CPUs that
support it. The removal of J_SIG1 is done to avoid confusion:
it is never accessed and should not be. Renaming J_SIG0 to
J_SIGSET is the icing on the cake that's better done now than
later.

21 years agoUpdate those versions of firmware that support ibss mode
Warner Losh [Wed, 5 Mar 2003 02:37:20 +0000 (02:37 +0000)]
Update those versions of firmware that support ibss mode

21 years agoSet ldesc after dbch->ndesc has initialized.
Hidetoshi Shimokawa [Wed, 5 Mar 2003 01:50:57 +0000 (01:50 +0000)]
Set ldesc after dbch->ndesc has initialized.

21 years agoRe-document unimplemented capabilities that were removed in the last
David Schultz [Wed, 5 Mar 2003 00:21:35 +0000 (00:21 +0000)]
Re-document unimplemented capabilities that were removed in the last
revision of this file, but note that they are not supported in the
base system.

Requested by: ache
Reviewed by: ache, mike (mentor)

21 years agoDocument the tunable kern.ipc.nsfbufs in help.common and loader.8. Small
Sean Chittenden [Tue, 4 Mar 2003 23:46:29 +0000 (23:46 +0000)]
Document the tunable kern.ipc.nsfbufs in help.common and loader.8.  Small
nearby grammar fixup that saves a line of display while in the loader
(help set tunables), but reuses the line for kern.ipc.nsfbufs.

Approved by:  roam

21 years agoGC unused files.
Jonathan Lemon [Tue, 4 Mar 2003 23:28:19 +0000 (23:28 +0000)]
GC unused files.

21 years agoUpdate netisr handling; Each SWI now registers its queue, and all queue
Jonathan Lemon [Tue, 4 Mar 2003 23:19:55 +0000 (23:19 +0000)]
Update netisr handling; Each SWI now registers its queue, and all queue
drain routines are done by swi_net, which allows for better queue control
at some future point.  Packets may also be directly dispatched to a netisr
instead of queued, this may be of interest at some installations, but
currently defaults to off.

Reviewed by: hsu, silby, jayanth, sam
Sponsored by: DARPA, NAI Labs

21 years agoBah, fix a bogon in the last commit: get the sense of a compare test right
John Baldwin [Tue, 4 Mar 2003 22:34:07 +0000 (22:34 +0000)]
Bah, fix a bogon in the last commit: get the sense of a compare test right
so that we allow a sleepable lock to be acquired with Giant held rather
than allowing a sleepable lock to be acquired with anything but Giant held.

21 years ago - Hold the buf lock while manipulating and inspecting its fields.
Jeff Roberson [Tue, 4 Mar 2003 21:35:28 +0000 (21:35 +0000)]
 - Hold the buf lock while manipulating and inspecting its fields.
 - Use gbincore() and not incore() so that we can drop the vnode interlock
   as we acquire the buflock.
 - Use GB_LOCK_NOWAIT when getting bufs for read ahead clusters so that we
   don't block on locked bufs.
 - Convert a while loop to a howmany() that will most likely be faster on
   modern processors.  There is another while loop divide that was left
   near by because it is operating on a 64bit int and is most likely faster.
 - Cleanup the cluster_read() code a little to get rid of a goto and make
   the logic clearer.

Tested on: x86, alpha
Tested by: Steve Kargl <sgk@troutmask.apl.washington.edu>
Reviewd by: arch

21 years agoRemove safety belt: it is now ok to do a mtx_trylock() on a mutex you
John Baldwin [Tue, 4 Mar 2003 21:32:25 +0000 (21:32 +0000)]
Remove safety belt: it is now ok to do a mtx_trylock() on a mutex you
already own.  The mtx_trylock() will fail however.  Enhance the comment
at the top of the try lock function to explain this.

Requested by: jlemon and his evil netisr locking

21 years agoDon't complain about an early end-of-file in the -r case rather than
Tony Finch [Tue, 4 Mar 2003 21:22:05 +0000 (21:22 +0000)]
Don't complain about an early end-of-file in the -r case rather than
the opposite. Does this pointy hat look good on me?

21 years agoReplace calls to WITNESS_SLEEP() and witness_list() with equivalent calls
John Baldwin [Tue, 4 Mar 2003 21:03:05 +0000 (21:03 +0000)]
Replace calls to WITNESS_SLEEP() and witness_list() with equivalent calls
to WITNESS_WARN().

21 years agoAdd a WITNESS_WARN() call to verify that we hold no locks after running
John Baldwin [Tue, 4 Mar 2003 21:01:42 +0000 (21:01 +0000)]
Add a WITNESS_WARN() call to verify that we hold no locks after running
a handler from an interrupt thread.

21 years agoA small overhaul of witness:
John Baldwin [Tue, 4 Mar 2003 20:56:39 +0000 (20:56 +0000)]
A small overhaul of witness:
- Add a comment about special lock order rules and Giant near the top of
  subr_witness.c.  Specifically, this documents and explains the real lock
  order relationship between Giant and sleepable locks (i.e. lockmgr locks
  and sx locks).  Basically, Giant can be safely acquired either before or
  after sleepable locks and the case of Giant before a sleepable lock is
  exempted as a special case.
- Add a new static function 'witness_list_lock()' that displays a single
  line of information about a struct lock_instance.  This is used to
  make the output of witness messages more consistent and reduce some code
  duplication.
- Fixup a few comments in witness_lock().
- Properly handle the Giant-before-sleepable-lock lock order exception in
  a more general fashion and remove the no longer needed LI_SLEPT flag.
- Break up the last condition before assuming a reversal a bit to try
  and make the logic less confusing in witness_lock().
- Axe WITNESS_SLEEP() now that LI_SLEPT is no longer needed and replace it
  with a more general WITNESS_WARN() macro/function combination.
  WITNESS_WARN() allows you to output a customized message out to the
  console along with a list of held locks.  It will optionally drop into
  the debugger as well.  You can exempt a single lock from the check by
  passing it in as the second argument.  You can also use flags to specify
  if Giant should be exempt from the check, if all sleepable locks should
  be exempt from the check, and if witness should panic if any non-exempt
  locks are found.
- Make the witness_list() function static.  Other areas of the kernel
  should use the new WITNESS_WARN() instead.

21 years agoMiscellaneous cleanups to _mtx_lock_sleep():
John Baldwin [Tue, 4 Mar 2003 20:32:41 +0000 (20:32 +0000)]
Miscellaneous cleanups to _mtx_lock_sleep():
- Declare some local variables at the top of the function instead of in a
  nested block.
- Use mtx_owned() instead of masking off bits from mtx_lock manually.
- Read the value of mtx_lock into 'v' as a separate line rather than inside
  an if statement for clarity.  This code is hairy enough as it is.

21 years agoProperly assert that mtx_trylock() is not called on a mutex we already
John Baldwin [Tue, 4 Mar 2003 20:30:30 +0000 (20:30 +0000)]
Properly assert that mtx_trylock() is not called on a mutex we already
owned.  Previously the KASSERT would only trigger if we successfully
acquired a lock that we already held.  However, _obtain_lock() fails to
acquire locks that we already hold, so the KASSERT was never checked in
the case it was supposed to fail.

21 years agoWrap the hyperthreading support code with the HTT kernel option.
John Baldwin [Tue, 4 Mar 2003 20:24:53 +0000 (20:24 +0000)]
Wrap the hyperthreading support code with the HTT kernel option.
Hyperthreading support is now off unless the HTT option is added.

MFC-after: 3 days

21 years agoFix bug introduced in 1.130. For the < MHLEN case, we should
Bosko Milekic [Tue, 4 Mar 2003 20:19:26 +0000 (20:19 +0000)]
Fix bug introduced in 1.130.  For the < MHLEN case, we should
be doing a m_gethdr(), not an m_get().

Pointed out by: Hiten Pandya <hiten@unixdaemons.com>
Pointy hat to: Me

21 years agoFix a bug in the white-space remover.
Poul-Henning Kamp [Tue, 4 Mar 2003 19:20:52 +0000 (19:20 +0000)]
Fix a bug in the white-space remover.

21 years agoAdd cvsroot-all to the example
Peter Wemm [Tue, 4 Mar 2003 19:02:27 +0000 (19:02 +0000)]
Add cvsroot-all to the example

21 years agoDoh, committed to the wrong branch.
Ruslan Ermilov [Tue, 4 Mar 2003 17:24:18 +0000 (17:24 +0000)]
Doh, committed to the wrong branch.

Spotted by: johan

21 years agoStart whining to stderr when people use obsolete flags. These flags
Warner Losh [Tue, 4 Mar 2003 14:59:48 +0000 (14:59 +0000)]
Start whining to stderr when people use obsolete flags.  These flags
will be removed.  Give terse pointer to ifconfig h0h0 magic to use.

21 years agoanother obsolete flag
Warner Losh [Tue, 4 Mar 2003 14:55:58 +0000 (14:55 +0000)]
another obsolete flag

21 years agoCorrect mistake in T flag: weptxkey is the replacement
Warner Losh [Tue, 4 Mar 2003 14:54:49 +0000 (14:54 +0000)]
Correct mistake in T flag: weptxkey is the replacement

21 years agoDocument the obsolete flags as obsolete, with pointers to their
Warner Losh [Tue, 4 Mar 2003 14:47:19 +0000 (14:47 +0000)]
Document the obsolete flags as obsolete, with pointers to their
ifconfig equivalents.  This is the first step in removing them from
the system.  Users of wicontrol to configure the wireless card are
strongly encouraged to change their scripts, as sometime in the future
all configuration of the cards that isn't in ifconfig will be removed
with extreme prejustice.

21 years agoBump __FreeBSD_version to mark new cdevsw initialization.
Poul-Henning Kamp [Tue, 4 Mar 2003 12:44:48 +0000 (12:44 +0000)]
Bump __FreeBSD_version to mark new cdevsw initialization.

21 years agoInitialize the second buffer for mirroring to point to itself and not its
Poul-Henning Kamp [Tue, 4 Mar 2003 10:15:19 +0000 (10:15 +0000)]
Initialize the second buffer for mirroring to point to itself and not its
partner.

21 years agoMFC: Ship with /etc/login.conf hashed.
Ruslan Ermilov [Tue, 4 Mar 2003 09:49:00 +0000 (09:49 +0000)]
MFC: Ship with /etc/login.conf hashed.

Approved by: re

21 years agoRegen:
Sheldon Hearn [Tue, 4 Mar 2003 09:13:28 +0000 (09:13 +0000)]
Regen:

* Boemler: vendors.txt (2003-02-13)

21 years agoFix printf warning on RELENG_4.
Hidetoshi Shimokawa [Tue, 4 Mar 2003 06:47:17 +0000 (06:47 +0000)]
Fix printf warning on RELENG_4.

21 years ago - Create a function sched_interact_score() which decides on the
Jeff Roberson [Tue, 4 Mar 2003 02:45:59 +0000 (02:45 +0000)]
 - Create a function sched_interact_score() which decides on the
   interactivity of a kseg and assigns it a value of 0 through 100.
 - Use sched_interact_score() to determine the dynamic priority.
 - Define SCHED_CURR() in terms of sched_interact_score().
 - Adjust the maximum slice back down to 100ms.
 - Remove redundant clearing of ke_runq in sched_wakeup()
 - Clean up #defines and comment them.

21 years ago - Add a new 'flags' parameter to getblk().
Jeff Roberson [Tue, 4 Mar 2003 00:04:44 +0000 (00:04 +0000)]
 - Add a new 'flags' parameter to getblk().
 - Define one flag GB_LOCK_NOWAIT that tells getblk() to pass the LK_NOWAIT
   flag to the initial BUF_LOCK().  This will eventually be used in cases
   were we want to use a buffer only if it is not currently in use.
 - Convert all consumers of the getblk() api to use this extra parameter.

Reviwed by: arch
Not objected to by: mckusick

21 years ago - Correct the wchan in vop_stdfsync()
Jeff Roberson [Mon, 3 Mar 2003 23:37:50 +0000 (23:37 +0000)]
 - Correct the wchan in vop_stdfsync()

This is almost what bde asked for.  There is some desire to have per fs wchans
still but that is difficult giving the current arrangement of the code.

21 years agoIf we carry our MODULES_WITH_WORLD, we probably also do not want
Ruslan Ermilov [Mon, 3 Mar 2003 22:54:35 +0000 (22:54 +0000)]
If we carry our MODULES_WITH_WORLD, we probably also do not want
for installkernel to wipe them out later.  So install them under
/boot/modules if that is the case.

21 years agoFreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
Ruslan Ermilov [Mon, 3 Mar 2003 22:53:35 +0000 (22:53 +0000)]
FreeBSD 5.0 has stopped shipping /modules 2.5 years ago.  Catch
up with this further by excluding /modules from the (default)
kern.module_path.

21 years agoexists() is too aggressive when searching for files without a full path.
Ruslan Ermilov [Mon, 3 Mar 2003 22:51:22 +0000 (22:51 +0000)]
exists() is too aggressive when searching for files without a full path.

Inspired by: bsd.prog.mk,v 1.105

21 years ago3rd party modules live in /boot/modules nowadays.
Ruslan Ermilov [Mon, 3 Mar 2003 22:49:21 +0000 (22:49 +0000)]
3rd party modules live in /boot/modules nowadays.

21 years agoCorrect the path to the modules directory.
Ruslan Ermilov [Mon, 3 Mar 2003 22:48:49 +0000 (22:48 +0000)]
Correct the path to the modules directory.

21 years agoAdd an xref to kldconfig(8).
Ruslan Ermilov [Mon, 3 Mar 2003 22:48:06 +0000 (22:48 +0000)]
Add an xref to kldconfig(8).

21 years ago/modules is gone long ago, use the safe equivalents.
Ruslan Ermilov [Mon, 3 Mar 2003 22:46:36 +0000 (22:46 +0000)]
/modules is gone long ago, use the safe equivalents.

21 years agoMFlibc_r: add and document pthread_attr_get_np() function.
Alexey Zelkin [Mon, 3 Mar 2003 22:40:20 +0000 (22:40 +0000)]
MFlibc_r: add and document pthread_attr_get_np() function.

21 years agoPick up one file missed in the previous vprint() cleanup
Nate Lawson [Mon, 3 Mar 2003 19:50:36 +0000 (19:50 +0000)]
Pick up one file missed in the previous vprint() cleanup

21 years agoFinish cleanup of vprint() which was begun with changing v_tag to a string.
Nate Lawson [Mon, 3 Mar 2003 19:15:40 +0000 (19:15 +0000)]
Finish cleanup of vprint() which was begun with changing v_tag to a string.
Remove extraneous uses of vop_null, instead defering to the default op.
Rename vnode type "vfs" to the more descriptive "syncer".
Fix formatting for various filesystems that use vop_print.

21 years agoSA:03-04 note was a poor cut-n-paste from the SA. Do it right this
Bruce A. Mah [Mon, 3 Mar 2003 18:23:57 +0000 (18:23 +0000)]
SA:03-04 note was a poor cut-n-paste from the SA.  Do it right this
time.

21 years agoNew errata item: SA-03:04.
Bruce A. Mah [Mon, 3 Mar 2003 18:20:00 +0000 (18:20 +0000)]
New errata item:  SA-03:04.

21 years agoNew release note: SA-03:04.
Bruce A. Mah [Mon, 3 Mar 2003 18:12:43 +0000 (18:12 +0000)]
New release note:  SA-03:04.

21 years agoUpdated release notes: sendmail-8.12.8 (+MFC), tcpdump-3.7.2 (+MFC).
Bruce A. Mah [Mon, 3 Mar 2003 17:48:09 +0000 (17:48 +0000)]
Updated release notes:  sendmail-8.12.8 (+MFC), tcpdump-3.7.2 (+MFC).

MFC noted:  ISC DHCP 3.0.1RC11.

21 years agosendmail 8.12.8 has been imported
Gregory Neil Shapiro [Mon, 3 Mar 2003 17:25:49 +0000 (17:25 +0000)]
sendmail 8.12.8 has been imported

21 years agoFix conflicts from sendmail 8.12.8 import
Gregory Neil Shapiro [Mon, 3 Mar 2003 17:18:01 +0000 (17:18 +0000)]
Fix conflicts from sendmail 8.12.8 import

21 years agoThis commit was generated by cvs2svn to compensate for changes in r111823,
Gregory Neil Shapiro [Mon, 3 Mar 2003 17:09:13 +0000 (17:09 +0000)]
This commit was generated by cvs2svn to compensate for changes in r111823,
which included commits to RCS files with non-trunk default branches.

21 years agoImport sendmail 8.12.8
Gregory Neil Shapiro [Mon, 3 Mar 2003 17:09:13 +0000 (17:09 +0000)]
Import sendmail 8.12.8

21 years agoRearrange the members of struct cdevsw to be absolutely sure to catch
Poul-Henning Kamp [Mon, 3 Mar 2003 16:34:54 +0000 (16:34 +0000)]
Rearrange the members of struct cdevsw to be absolutely sure to catch
any initializations which are not done right.

21 years agoMake nokqfilter() return the correct return value.
Poul-Henning Kamp [Mon, 3 Mar 2003 16:24:47 +0000 (16:24 +0000)]
Make nokqfilter() return the correct return value.

Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.

21 years agoAdd missing 'static' on two routines, so they match their declarations.
Garance A Drosehn [Mon, 3 Mar 2003 15:31:35 +0000 (15:31 +0000)]
Add missing 'static' on two routines, so they match their declarations.

PR: 29363 (a small part of)
Submitted by: dinoex
MFC after: 3 weeks

21 years agoSimplify ORB queue management.
Hidetoshi Shimokawa [Mon, 3 Mar 2003 15:27:29 +0000 (15:27 +0000)]
Simplify ORB queue management.
Don't send doorbell and send ORB pointer only if it's necessary.
This reduces bus traffic and interrupts much.

21 years agoAdd a "-S sectorsize" option to enable Kirk to find a bug :-)
Poul-Henning Kamp [Mon, 3 Mar 2003 13:05:00 +0000 (13:05 +0000)]
Add a "-S sectorsize" option to enable Kirk to find a bug :-)