]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoAllow "obsolete" (but commonly-used) command line style to be used
Bill Fenner [Tue, 2 Oct 2001 06:22:01 +0000 (06:22 +0000)]
Allow "obsolete" (but commonly-used) command line style to be used
 with -F, e.g. tail -1 -F /var/log/messages.

Submitted by: Maxim Konovalov <maxim@macomnet.ru>

22 years agoRemove redundant and misplaced "options DDB" line.
Marcel Moolenaar [Tue, 2 Oct 2001 06:18:23 +0000 (06:18 +0000)]
Remove redundant and misplaced "options DDB" line.

22 years agoFix organizational nits: Move Cardbus/NEWCARD release note to PCCARD
Bruce A. Mah [Tue, 2 Oct 2001 04:59:33 +0000 (04:59 +0000)]
Fix organizational nits:  Move Cardbus/NEWCARD release note to PCCARD
section.  Move release notes for tunneling-type drivers from network
protocol section to NICs section for consistency (tap(4) release notes
were combined).

22 years agoTry to make some sense of the various release note items
Bruce A. Mah [Tue, 2 Oct 2001 04:45:18 +0000 (04:45 +0000)]
Try to make some sense of the various release note items
documenting OpenSSH version updates in -CURRENT and coalesce them into
a single item.

22 years agoBackout the last commit. The problem is actually much worse then I
Matthew Dillon [Tue, 2 Oct 2001 04:26:58 +0000 (04:26 +0000)]
Backout the last commit.  The problem is actually much worse then I
first thought and may require serious work to the VOP_RENAME() api itself.
Basically, by the time the VOP_RENAME() function is called, it's already
too late.

