Commit Graph

59488 Commits

Author SHA1 Message Date
phk
1ac8cab986 Remove blatantly pointless call to VOP_BMAP(). 2001-05-01 09:12:05 +00:00
markm
f09a30a7d2 Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:08:09 +00:00
markm
59762a938c Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:02:06 +00:00
markm
6a0497c594 Compensate for header dethreading. 2001-05-01 08:46:02 +00:00
markm
b36b036677 Compensate for header dethreading. 2001-05-01 08:39:23 +00:00
phk
9f0c2a965a Implement vop_std{get|put}pages() and add them to the default vop[].
Un-copy&paste all the VOP_{GET|PUT}PAGES() functions which do nothing but
the default.
2001-05-01 08:34:45 +00:00
markm
6ec52cf8be Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
other "system" header files.

Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.

Sort sys/*.h includes where possible in affected files.

OK'ed by:	bde (with reservations)
2001-05-01 08:13:21 +00:00
imp
a461771124 Add cross reference to ast, for folks with IDE tape drives. 2001-05-01 03:43:34 +00:00
jhb
e74e992775 Turn on preemption by default on the alpha arch. This also removes the
PREEMPTION kernel option.

Not objected to by:	-alpha
2001-05-01 00:19:24 +00:00
dd
e5b6538f86 mdoc(7) police: remove hard sentence breaks. 2001-04-30 23:20:43 +00:00
ken
dac7e7647d Add sense key table entries for DATA PROTECT and BLANK CHECK. This will
prevent scsi_sense_desc() from deferencing a NULL pointer when a drive
happens to return one of these sense keys.

Reported by:	Michael Samuel <michael@miknet.net>
2001-04-30 21:40:09 +00:00
jhb
6a083a5a0c Allow the size of the SSC memory disk used with the SKI emulator to be
overridden in the kernel config file via the SSC_NSECT option.
2001-04-30 21:26:43 +00:00
phk
97eadd6c4d Uncut&paste som bogus use of VOP_BMAP in cd9660::VOP_STRATEGY.
XXX mark some stuff which looks like further cut&paste junk.
2001-04-30 21:23:05 +00:00
phk
f2e8d2bb62 Uncut&paste som bogus use of VOP_BMAP in hpfs::VOP_STRATEGY.
At the same time, eliminate uninitialized use of a vnode
pointer.  Interesting GCC didn't spot this.
2001-04-30 21:21:53 +00:00
ken
9d67eac6bd In camperiphscsisenseerror(), don't return an error when the error action
is SS_NOP.

Submitted by:	joerg
2001-04-30 21:02:57 +00:00
dillon
dace98ef83 Remove a real FQDN host reference from the example
Add $FreeBSD tag
2001-04-30 20:19:22 +00:00
n_hibma
0ad25089f5 Regen. 2001-04-30 17:38:57 +00:00
n_hibma
07b3e2da66 Add 4300C Id
Submitted by:	Ernst de Haan <ernst@heinz.jollem.com>
2001-04-30 17:37:11 +00:00
bmah
42acc99e55 FreeBSD 3.0 is no longer in the future tense. Merge in some new
words from RELNOTESng to fix this.

PR:		docs/26794
Submitted by:	B.Candler@pobox.com
2001-04-30 16:13:58 +00:00
ken
ee7e3f7026 Fix an errant search and replace that broke SCSI start unit commands.
This should fix automatic spinups as well as 'camcontrol start'.
2001-04-30 16:07:38 +00:00
bmah
c785a9bb0f Fix typo: Descriptions of SK-9842 and SK-9843 (GigE NICs supported by
sk(4)) were reversed.

While I'm here, update list of cards supported by sk(4) to be consistent
with the manpage.

PR:		docs/21700
Submitted by:	neuf@lrs.e-technik.uni-erlangen.de
2001-04-30 16:06:46 +00:00
bmah
bf62480d6b Fix typo: Descriptions of SK-9842 and SK-9843 were reversed.
PR:		docs/21700
Submitted by:	neuf@lrs.e-technik.uni-erlangen.de
2001-04-30 16:02:46 +00:00
olgeni
a4be1a6f73 MFS: Add sawfish and windowmaker (1.1.2.2 -> 1.1.2.3)
They are required by sysinstall's XFree86 desktop configuration menu.
2001-04-30 15:59:53 +00:00
olgeni
b877d63826 Fix typo in comment: dependancies -> dependencies 2001-04-30 15:46:07 +00:00
bmah
9203b3c14f The pkg_version -c output will now call for a "make clean" before and
after the port build/install.  The former cleans up "dirty" port work
directories that happen to be lying around, and the latter cleans up
after we're done so that they won't trip up someone else.

PR:		ports/25106
Submitted by:	tim@bishnet.net, nik, mwm@mired.org
2001-04-30 15:35:43 +00:00
bde
047e9360c2 Backed out previous commit. It cause massive filesystem corruption,
not to mention a compile-time warning about the critical function
becoming unused, by replacing spec_bmap() with vop_stdbmap().

ntfs seems to have the same bug.

The factor for converting specfs block numbers to physical block
numbers is 1, but vop_stdbmap() uses the bogus factor
btodb(ap->a_vp->v_mount->mnt_stat.f_iosize), which is 16 for ffs with
the default block size of 8K.  This factor is bogus even for vop_stdbmap()
-- the correct factor is related to the filesystem blocksize which is not
necessarily the same to the optimal i/o size.  vop_stdbmap() was apparently
cloned from nfs where these sizes happen to be the same.

There may also be a problem with a_vp->v_mount being null.  spec_bmap()
still checks for this, but I think the checks in specfs are dead code
which used to support block devices.
2001-04-30 14:35:35 +00:00
schweikh
7c975f0b22 Fixed typos; removed whitespace at EOL. 2001-04-30 10:20:46 +00:00
mckusick
09d68fb346 Update usage message with new options.
Submitted by:	Ruslan Ermilov <ru@FreeBSD.org>
2001-04-30 05:36:32 +00:00
alfred
723270f92c When panic()'ing because of recursion on a non-recursive mutex, print
out the location it was initially locked.

Ok'd by: jake
2001-04-30 01:01:52 +00:00
jake
80aea47b1d Make rtprio work again.
- add a missing break which caused RTP_SET to always return EINVAL
- break instead of returning if p_can fails so proc_lock is always
  dropped correctly
- only copyin data that is actually needed
- use break instead of goto
- make rtp_to_pri return EINVAL instead of -1 if the values are out
  or range so we don't have to translate
2001-04-29 22:09:26 +00:00
dd
545515c652 Build system:
o Define a RELN_ROOT variable which points to the root of the relnotes
  tree (i.e., src/release/doc).
o By default, define DOC_PREFIX in terms of RELN_ROOT; this gives a
  bigger chance of finding the doc/ tree without help in the form of
  setting DOC_PREFIX on the command line.
o Respect DOCDIR; `make install` works now.

Approved by:	bmah
2001-04-29 21:05:12 +00:00
rwatson
c144a80e86 o As part of the move to not maintaining copies of the vnode owning uid
and gid in the ACL, vaccess_acl_posix1e() was changed to accept
  explicit file_uid and file_gid as arguments.  However, in making the
  change, I explicitly checked file_gid against cr->cr_groups[0], rather
  than using groupmember, resulting in ACL_GROUP_OBJ entries being
  compared to the caller's effective gid only, not the remainder of
  its groups.  This was recently corrected for the version of the
  group call without privilege, but the second test (when privilege is
  added) was missed.  This change replaces an additiona cr->cr_groups[0]
  check with groupmember().

Pointed out by:	jedgar
Reviewed by:	jedgar
Obtained from:	TrustedBSD Project
2001-04-29 19:53:50 +00:00
bmah
6d9736e8e5 Add a note on setting DOC_PREFIX when building release notes. 2001-04-29 19:24:32 +00:00
msmith
4cfaa8f1af Unbreak world by defining isalnum() for libstand consumers. 2001-04-29 19:06:57 +00:00
wilko
0eb4f1bf91 SMP updates / sync to HARDWARE.TXT version. SGMLify comes next. 2001-04-29 18:39:42 +00:00
markm
55747ab4ed Replacement of the old error() routine with errx(3) was premature.
There are protocol issues to deal with.

Bring back this routine (renamed to avoid a library conflict in libssh)
and overhaul it for more 21st Century style coding.

Pointed out by:	bde
2001-04-29 17:50:29 +00:00
wilko
658c28a6b7 Remove most of the CPU: sections, and reflect SMP capability of
FreeBSD/alpha.
2001-04-29 13:27:26 +00:00
phk
aa58659992 VOP_BALLOC was never really a VOP in the first place, so convert it
to UFS_BALLOC like the other "between UFS and FFS function interfaces".
2001-04-29 12:36:52 +00:00
phk
4d26864fcf Add a vop_stdbmap(), and make it part of the default vop vector.
Make 7 filesystems which don't really know about VOP_BMAP rely
on the default vector, rather than more or less complete local
vop_nopbmap() implementations.
2001-04-29 11:48:41 +00:00
phk
fb70f28dbe Make a panic less misleading. 2001-04-29 11:45:15 +00:00
phk
2fbafce306 Call ufs_bmaparray() directly instead of indirectly via VOP_BMAP(). 2001-04-29 10:25:30 +00:00
phk
49ef545d72 Remove two unused arguments from ufs_bmaparray(). 2001-04-29 10:24:58 +00:00
phk
ead21f124f Remove faint traces of blind copy&paste. 2001-04-29 10:23:50 +00:00
phk
aa1facaa59 Remove faint traces of non-existant ffs_bmap(). 2001-04-29 10:23:32 +00:00
markm
57d7400ff9 Grrr. Fix a line that was fatfingered out during the cleanup.
Submitted by:	bde
Pointy hat:	markm
2001-04-29 09:03:52 +00:00
dd
bb1873a76d Clarify a little: the mandatory argument is an event number.
PR:		26905
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-04-29 03:54:48 +00:00
dd
dc71bdf13a Add xref to sym(4)
PR:		26881
2001-04-29 03:48:35 +00:00
dd
d393b089ef mdoc(7) police: use .Va and .Vt where appropriate 2001-04-29 03:45:04 +00:00
peter
836d84ae24 Disable llib. The previous commit does not go anywhere near far enough
to enable this.
1: it was running xlint out of the object directory, which is not
safe (ie: run a 5.x binary on a 4.x world - no libc.so.5, or run an
alpha binary on x86).
2: lint has /usr/libexec/lint1 and /usr/libexec/lint2 hard coded in.
This is the same as problem 1.
3: lint has got /usr/bin/cc hard coded in as well.  Also, see problem 1.
There are probably more problems, but these are enough of a showstopper.
2001-04-29 03:19:58 +00:00
alfred
f4401cbc86 Remove incorrect comment.
Submitted by: quinot@inf.enst.fr <quinot@inf.enst.fr>
PR: kern/26893
2001-04-29 03:10:24 +00:00