Commit Graph

59358 Commits

Author SHA1 Message Date
joerg
c22f3155bd 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
ache
02fc5bae58 Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section
Pointed out by: bde
2001-04-23 09:32:06 +00:00
grog
1f5de30718 Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00
ru
cdfbb3de26 This is not a problem but a feature of PMake.
Pointed out by:	bde
2001-04-23 08:48:42 +00:00
grog
a943ac2de3 Correct #includes to work with fixed sys/mount.h. 2001-04-23 08:28:44 +00:00
grog
e845d5c03f 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
grog
05ea68dcf4 Include necessary header files, in preparation for fixing breakage in
sys/mount.h.

Suggested by: phk
2001-04-23 08:13:18 +00:00
grog
119c82ccab Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by:	phk
2001-04-23 08:11:54 +00:00
ru
cf8444b7ac Add .Lb entry for -ldevinfo. 2001-04-23 07:40:29 +00:00
ru
684299fc84 mdoc(7) police: fix markup. 2001-04-23 07:39:36 +00:00
imp
f903613c13 %DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct. 2001-04-23 06:08:30 +00:00
grog
95124478ae 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
ache
3cddd0dd36 Add sranddev() prototype 2001-04-23 02:29:51 +00:00
ache
fb76083ae2 Add sranddev() since srand() is not vary much with seed, typical time 2001-04-23 02:29:10 +00:00
joe
350bc3b611 MFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5) 2001-04-22 23:58:46 +00:00
joe
a3c1ed5d3d FFS_ROOT was made obsolete, so remove it from the PicoBSD kernels. 2001-04-22 23:33:18 +00:00
iedowse
701f37e23c 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
ec7938a91d 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
sobomax
f6f0d430cc Add missed and update existing MASTER_SITE_*. 2001-04-22 19:01:44 +00:00
obrien
780a4d34aa 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
obrien
44da718951 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
wosch
0cb4e54fc2 typo in last commit 2001-04-22 18:32:58 +00:00
wosch
b68d003eda Added upcoming NetBSD 1.5.1 patch release. 2001-04-22 18:30:47 +00:00
wosch
762dff7420 Added the Daemonnews article `The BSD Family Tree' by James Howard
to bibliography.
2001-04-22 18:28:01 +00:00
wosch
5436aedb02 Update FreeBSD 4.3 release date. 2001-04-22 18:24:10 +00:00
asmodai
c9040658ef 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
obrien
18b81846b4 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
asami
a460df7466 Add picobsd. 2001-04-22 16:55:11 +00:00
obrien
0ac832ea12 Allow the `release' target to work if one disables the debug kernel build.
Submitted by:	jhb
2001-04-22 16:54:01 +00:00
asami
5f4903c065 Add ports-picobsd. 2001-04-22 16:51:49 +00:00
imp
0669fc7fea 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
dd
d3657cb5d2 Don't pass NULL to the %s format.
Reviewed by:	kris
2001-04-22 03:00:09 +00:00
obrien
95ccde8ac8 Address $FreeBSD$ and `rcsid'. 2001-04-22 02:32:42 +00:00
obrien
a3d3df36dd Fix prototype wrap example and note how to wrap ANSI-style function
definitions.
2001-04-22 02:00:39 +00:00
obrien
9cc16de19f Style(9) fixes:
* get rid of space (0x20) before tab (^I)
* indent with ^I, not 0x20
* continuation line for prototypes is for 0x20's past function's name col.
* etc.
2001-04-22 01:56:09 +00:00
dd
abd12416e5 Reword a few things and document the search' and index' make targets.
PR:		26690
Submitted by:	Pete Fritchman <petef@databits.net>
2001-04-22 00:28:40 +00:00
mjacob
30d5172c99 add MARVELL to the list of phys to go into miibus 2001-04-21 23:42:19 +00:00
rwatson
f2143d67aa o Remove comment indicating policy permits loop-back debugging, but
semantics don't: in practice, both policy and semantics permit
  loop-back debugging operations, only it's just a subset of debugging
  operations (i.e., a proc can open its own /dev/mem), and that's at a
  higher layer.
2001-04-21 22:41:45 +00:00
dirk
ee8d124462 Checking of denied zone transfers is now done in
periodic/daily/470.status-named.
2001-04-21 22:37:54 +00:00
dirk
9af3a3e675 Check for denied zone transfers (AXFR and IXFR). 2001-04-21 22:36:30 +00:00
ache
ae7b8dddd7 Pick manpages from their original locations 2001-04-21 22:05:33 +00:00
ache
a9e716287b Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
gallatin
d237fa1cf5 Block out all interrupts, even machine checks, for critical_enter()
This is will be required to prevent lowering the ipl when a critical_enter()
is present in the interrupt path when handling a machine check.

reviewed by: jhb
2001-04-21 21:44:39 +00:00
dd
41ad8109a3 mkisofs is in section 8, not section 1. 2001-04-21 21:14:52 +00:00
iedowse
e293eec299 The introduction of IPv6 support from NetBSD's mountd invalidated
a number of assumptions related to the parsing of options in
/etc/exports, and missed a few necessary new error checks.

The main problems related to netmasks: an IPv6 network address
missing a netmask would result in the filesystem being exported to
the whole IPv6 world, non-continuous netmasks would be made continuous
without any warnings, and nothing prevented you specifying an IPv4
mask with an IPv6 address.

This change addresses these issues. As a side-effect we now store
netmasks in sockaddr structs (this matches the kernel interface,
and is closer to the way it used to be). Add a flag OP_HAVEMASK to
keep track of whether or not we have successfully got a mask from
any source. Replace some mask-related helper functions with versions
that use the sockaddr-based masks.

Also tidy up get_net() and fix the code that interprets IPv4 partial
networks such as "127.1" as network rather than host addresses.
Properly zero out some structures that were ending up partially
containing junk from the stack, fix a few formatting issues, and
add a comment noting some assumptions about export arguments.
2001-04-21 20:06:18 +00:00
jedgar
d02546cd9a Fix the cut'n'paste style bugs I introduced in rev 1.16
(spaces -> tab(s) in #define's)
2001-04-21 19:52:06 +00:00
ache
4c31286fde Fix typo in mousechar range 2001-04-21 16:28:29 +00:00
ache
0636edd613 Fix typo in mouse_char range 2001-04-21 16:22:26 +00:00
ache
f6092596c0 Upper limit of mousechar start is UCHAR_MAX - 3, not UCHAR_MAX - 4
Restore original characters when mousechar start changes, not always 0-3

PR:		24437
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-04-21 14:11:48 +00:00
imp
13e20daa1e My fix to NEWCARD for getting the function type broke oldcard due to
a name conflict.

Pointed out by: markm

# I had to login to freefall to make this commit, so something maybe up
2001-04-21 14:10:32 +00:00