22 years agoNew release note: Each jail(2) can have its own securelevel (requested by
Bruce A. Mah [Tue, 2 Oct 2001 03:40:58 +0000 (03:40 +0000)]
New release note:  Each jail(2) can have its own securelevel (requested by
rwatson).

Mention that the OpenSSH 2.9 upgrade made ssh-agent(1) work for DSA
keys.

22 years agoIN_RENAME should only be cleared by the routine that set it. This fixes
Matthew Dillon [Tue, 2 Oct 2001 02:58:48 +0000 (02:58 +0000)]
IN_RENAME should only be cleared by the routine that set it.  This fixes
a rename/rmdir race that has been shown to cause a panic.

Bug reported by: Yevgeniy Aleynikov <eugenea@infospace.com>
MFC after: 3 days

22 years agoRemove all OpenBSD/NetBSD code. It was the right place to start from, but
Matt Jacob [Tue, 2 Oct 2001 00:13:44 +0000 (00:13 +0000)]
Remove all OpenBSD/NetBSD code. It was the right place to start from, but
it now really gets in the way.

This allows us to fix several problems- not least of which was problems
of ordering about when you'd have a device softc for an miibus child
available or not. Move some steps of things around.

Put the ifnet/arpcom structure at the head of the softc (PR 29249).

Don't do tx gc in the interrupt service routine- that seems to make
things a bit more efficient.

Enable jumbo support by default- but this version of 'jumbo' is broken
because it really is just using multiple tfd/rfd's to match a packet,
which will never be > CLSIZE anyway.

This should begin the first steps toward cleaning this driver up.

PR: 29249
MFC after: 1 week

22 years agogrammar fix: to -> too
Mike Silbersack [Mon, 1 Oct 2001 23:41:13 +0000 (23:41 +0000)]
grammar fix: to -> too

22 years agoClean this up after the NetBSD syncing.
David E. O'Brien [Mon, 1 Oct 2001 23:10:48 +0000 (23:10 +0000)]
Clean this up after the NetBSD syncing.

22 years agoFix ID's after a total boch CVS merge due to multiple people making
David E. O'Brien [Mon, 1 Oct 2001 23:00:29 +0000 (23:00 +0000)]
Fix ID's after a total boch CVS merge due to multiple people making
commits to these files.
As I sing to CVS:
Have I told you lately that I hate your guts?  Have I told you
all SCM's are above you?  You fill my heart with pain, take away
all my merging joy, grow my troubles that's what you do."

22 years agoNote the 'common knowledge' assumption that each NIC's softc starts
Matt Jacob [Mon, 1 Oct 2001 22:57:57 +0000 (22:57 +0000)]
Note the 'common knowledge' assumption that each NIC's softc starts
with an ifnet structure (so device_get_softc will get one).

If memory allocation fails in mii_phy_probe, don't just march ahead into
a panic- return ENOMEM.

MFC after: 1 week

22 years agoAdd ()'s around the warning message when skipping a startup script.
David E. O'Brien [Mon, 1 Oct 2001 22:52:32 +0000 (22:52 +0000)]
Add ()'s around the warning message when skipping a startup script.
Also don't give the whole path, just the script name.

Submitted by: des
Requested by: jhb

22 years agoMove the ap boot spin lock earlier in the lock order before the sio(4)
John Baldwin [Mon, 1 Oct 2001 22:50:30 +0000 (22:50 +0000)]
Move the ap boot spin lock earlier in the lock order before the sio(4)
lock since we occasionally call printf() while holding the ap boot lock
which can call down into the sio(4) driver if using a serial console.

22 years agoSigh, statclock_process() takes a KSE instead of a thread for its first
John Baldwin [Mon, 1 Oct 2001 22:26:47 +0000 (22:26 +0000)]
Sigh, statclock_process() takes a KSE instead of a thread for its first
argument.

22 years agoTweak the Skipping ${script} logic to also handle symlinks.
David E. O'Brien [Mon, 1 Oct 2001 21:30:27 +0000 (21:30 +0000)]
Tweak the Skipping ${script} logic to also handle symlinks.
Also echo with "-n".

22 years agoBack out WIP that snuck in with revs 1.15[23].
David E. O'Brien [Mon, 1 Oct 2001 21:09:21 +0000 (21:09 +0000)]
Back out WIP that snuck in with revs 1.15[23].

22 years agoOur histedit.h lives in src/include.
David E. O'Brien [Mon, 1 Oct 2001 21:08:03 +0000 (21:08 +0000)]
Our histedit.h lives in src/include.

22 years agoMerge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc.
David E. O'Brien [Mon, 1 Oct 2001 21:07:33 +0000 (21:07 +0000)]
Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc.

22 years agoMerge functional changes from NetBSD.
David E. O'Brien [Mon, 1 Oct 2001 21:06:25 +0000 (21:06 +0000)]
Merge functional changes from NetBSD.

22 years agoAdd d_thread_t. This is a typedef for struct thread in -current and
Warner Losh [Mon, 1 Oct 2001 20:15:11 +0000 (20:15 +0000)]
Add d_thread_t.  This is a typedef for struct thread in -current and
will be one for struct proc in stable.  those drivers needing to have
cross version portability should use d_thread_t instead of inventing
their own means.  Non-drivers, and drivers that either only run on
-current or must look under the covers of the struct proc/thread
should must not use this.

As noted in arch@, this minorly violates style(9), but the sys/conf.h
devsw already violates this and all I'm doing is extending the
violation to ease the burdon on device driver writers.  It was judged
that this minor violation, which doesn't impact userland or those
people not using it, was preferable to the alternatives (eg #define
proc thread).  C does not allow a way to rename or alias structs
easily, so we fall back to using a typedef.

Bump FreeBSD_version to reflect this change (porters guide to be done
in a separate commit).

22 years agoo Complete the migration from suser error checking in the following form
Robert Watson [Mon, 1 Oct 2001 20:01:07 +0000 (20:01 +0000)]
o Complete the migration from suser error checking in the following form
  in vfs_syscalls.c:

    if (mp->mnt_stat.f_owner != p->p_ucred->cr_uid &&
        (error = suser_td(td)) != 0) {
            unwrap_lots_of_stuff();
            return (error);
    }

  to:

    if (mp->mnt_stat.f_owner != p->p_ucred->cr_uid) {
            error = suser_td(td);
            if (error) {
                unwrap_lots_of_stuff();
                return (error);
            }
    }

  This makes the code more readable when complex clauses are in use,
  and minimizes conflicts for large outstanding patchsets modifying the
  kernel authorization code (of which I have several), especially where
  existing authorization and context code are combined in the same if()
  conditional.

Obtained from: TrustedBSD Project

22 years agoNew release notes: Per-interface IP address hash table, network
Bruce A. Mah [Mon, 1 Oct 2001 19:36:21 +0000 (19:36 +0000)]
New release notes:  Per-interface IP address hash table, network
devices in /dev, UUCP moved to ports.

MFCs noted:  bge(4).

22 years agoUpdate the hash table when sppp mucks directly with the interface address.
Jonathan Lemon [Mon, 1 Oct 2001 18:14:49 +0000 (18:14 +0000)]
Update the hash table when sppp mucks directly with the interface address.

22 years agoin_ifinit apparently can be used to rewrite an ip address; recalculate
Jonathan Lemon [Mon, 1 Oct 2001 18:07:08 +0000 (18:07 +0000)]
in_ifinit apparently can be used to rewrite an ip address; recalculate
the correct hash bucket for the entry.

Submitted by: iedowse  (with some munging by me)

22 years agosppp rewrites the interface's ip address directly; this breaks when the
Jonathan Lemon [Mon, 1 Oct 2001 18:03:56 +0000 (18:03 +0000)]
sppp rewrites the interface's ip address directly; this breaks when the
address is looked up via a hash table.  Add a hack to move the entry to
a new hash bucket when the address changes.

Submitted by: tmm

22 years agoFix a problem with unnumbered rules introduced in latest commit.
Luigi Rizzo [Mon, 1 Oct 2001 17:35:54 +0000 (17:35 +0000)]
Fix a problem with unnumbered rules introduced in latest commit.
Reported by: des

22 years agoRemove some entries to make the image fit into a floppy again.
Luigi Rizzo [Mon, 1 Oct 2001 17:32:43 +0000 (17:32 +0000)]
Remove some entries to make the image fit into a floppy again.

22 years agoWhoops, I whould have removed the old entry...
Luigi Rizzo [Mon, 1 Oct 2001 17:22:25 +0000 (17:22 +0000)]
Whoops, I whould have removed the old entry...

22 years agoMove up the tinyware entry so things are looked up there first.
Luigi Rizzo [Mon, 1 Oct 2001 17:21:33 +0000 (17:21 +0000)]
Move up the tinyware entry so things are looked up there first.

22 years agoRemove (commented out) use of pam_ssh where it won't work.
Mark Murray [Mon, 1 Oct 2001 17:05:32 +0000 (17:05 +0000)]
Remove (commented out) use of pam_ssh where it won't work.

22 years agoDocument how manpath(1) handles user's path directories that end in "/bin".
Ruslan Ermilov [Mon, 1 Oct 2001 16:58:30 +0000 (16:58 +0000)]
Document how manpath(1) handles user's path directories that end in "/bin".

PR: docs/30940
MFC after: 3 days

22 years agoAdd customised version of login for picobsd images on -CURRENT.
Luigi Rizzo [Mon, 1 Oct 2001 16:58:28 +0000 (16:58 +0000)]
Add customised version of login for picobsd images on -CURRENT.
This version is basically the same one as login.c 1.67, and does
not require the use of PAM.

22 years agomdoc(7) police: markup and grammar nits.
Ruslan Ermilov [Mon, 1 Oct 2001 16:38:25 +0000 (16:38 +0000)]
mdoc(7) police: markup and grammar nits.

22 years agoMake __RCSID() and __FBSDID() examples compile.
Ruslan Ermilov [Mon, 1 Oct 2001 16:13:59 +0000 (16:13 +0000)]
Make __RCSID() and __FBSDID() examples compile.

22 years agomdoc(7) police: Use the new .In macro for #include statements.
Ruslan Ermilov [Mon, 1 Oct 2001 16:09:29 +0000 (16:09 +0000)]
mdoc(7) police: Use the new .In macro for #include statements.

22 years agoAdd __FBSDID() to diff-reduce with "base" telnet.
Mark Murray [Mon, 1 Oct 2001 16:04:55 +0000 (16:04 +0000)]
Add __FBSDID() to diff-reduce with "base" telnet.

22 years agoRe-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
Ruslan Ermilov [Mon, 1 Oct 2001 15:53:07 +0000 (15:53 +0000)]
Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
Fixed some more.

22 years agomdoc(7) police: make double quotes in #include statement visible.
Ruslan Ermilov [Mon, 1 Oct 2001 15:01:57 +0000 (15:01 +0000)]
mdoc(7) police: make double quotes in #include statement visible.

22 years agoChange the way DAO/TAO mode is init'ed.
Søren Schmidt [Mon, 1 Oct 2001 14:59:52 +0000 (14:59 +0000)]
Change the way DAO/TAO mode is init'ed.

Fix a bogon introduced in the previous commit, that broke CDIOREADSUBCHANNEL.

22 years agoChange the way DAO/TAO modes are init'ed.
Søren Schmidt [Mon, 1 Oct 2001 14:58:04 +0000 (14:58 +0000)]
Change the way DAO/TAO modes are init'ed.

22 years agoAdd test_write element.
Søren Schmidt [Mon, 1 Oct 2001 14:56:56 +0000 (14:56 +0000)]
Add test_write element.

22 years agomdoc(7) police: fix markup.
Ruslan Ermilov [Mon, 1 Oct 2001 14:13:36 +0000 (14:13 +0000)]
mdoc(7) police: fix markup.

22 years agomdoc(7) police: don't split author names in the AUTHORS section.
Ruslan Ermilov [Mon, 1 Oct 2001 13:50:03 +0000 (13:50 +0000)]
mdoc(7) police: don't split author names in the AUTHORS section.

22 years agoDocument new cursor escape sequences.
Ruslan Ermilov [Mon, 1 Oct 2001 13:47:40 +0000 (13:47 +0000)]
Document new cursor escape sequences.

22 years agomdoc(7) police: markup nits.
Ruslan Ermilov [Mon, 1 Oct 2001 13:42:41 +0000 (13:42 +0000)]
mdoc(7) police: markup nits.

22 years agomdoc(7) police: removed whitespace at EOL.
Ruslan Ermilov [Mon, 1 Oct 2001 13:40:31 +0000 (13:40 +0000)]
mdoc(7) police: removed whitespace at EOL.

22 years agomdoc(7) police: s/FreeBSD/.Fx/, bump document date.
Ruslan Ermilov [Mon, 1 Oct 2001 13:32:46 +0000 (13:32 +0000)]
mdoc(7) police: s/FreeBSD/.Fx/, bump document date.

22 years agomdoc(7) police: removed gratuitous .Pp calls.
Ruslan Ermilov [Mon, 1 Oct 2001 13:28:16 +0000 (13:28 +0000)]
mdoc(7) police: removed gratuitous .Pp calls.

22 years agomdoc(7) police: markup and spelling nits.
Ruslan Ermilov [Mon, 1 Oct 2001 13:24:18 +0000 (13:24 +0000)]
mdoc(7) police: markup and spelling nits.

22 years agomdoc(7) police: removed hard sentence breaks, minor markup nits.
Ruslan Ermilov [Mon, 1 Oct 2001 13:20:05 +0000 (13:20 +0000)]
mdoc(7) police: removed hard sentence breaks, minor markup nits.

22 years agomdoc(7) police: removed hard sentence break.
Ruslan Ermilov [Mon, 1 Oct 2001 13:06:40 +0000 (13:06 +0000)]
mdoc(7) police: removed hard sentence break.

22 years agomdoc(7) police: fixed markup of the FILES section.
Ruslan Ermilov [Mon, 1 Oct 2001 13:04:35 +0000 (13:04 +0000)]
mdoc(7) police: fixed markup of the FILES section.

22 years agomdoc(7) police: add missing punctuation.
Ruslan Ermilov [Mon, 1 Oct 2001 13:02:32 +0000 (13:02 +0000)]
mdoc(7) police: add missing punctuation.

22 years agomdoc(7) police: markup nits.
Ruslan Ermilov [Mon, 1 Oct 2001 12:58:03 +0000 (12:58 +0000)]
mdoc(7) police: markup nits.

22 years agomdoc(7) police: markup nits.
Ruslan Ermilov [Mon, 1 Oct 2001 12:52:24 +0000 (12:52 +0000)]
mdoc(7) police: markup nits.

22 years agomdoc(7) police: s/atof/atoi/
Ruslan Ermilov [Mon, 1 Oct 2001 12:44:24 +0000 (12:44 +0000)]
mdoc(7) police: s/atof/atoi/

22 years ago"Avance Logic", not "Advance Logic".
Dima Dorfman [Mon, 1 Oct 2001 12:36:52 +0000 (12:36 +0000)]
"Avance Logic", not "Advance Logic".

Submitted by: Robert Reid <robreid@cse.unsw.edu.au>

22 years agoFix the function CD(): "Clear to the end of the screen".
Kazutaka YOKOTA [Mon, 1 Oct 2001 11:48:02 +0000 (11:48 +0000)]
Fix the function CD(): "Clear to the end of the screen".

- When the video BIOS is called to clear the region (x, y)-(79, 24)
  (by scrolling), the slashed region in Fig.1 is cleared.  CD() is
  supposed to clear the region shown in Fig.2.
        x                 x
    +-------+         +-------+
    |       |         |       |
   y|   ////|        y|   ////|
    |   ////|         |///////|
    |   ////|         |///////|
    +-------+         +-------+
      Fig.1             Fig.2

- Don't move the cursor during this operation.

22 years agoThis is white-space only change. No functional difference.
Kazutaka YOKOTA [Mon, 1 Oct 2001 11:42:25 +0000 (11:42 +0000)]
This is white-space only change.  No functional difference.

- Be consistent about placing spaces around keywords and
  operators; don't mix statements like "if(A==B)" and "if (X == Y)",
  "return(0)" and "return (-1)", "P=10" and "Q = 0", etc.

- Consitently indent lines. It's not good to indent by 8 columns
  in one part of the file, and by 4 columns in the other part.

22 years agoAdd the 4.4-FreeBSD libperl.so.3 as the version in -CURRENT is .so.4.
David E. O'Brien [Mon, 1 Oct 2001 11:25:34 +0000 (11:25 +0000)]
Add the 4.4-FreeBSD libperl.so.3 as the version in -CURRENT is .so.4.

22 years agoAdd the 4.4-FreeBSD libedit.so after the sh version bump in -CURRENT due
David E. O'Brien [Mon, 1 Oct 2001 09:26:23 +0000 (09:26 +0000)]
Add the 4.4-FreeBSD libedit.so after the sh version bump in -CURRENT due
to the API changes from merging with the NetBSD libedit.

22 years agoWhat was I thinking???
David E. O'Brien [Mon, 1 Oct 2001 09:25:49 +0000 (09:25 +0000)]
What was I thinking???
<JEDI MIND TRICK>
That was not the commit you wanted to get.
</JEDI MIND TRICK>

22 years agoWhat was I thinking....
David E. O'Brien [Mon, 1 Oct 2001 09:22:04 +0000 (09:22 +0000)]
What was I thinking....
<JEDI MIND TRICK>
This is not the commit you wanted to get.
</JEDI MIND TRICK>

22 years agoAdd the 4.4-FreeBSD libwrap after the sh version bump in -CURRENT due to
David E. O'Brien [Mon, 1 Oct 2001 09:17:23 +0000 (09:17 +0000)]
Add the 4.4-FreeBSD libwrap after the sh version bump in -CURRENT due to
the API changes from merging with the NetBSD libwrap.

22 years agoMove the uucpd entry down a bit to live with other optional services
Kris Kennaway [Mon, 1 Oct 2001 09:16:42 +0000 (09:16 +0000)]
Move the uucpd entry down a bit to live with other optional services
and correct the path to /usr/local as an example.

Submitted by: ru

22 years agoPut back /var/spool/uucp so it can be used for serial port locking.
Kris Kennaway [Mon, 1 Oct 2001 08:54:16 +0000 (08:54 +0000)]
Put back /var/spool/uucp so it can be used for serial port locking.

22 years agoOops, /var/spool/uucp needs to stay for serial port locking
Kris Kennaway [Mon, 1 Oct 2001 08:52:40 +0000 (08:52 +0000)]
Oops, /var/spool/uucp needs to stay for serial port locking

22 years agoAdjust to the libedit enhancements some functions now take more parameters.
David E. O'Brien [Mon, 1 Oct 2001 08:46:45 +0000 (08:46 +0000)]
Adjust to the libedit enhancements some functions now take more parameters.

Partially submitted by: kris

22 years ago*** empty log message ***
David E. O'Brien [Mon, 1 Oct 2001 08:43:58 +0000 (08:43 +0000)]
*** empty log message ***

22 years ago+ Sync with NetBSD, bringing in feature enhancements.
David E. O'Brien [Mon, 1 Oct 2001 08:41:27 +0000 (08:41 +0000)]
+ Sync with NetBSD, bringing in feature enhancements.
+ Convert to ANSI-C function definitions
+ style(9)

Submitted by: kris

22 years agoOops, another obsolete UUCP knob
Kris Kennaway [Mon, 1 Oct 2001 08:29:58 +0000 (08:29 +0000)]
Oops, another obsolete UUCP knob

22 years agoNote removal of UUCP periodic maintenance knobs
Kris Kennaway [Mon, 1 Oct 2001 08:28:28 +0000 (08:28 +0000)]
Note removal of UUCP periodic maintenance knobs

22 years agoNote removal of UUCP directories
Kris Kennaway [Mon, 1 Oct 2001 08:27:22 +0000 (08:27 +0000)]
Note removal of UUCP directories

22 years agoPut back NOUUCP for now; cu and rmail are remaining pieces of the UUCP
Kris Kennaway [Mon, 1 Oct 2001 08:13:57 +0000 (08:13 +0000)]
Put back NOUUCP for now; cu and rmail are remaining pieces of the UUCP
code which will stay for now.

22 years agoMigrate uucpd to ports as well.
Kris Kennaway [Mon, 1 Oct 2001 07:53:13 +0000 (07:53 +0000)]
Migrate uucpd to ports as well.

Noticed by: ru

22 years agoRemove NOUUCP build option
Kris Kennaway [Mon, 1 Oct 2001 06:28:30 +0000 (06:28 +0000)]
Remove NOUUCP build option

22 years agoUUCP removal Phase III.
Kris Kennaway [Mon, 1 Oct 2001 06:27:44 +0000 (06:27 +0000)]
UUCP removal Phase III.

22 years agoUUCP removal phase II. These directories are now created by the
Kris Kennaway [Mon, 1 Oct 2001 06:24:50 +0000 (06:24 +0000)]
UUCP removal phase II.  These directories are now created by the
freebsd-uucp port.

22 years agoPhase I of UUCP migration to ports. This leaves behind a minimal build
Kris Kennaway [Mon, 1 Oct 2001 06:22:53 +0000 (06:22 +0000)]
Phase I of UUCP migration to ports.  This leaves behind a minimal build
environment for cu, which is still useful.

22 years agoAfter extensive testing it has been determined that adding complexity
Matthew Dillon [Mon, 1 Oct 2001 04:33:35 +0000 (04:33 +0000)]
After extensive testing it has been determined that adding complexity
to avoid removing higher level directory vnodes from the namecache has
no perceivable effect and will be removed.  This is especially true
when vmiodirenable is turned on, which it is by default now.  ( vmiodirenable
makes a huge difference in directory caching ).  The vfs.vmiodirenable and
vfs.nameileafonly sysctls have been left in to allow further testing, but
I expect to rip out vfs.nameileafonly soon too.

I have also determined through testing that the real problem with numvnodes
getting too large is due to the VM Page cache preventing the vnode from
being reclaimed.  The directory stuff made only a tiny dent relative
to Poul's original code, enough so that some tests succeeded.  But tests
with several million small files show that the bigger problem is the VM Page
cache.  This will have to be addressed by a future commit.

MFC after: 3 days

22 years agoCatch up with the visibility callback stuff, and give up trying to keep the
Dag-Erling Smørgrav [Mon, 1 Oct 2001 04:31:05 +0000 (04:31 +0000)]
Catch up with the visibility callback stuff, and give up trying to keep the
file definitions on single lines.

22 years ago[the previous commit to pseudofs_vncache.c got the wrong log message]
Dag-Erling Smørgrav [Mon, 1 Oct 2001 04:26:33 +0000 (04:26 +0000)]
[the previous commit to pseudofs_vncache.c got the wrong log message]

YA pseudofs megacommit, part 2:

 - Merge the pfs_vnode and pfs_vdata structures, and make the vnode cache
   a doubly-linked list.  This eliminates the need to walk the list in
   pfs_vncache_free().

 - Add an exit callout which revokes vnodes associated with the process
   that just exited.  Since it needs to lock the cache when it does this,
   pfs_vncache_mutex needs MTX_RECURSE.

22 years agoYA pseudofs megacommit, part 1:
Dag-Erling Smørgrav [Mon, 1 Oct 2001 04:22:20 +0000 (04:22 +0000)]
YA pseudofs megacommit, part 1:

 - Add a third callback to the pfs_node structure.  This one simply returns
   non-zero if the specified requesting process is allowed to access the
   specified node for the specified target process.  This is used in
   addition to the usual permission checks, e.g. when certain files don't
   make sense for certain (system) processes.

 - Make sure that pfs_lookup() and pfs_readdir() don't yap about files
   which aren't pfs_visible().  Also check pfs_visible() before performing
   reads and writes, to prevent the kind of races reported in SA-00:77 and
   SA-01:55 (fork a child, open /proc/child/ctl, have that child fork a
   setuid binary, and assume control of it).

 - Add some more trace points.

22 years agoFix the damage caused in the last commit:
Warner Losh [Mon, 1 Oct 2001 03:59:13 +0000 (03:59 +0000)]
Fix the damage caused in the last commit:
give the correct workaround for compat library problem
give a better acpi workaround.
Also include note about TARGET_ARCH.

DO NOT COMMIT TO THIS FILE UNLESS YOU ARE IMP.

22 years agoBegin to implement target mode that for Fibre Channel has a private
Matt Jacob [Mon, 1 Oct 2001 03:48:42 +0000 (03:48 +0000)]
Begin to implement target mode that for Fibre Channel has a private
per-command component that we *don't* try and pass thru CAM. CAM just
is too risky and too much of a pain- structures get copied, but not
all info of interest can be considered safely transported thru all
consumers (including user space) from the incoming ATIO to the outgoing
CTIO- it's just much safer to have a buddy structure, identified by the
command's tag which *does* make it thru safely.

Pay attention to link speed and report 200MB/s xfer speed for a
23XX card in 2GPs mode.

MFC after: 1 week

22 years agoImplement a call to get the actual link data rate (if 23XX) so we can
Matt Jacob [Mon, 1 Oct 2001 03:45:54 +0000 (03:45 +0000)]
Implement a call to get the actual link data rate (if 23XX) so we can
set whether it's a 2Gps or 1Gps link.

MFC after: 1 week

22 years agoTell people why they might want to disable ACPI and how to do it.
Alfred Perlstein [Mon, 1 Oct 2001 03:45:07 +0000 (03:45 +0000)]
Tell people why they might want to disable ACPI and how to do it.
Tell people how to fix the 4.x compatibility issue.

22 years agoAdd description for calendar.freebsd.
Greg Lehey [Mon, 1 Oct 2001 02:35:52 +0000 (02:35 +0000)]
Add description for calendar.freebsd.

22 years agoCorrect spelling of Labour Day in Australia, and clarify which states observe it.
Greg Lehey [Mon, 1 Oct 2001 02:35:08 +0000 (02:35 +0000)]
Correct spelling of  Labour Day in Australia, and clarify which states observe it.
Add Queen's Birthday in WA.
Expand unnecessary abbreviation.
Correct rules for German Buss-  und Betttag.
Disunite Ivory Coast and Panama.

22 years agoAdd a brief comparative analysis of 3 popular religions.
Kris Kennaway [Mon, 1 Oct 2001 01:10:15 +0000 (01:10 +0000)]
Add a brief comparative analysis of 3 popular religions.

Approved by: maintainer

22 years agoAdd huff __FBSDID()s puff to whew! libz
Matthew Dillon [Sun, 30 Sep 2001 22:39:00 +0000 (22:39 +0000)]
Add huff __FBSDID()s puff to whew! libz

22 years agoAdd __FBSDID()s to liby
Matthew Dillon [Sun, 30 Sep 2001 22:36:18 +0000 (22:36 +0000)]
Add __FBSDID()s to liby

22 years agoAdd __FBSDID()s to libutil
Matthew Dillon [Sun, 30 Sep 2001 22:35:07 +0000 (22:35 +0000)]
Add __FBSDID()s to libutil

22 years agoAdd __FBSDID()s to libusb
Matthew Dillon [Sun, 30 Sep 2001 22:30:55 +0000 (22:30 +0000)]
Add __FBSDID()s to libusb

22 years agoAdd __FBSDID()s to libtelnet
Matthew Dillon [Sun, 30 Sep 2001 22:30:15 +0000 (22:30 +0000)]
Add __FBSDID()s to libtelnet

22 years agoAdd __FBSDID()s to libtacplus
Matthew Dillon [Sun, 30 Sep 2001 22:29:19 +0000 (22:29 +0000)]
Add __FBSDID()s to libtacplus

22 years agoAdd __FBSDID()s to libstand
Matthew Dillon [Sun, 30 Sep 2001 22:28:01 +0000 (22:28 +0000)]
Add __FBSDID()s to libstand

22 years agoAdd __FBSDID()s to librpcsvc
Matthew Dillon [Sun, 30 Sep 2001 22:15:15 +0000 (22:15 +0000)]
Add __FBSDID()s to librpcsvc

22 years agoAdd __FBSDID()s to libradius
Matthew Dillon [Sun, 30 Sep 2001 22:12:36 +0000 (22:12 +0000)]
Add __FBSDID()s to libradius