Commit Graph

59032 Commits

Author SHA1 Message Date
Josef Karthauser
18668d0278 MF4S: Sync with the developments that Luigi's been doing in -stable. 2001-04-23 19:55:03 +00:00
Josef Karthauser
7bba070f1c MF4S: Remove some unused error messages. (revision 1.1.2.5) 2001-04-23 19:52:13 +00:00
Josef Karthauser
378918c059 Apply style guidelines (using gident to help). 2001-04-23 19:38:41 +00:00
Matt Jacob
2b4169610b fix it so it compiles again 2001-04-23 18:51:54 +00:00
Josef Karthauser
2e8d39560e Fix a syntax error. 2001-04-23 18:41:48 +00:00
Matt Jacob
140509ab5d fix it so it compiles again after twerpage elsewhere 2001-04-23 18:38:01 +00:00
Matt Jacob
3be6e0c249 add this ridiculous include foo so it will compile again 2001-04-23 18:14:41 +00:00
Matt Jacob
ac60aa4908 Fix includes so it compiles again. 2001-04-23 18:08:54 +00:00
Poul-Henning Kamp
cbfc3f7c5c Update this to reflect changes in config(8) usage.
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
Ruslan Ermilov
3a3799c99e mdoc(7) police: update HISTORY section.
This interface is not available in 4.3-RELEASE.
2001-04-23 15:22:50 +00:00
Ruslan Ermilov
9fdcafcf45 The semantics of the .Os call has been changed. For CURRENT,
this currently implies the default argument of "FreeBSD 5.0".
2001-04-23 15:15:49 +00:00
Ruslan Ermilov
7841ac2fa9 Fix the fix in rev.1.34.
Makes `cleandir' DTRT if MAKEOBJDIRPREFIX set and not empty,
like in `buildworld' case.
2001-04-23 14:47:40 +00:00
Ruslan Ermilov
60f6f55742 If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
possible to use old generated doc-* files as the source for new ones.
Wrong -mdoc files would then be installed, and man(1) failed with the
following diagnostics:

mdoc error: end-macro (.em) respecification is not allowed. (#41)
            Should this have been `.Em ...'?

Put helper stuff into `beforedepend' to cleanup old files.

Makefile first infected in rev 1.15.

Reported via:	-current
2001-04-23 13:27:35 +00:00
Andrey A. Chernov
74825256ef Add sranddev.3 to MLINKS 2001-04-23 11:11:00 +00:00
Andrey A. Chernov
4890ae810e Add #include "un-namespace.h" 2001-04-23 10:38:26 +00:00
Andrey A. Chernov
848422bb7d srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
Ian Dowse
931c04f1a8 Reinstate one more old bugfix that got lost in the tirpc commit:
always look up -network and -mask addresses numerically before
trying getnetbyname(). Without this, we may end up attempting DNS
queries on silly names such as "127.0.0.0.my-domain.com". See the
commit log from revisions 1.21 and 1.20 for further details.
2001-04-23 10:12:31 +00:00
Joerg Wunsch
b2bcd87e4f Fix directory reads of MNT_UNION mounts, where entries present in both
layers would be displayed twice.

PR:		bin/26498
Submitted by:	Olliver Fromme <olli@secnetix.de>
2001-04-23 10:01:38 +00:00
Andrey A. Chernov
99596f82de Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section
Pointed out by: bde
2001-04-23 09:32:06 +00:00
Greg Lehey
d98dc34f52 Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00
Ruslan Ermilov
471eab0d41 This is not a problem but a feature of PMake.
Pointed out by:	bde
2001-04-23 08:48:42 +00:00
Greg Lehey
97d5f7bb3b Correct #includes to work with fixed sys/mount.h. 2001-04-23 08:28:44 +00:00
Greg Lehey
e84a5d8372 Remove bogus #include and duplicate definition of AF_MAX. These were
made necessary by breakage in usr.sbin/pstat and usr.bin/fstat, since
fixed.

Suggested by:	phk
Unearthed by:	John Hood <jhood@sitaranetworks.com>
2001-04-23 08:17:18 +00:00
Greg Lehey
06d71e32d8 Include necessary header files, in preparation for fixing breakage in
sys/mount.h.

Suggested by: phk
2001-04-23 08:13:18 +00:00
Greg Lehey
5a0a51cf5a Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by:	phk
2001-04-23 08:11:54 +00:00
Ruslan Ermilov
bf30c5b32b Add .Lb entry for -ldevinfo. 2001-04-23 07:40:29 +00:00
Ruslan Ermilov
855c5edaaa mdoc(7) police: fix markup. 2001-04-23 07:39:36 +00:00
Warner Losh
8c4ed82764 %DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct. 2001-04-23 06:08:30 +00:00
Greg Lehey
4c68f41dda Add address families AF_SLOW and AF_SCLUSTER. These are used by the
Sitara QoSworks box.

Obtained from:	Sitara Networks Inc.
2001-04-23 05:13:18 +00:00
Andrey A. Chernov
cb541d8f97 Add sranddev() prototype 2001-04-23 02:29:51 +00:00
Andrey A. Chernov
7708205cb7 Add sranddev() since srand() is not vary much with seed, typical time 2001-04-23 02:29:10 +00:00
Josef Karthauser
b8ff2fec46 MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5) 2001-04-22 23:58:46 +00:00
Josef Karthauser
f7ea60ac9c FFS_ROOT was made obsolete, so remove it from the PicoBSD kernels. 2001-04-22 23:33:18 +00:00
Ian Dowse
f93caef239 When exporting a directory that is not a mountpoint, mountd repeatedly
removes the last path component until the mount() succeeds. However,
the code never checks if it has passed the mountpoint, so in some
cases where the mount() never succeeds, it can end up applying the
flags from a mounted filesystem to the underlying one.

