Commit Graph

65383 Commits

Author SHA1 Message Date
silby
bee3ac5b1e grammar fix: to -> too 2001-10-01 23:41:13 +00:00
obrien
90414d9ad1 Clean this up after the NetBSD syncing. 2001-10-01 23:10:48 +00:00
obrien
8b3bce34f5 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."
2001-10-01 23:00:29 +00:00
mjacob
cd878c913c 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
2001-10-01 22:57:57 +00:00
obrien
34e7592a67 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
2001-10-01 22:52:32 +00:00
jhb
57562e1667 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.
2001-10-01 22:50:30 +00:00
jhb
fb7fca45bb Sigh, statclock_process() takes a KSE instead of a thread for its first
argument.
2001-10-01 22:26:47 +00:00
obrien
c87fdd521d Tweak the Skipping ${script} logic to also handle symlinks.
Also echo with "-n".
2001-10-01 21:30:27 +00:00
obrien
44ed85af6b Back out WIP that snuck in with revs 1.15[23]. 2001-10-01 21:09:21 +00:00
obrien
0c753dc50e Our histedit.h lives in src/include. 2001-10-01 21:08:03 +00:00
obrien
ca548e6f6c Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc. 2001-10-01 21:07:33 +00:00
obrien
f02738076d Merge functional changes from NetBSD. 2001-10-01 21:06:25 +00:00
imp
8b90844e6d 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).
2001-10-01 20:15:11 +00:00
rwatson
75a3f18a2a 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
2001-10-01 20:01:07 +00:00
bmah
aaf9fd46b1 New release notes: Per-interface IP address hash table, network
devices in /dev, UUCP moved to ports.

MFCs noted:  bge(4).
2001-10-01 19:36:21 +00:00
jlemon
88dd97daaf Update the hash table when sppp mucks directly with the interface address. 2001-10-01 18:14:49 +00:00
jlemon
6bc13e1485 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)
2001-10-01 18:07:08 +00:00
jlemon
9453c7902b 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
2001-10-01 18:03:56 +00:00
luigi
b607d229d2 Fix a problem with unnumbered rules introduced in latest commit.
Reported by: des
2001-10-01 17:35:54 +00:00
luigi
74a969f1c0 Remove some entries to make the image fit into a floppy again. 2001-10-01 17:32:43 +00:00
luigi
4021dd6cf1 Whoops, I whould have removed the old entry... 2001-10-01 17:22:25 +00:00
luigi
e37d2bb650 Move up the tinyware entry so things are looked up there first. 2001-10-01 17:21:33 +00:00
markm
d1bc5a5045 Remove (commented out) use of pam_ssh where it won't work. 2001-10-01 17:05:32 +00:00
ru
d2baaeb287 Document how manpath(1) handles user's path directories that end in "/bin".
PR:		docs/30940
MFC after:	3 days
2001-10-01 16:58:30 +00:00
luigi
cd66578088 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.
2001-10-01 16:58:28 +00:00
ru
70b03c413d mdoc(7) police: markup and grammar nits. 2001-10-01 16:38:25 +00:00
ru
57c9a013fa Make __RCSID() and __FBSDID() examples compile. 2001-10-01 16:13:59 +00:00
ru
623da62a5a mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
markm
0163eae972 Add __FBSDID() to diff-reduce with "base" telnet. 2001-10-01 16:04:55 +00:00
ru
7045e5a1bc Re-applied some of rev. 1.11 and 1.13 fixes that were lost in the last commit.
Fixed some more.
2001-10-01 15:53:07 +00:00
ru
76032df762 mdoc(7) police: make double quotes in #include statement visible. 2001-10-01 15:01:57 +00:00
sos
c1ee14e95c Change the way DAO/TAO mode is init'ed.
Fix a bogon introduced in the previous commit, that broke CDIOREADSUBCHANNEL.
2001-10-01 14:59:52 +00:00
sos
8694c437cf Change the way DAO/TAO modes are init'ed. 2001-10-01 14:58:04 +00:00
sos
16fee969d4 Add test_write element. 2001-10-01 14:56:56 +00:00
ru
6575ea6b22 mdoc(7) police: fix markup. 2001-10-01 14:13:36 +00:00
ru
2091dd93be mdoc(7) police: don't split author names in the AUTHORS section. 2001-10-01 13:50:03 +00:00
ru
2582774aeb Document new cursor escape sequences. 2001-10-01 13:47:40 +00:00
ru
e4153dd8ef mdoc(7) police: markup nits. 2001-10-01 13:42:41 +00:00
ru
a6c9cf7078 mdoc(7) police: removed whitespace at EOL. 2001-10-01 13:40:31 +00:00
ru
f7f6716fda mdoc(7) police: s/FreeBSD/.Fx/, bump document date. 2001-10-01 13:32:46 +00:00
ru
6654aa4a58 mdoc(7) police: removed gratuitous .Pp calls. 2001-10-01 13:28:16 +00:00
ru
17cf5e5e5b mdoc(7) police: markup and spelling nits. 2001-10-01 13:24:18 +00:00
ru
e40e95bd27 mdoc(7) police: removed hard sentence breaks, minor markup nits. 2001-10-01 13:20:05 +00:00
ru
83769df8dd mdoc(7) police: removed hard sentence break. 2001-10-01 13:06:40 +00:00
ru
068a953f2d mdoc(7) police: fixed markup of the FILES section. 2001-10-01 13:04:35 +00:00
ru
66969470f9 mdoc(7) police: add missing punctuation. 2001-10-01 13:02:32 +00:00
ru
68c24f2f7d mdoc(7) police: markup nits. 2001-10-01 12:58:03 +00:00
ru
02dbca2256 mdoc(7) police: markup nits. 2001-10-01 12:52:24 +00:00
ru
27a539ba89 mdoc(7) police: s/atof/atoi/ 2001-10-01 12:44:24 +00:00
dd
3af8f97148 "Avance Logic", not "Advance Logic".
Submitted by:	Robert Reid <robreid@cse.unsw.edu.au>
2001-10-01 12:36:52 +00:00