Add a sanity check to the code which removes the last path component:
test that the fsid associated with the new path is the same as that
of the old one.

PR:		bin/7872
2001-04-22 21:50:30 +00:00
Joerg Wunsch
fc89704c57 Fix the `tape drive spinning indefinately upon mt stat' problem.
With the recent changes in the CAM error handling, some problems in
the error handling of sa(4) have been uncovered.  Basically, a number
of conditions that are not actually errors have been mistreated as
genuine errors.  In particular:

. Trying to read in variable length mode with a mismatched blocksize
  between the on-tape (virtual) blocks and the read(2) supplied buffer
  size, causing an ILI SCSI condition, have caused an attempt to retry
  the supposedly `errored' transfer, causing the tape to be read
  continuously until it eventually hit EOM.  Since by default any
  simple mt(1) operation does an initial test read, an `mt stat' was
  sufficient to trigger this bug.

  Note that it's Justin's opinion that treating a NO SENSE as an EIO
  is another bug in CAM.  I feel not authorized to fix cam_periph.c
  without another confirmation that i'm on the right track, however.

. Hitting a filemark caused the read(2) syscall to return EIO, instead
  of returning a `short read'.  Note that the current fix only solves
  this problem in variable length mode.  Fixed length mode uses a
  different code path, and since i didn't grok all the intentions behind
  that handling, i did not touch it (IOW: it's still broken, and you get
  an EIO upon hitting a filemark).

The solution is to keep track of those conditions inside saerror(),
and upon completion to not call cam_periph_error() in that case.  We
need to make sure that the device gets unfrozen if needed though (in
case of actual errors, cam_periph_error() does this on our behalf).

Not objected by:       mjacob (who currently doesn't have the time to
			      review the patch)
2001-04-22 20:13:28 +00:00
Maxim Sobolev
bcc11eec02 Add missed and update existing MASTER_SITE_*. 2001-04-22 19:01:44 +00:00
David E. O'Brien
f5a79676ee Our exports(5) syntax is rather "host-centric", while people comming from
a Sun background think in a more FS-centric mind set.  Add a note to help
the Sun backgrounded ones to not make invalid assumptions.
2001-04-22 18:59:03 +00:00
David E. O'Brien
3d43d76fe3 Add an example borrowed from the FAQ showing a very commonly desired
export in FreeBSD'ville for `make installworld' elsewhere.
2001-04-22 18:54:20 +00:00
Wolfram Schneider
efb4b1fbcf typo in last commit 2001-04-22 18:32:58 +00:00
Wolfram Schneider
70490e1000 Added upcoming NetBSD 1.5.1 patch release. 2001-04-22 18:30:47 +00:00
Wolfram Schneider
83617b6acd Added the Daemonnews article `The BSD Family Tree' by James Howard
to bibliography.
2001-04-22 18:28:01 +00:00
Wolfram Schneider
db78250ed6 Update FreeBSD 4.3 release date. 2001-04-22 18:24:10 +00:00
Jeroen Ruigrok van der Werven
370795830b Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by:	bde/obrien
2001-04-22 17:06:12 +00:00
David E. O'Brien
1690d30589 Removed old version of vaccess_acl_posix1e() that snuck back in rev 1.146.
Submitted by (with good eye):	Niels Chr. Bank-Pedersen <ncbp@bank-pedersen.dk>
2001-04-22 17:01:39 +00:00
Satoshi Asami
db51163fa1 Add picobsd. 2001-04-22 16:55:11 +00:00
David E. O'Brien
a37c8a520d Allow the `release' target to work if one disables the debug kernel build.
Submitted by:	jhb
2001-04-22 16:54:01 +00:00
Satoshi Asami
b5f997102e Add ports-picobsd. 2001-04-22 16:51:49 +00:00
Warner Losh
933b3269e5 Catch up to the end of march.
o fsck pass changes
o portmap changes
o fxp needs miibus
o wi defaults to BSS mode.
o urandom and random are the same
2001-04-22 05:35:49 +00:00
Dima Dorfman
3babad2e42 Don't pass NULL to the %s format.
Reviewed by:	kris
2001-04-22 03:00:09 +00:00
David E. O'Brien
58eac5ef6a Address $FreeBSD$ and `rcsid'. 2001-04-22 02:32:42 +00:00