]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoDocument all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
schweikh [Tue, 24 Apr 2001 20:00:58 +0000 (20:00 +0000)]
Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
PR: conf/24865
Submitted by: schweikh
Reviewed by: hm

23 years agoChange uipc_sockaddr so that a sockaddr_un without a path is returned
tmm [Tue, 24 Apr 2001 19:09:23 +0000 (19:09 +0000)]
Change uipc_sockaddr so that a sockaddr_un without a path is returned
nam for an unbound socket instead of leaving nam untouched in that case.
This way, the getsockname() output can be used to determine the address
family of such sockets (AF_LOCAL).

Reviewed by: iedowse
Approved by: rwatson

23 years agoo Change a suser() call to a suser_xxx(..., PRISON_ROOT) call in the
rwatson [Tue, 24 Apr 2001 19:08:53 +0000 (19:08 +0000)]
o Change a suser() call to a suser_xxx(..., PRISON_ROOT) call in the
  linuxulator so as to allow privileged processes within a jail() to
  invoke the Linux initgroups() system call.  This allows the Linux
  "su" to work properly (better) when running a complete Linux
  environment under jail().  This problem was reported by Attila
  Nagy <bra@fsn.hu>.

Reviewed by: marcel

23 years agoSay "add -r" rather than 'use -r' since the former is more correct.
imp [Tue, 24 Apr 2001 17:40:54 +0000 (17:40 +0000)]
Say "add -r" rather than 'use -r' since the former is more correct.
The latter implies to many people that they use only -r, which is
incorrect.

23 years agoWhen switching backing store during signal delivery, do the switch before
dfr [Tue, 24 Apr 2001 15:57:16 +0000 (15:57 +0000)]
When switching backing store during signal delivery, do the switch before
creating the register frame for calling the handler. Also discard that
frame before switching back to the old backing store after the handler
returns.

23 years agoAlign stack pointer and backing store pointer to 16 byte boundary when
dfr [Tue, 24 Apr 2001 15:55:47 +0000 (15:55 +0000)]
Align stack pointer and backing store pointer to 16 byte boundary when
delivering signals.

23 years agoDon't trash the user's pr on syscalls.
dfr [Tue, 24 Apr 2001 15:54:23 +0000 (15:54 +0000)]
Don't trash the user's pr on syscalls.

23 years agoRevert previous delta, which was completely bogus.
sheldonh [Tue, 24 Apr 2001 12:30:49 +0000 (12:30 +0000)]
Revert previous delta, which was completely bogus.

The perceived problem was the symptom of a local error.

23 years agoCall usage() if given more than 1 argument.
kris [Tue, 24 Apr 2001 10:39:17 +0000 (10:39 +0000)]
Call usage() if given more than 1 argument.

Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD

23 years agoReplace a strcat() with a strlcat(). Partial sync with OpenBSD; more
kris [Tue, 24 Apr 2001 10:33:46 +0000 (10:33 +0000)]
Replace a strcat() with a strlcat().  Partial sync with OpenBSD; more
work is needed.

Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD

23 years agosprintf() -> snprintf()
kris [Tue, 24 Apr 2001 10:26:00 +0000 (10:26 +0000)]
sprintf() -> snprintf()

Partially submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD

23 years agoDon't build pkg_sign tools if crypto is not installed, or is not
wes [Tue, 24 Apr 2001 08:59:40 +0000 (08:59 +0000)]
Don't build pkg_sign tools if crypto is not installed, or is not
being built.

Reviewed by: kkenn

23 years agoDisconnect linux from the build. The buildkernel target has been
sheldonh [Tue, 24 Apr 2001 08:56:42 +0000 (08:56 +0000)]
Disconnect linux from the build.  The buildkernel target has been
breaking on linux for more than two days because sys_exit_args
referenced in linux_sysent.c does not exist.

23 years agoMF4S: Syncronise with Luigi's work in -stable.
joe [Tue, 24 Apr 2001 07:46:35 +0000 (07:46 +0000)]
MF4S: Syncronise with Luigi's work in -stable.

23 years agoMF4S: Syncronise with Luigi's work in -stable.
joe [Tue, 24 Apr 2001 07:12:34 +0000 (07:12 +0000)]
MF4S: Syncronise with Luigi's work in -stable.

23 years agoMFS: the MFS still applies to -current until such time as someone fixes
imp [Tue, 24 Apr 2001 07:02:01 +0000 (07:02 +0000)]
MFS: the MFS still applies to -current until such time as someone fixes
rc.diskless2 to use mdconfig rather than mount_mfs.  These changes are
still relevant to -current.

23 years agoAdd warning, and resolution, of the fsck and kernel problem
imp [Tue, 24 Apr 2001 04:49:21 +0000 (04:49 +0000)]
Add warning, and resolution, of the fsck and kernel problem

23 years ago${MAKEOBJDIRPREFIX}/usr/src/i386/usr/include/isc was being created as a plain
gshapiro [Tue, 24 Apr 2001 02:57:42 +0000 (02:57 +0000)]
${MAKEOBJDIRPREFIX}/usr/src/i386/usr/include/isc was being created as a plain
file during the bootstrapping process of a buildworld and contained the
last isc include file to be installed.  It was meant to be a directory for
the isc include files.

23 years agoHandle IP over IP (IPPROTO_IPV4) properly.
brian [Tue, 24 Apr 2001 02:13:34 +0000 (02:13 +0000)]
Handle IP over IP (IPPROTO_IPV4) properly.

  We now unwrap IP/IP and apply filter rules to both the outer
  layer (with ``set filter blah x.x.x.x y.y.y.y ipip'') and to
  the payload (reinterpreted by the filter rules).

  ``set log tcp/ip'' will now show both the outer wrapper and
  the (reinterpreted) payload contents.

23 years agoChange the pfind() and zpfind() functions to lock the process that they
jhb [Tue, 24 Apr 2001 00:51:53 +0000 (00:51 +0000)]
Change the pfind() and zpfind() functions to lock the process that they
find before releasing the allproc lock and returning.

Reviewed by: -smp, dfr, jake

23 years agoPre-dirpref versions of fsck may zero out the new superblock fields
iedowse [Tue, 24 Apr 2001 00:37:16 +0000 (00:37 +0000)]
Pre-dirpref versions of fsck may zero out the new superblock fields
fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
panics if these fields were zeroed while a filesystem was mounted
read-only, and then remounted read-write.

Add code to ffs_reload() which copies the fs_contigdirs pointer
from the previous superblock, and reinitialises fs_avgf* if necessary.

Reviewed by: mckusick

23 years agoApply 'const' liberally.
archie [Tue, 24 Apr 2001 00:06:21 +0000 (00:06 +0000)]
Apply 'const' liberally.

Fix some other minor glitches.

23 years agoBack out previous commit.
grog [Mon, 23 Apr 2001 23:51:17 +0000 (23:51 +0000)]
Back out previous commit.

Requested by: bde

23 years agoFix a bug introduced in the last commit: vaccess_acl_posix1 only checked
tmm [Mon, 23 Apr 2001 22:52:26 +0000 (22:52 +0000)]
Fix a bug introduced in the last commit: vaccess_acl_posix1 only checked
the file gid gainst the egid of the accessing process for the
ACL_GROUP_OBJ case, and ignored supplementary groups.

Approved by: rwatson

23 years agoAdd als4000 subdir.
orion [Mon, 23 Apr 2001 21:58:23 +0000 (21:58 +0000)]
Add als4000 subdir.

23 years agoInitial version of Avance Logic ALS4000 pcm driver.
orion [Mon, 23 Apr 2001 21:53:12 +0000 (21:53 +0000)]
Initial version of Avance Logic ALS4000 pcm driver.

23 years agoIn fsdb, call sblock_init() which is now necessary to initialise
iedowse [Mon, 23 Apr 2001 21:39:14 +0000 (21:39 +0000)]
In fsdb, call sblock_init() which is now necessary to initialise
the global variable dev_bsize. Add a prototype for sblock_init()
to fsck.h, and set the return type correctly.

23 years agoMF4S: Syncronise with Luigi's work in -stable.
joe [Mon, 23 Apr 2001 20:25:40 +0000 (20:25 +0000)]
MF4S: Syncronise with Luigi's work in -stable.

23 years agoKeep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
asmodai [Mon, 23 Apr 2001 20:07:21 +0000 (20:07 +0000)]
Keep my dirty paws off of the $NetBSD$ id's.  They're tabbed and should
remain so.

Submitted by:   bde/obrien

23 years agoMF4S: Sync with the developments that Luigi's been doing in -stable.
joe [Mon, 23 Apr 2001 19:55:03 +0000 (19:55 +0000)]
MF4S: Sync with the developments that Luigi's been doing in -stable.

23 years agoMF4S: Remove some unused error messages. (revision 1.1.2.5)
joe [Mon, 23 Apr 2001 19:52:13 +0000 (19:52 +0000)]
MF4S: Remove some unused error messages. (revision 1.1.2.5)

23 years agoApply style guidelines (using gident to help).
joe [Mon, 23 Apr 2001 19:38:41 +0000 (19:38 +0000)]
Apply style guidelines (using gident to help).

23 years agofix it so it compiles again
mjacob [Mon, 23 Apr 2001 18:51:54 +0000 (18:51 +0000)]
fix it so it compiles again

23 years agoFix a syntax error.
joe [Mon, 23 Apr 2001 18:41:48 +0000 (18:41 +0000)]
Fix a syntax error.

23 years agofix it so it compiles again after twerpage elsewhere
mjacob [Mon, 23 Apr 2001 18:38:01 +0000 (18:38 +0000)]
fix it so it compiles again after twerpage elsewhere

23 years agoadd this ridiculous include foo so it will compile again
mjacob [Mon, 23 Apr 2001 18:14:41 +0000 (18:14 +0000)]
add this ridiculous include foo so it will compile again

23 years agoFix includes so it compiles again.
mjacob [Mon, 23 Apr 2001 18:08:54 +0000 (18:08 +0000)]
Fix includes so it compiles again.

23 years agoUpdate this to reflect changes in config(8) usage.
phk [Mon, 23 Apr 2001 17:31:16 +0000 (17:31 +0000)]
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.

23 years agomdoc(7) police: update HISTORY section.
ru [Mon, 23 Apr 2001 15:22:50 +0000 (15:22 +0000)]
mdoc(7) police: update HISTORY section.
This interface is not available in 4.3-RELEASE.

23 years agoThe semantics of the .Os call has been changed. For CURRENT,
ru [Mon, 23 Apr 2001 15:15:49 +0000 (15:15 +0000)]
The semantics of the .Os call has been changed.  For CURRENT,
this currently implies the default argument of "FreeBSD 5.0".

23 years agoFix the fix in rev.1.34.
ru [Mon, 23 Apr 2001 14:47:40 +0000 (14:47 +0000)]
Fix the fix in rev.1.34.

Makes `cleandir' DTRT if MAKEOBJDIRPREFIX set and not empty,
like in `buildworld' case.

23 years agoIf the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
ru [Mon, 23 Apr 2001 13:27:35 +0000 (13:27 +0000)]
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

23 years agoAdd sranddev.3 to MLINKS
ache [Mon, 23 Apr 2001 11:11:00 +0000 (11:11 +0000)]
Add sranddev.3 to MLINKS

23 years agoAdd #include "un-namespace.h"
ache [Mon, 23 Apr 2001 10:38:26 +0000 (10:38 +0000)]
Add #include "un-namespace.h"

23 years agosrand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
ache [Mon, 23 Apr 2001 10:14:28 +0000 (10:14 +0000)]
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
change of high word part too to produce more interesting seed distribution.

23 years agoReinstate one more old bugfix that got lost in the tirpc commit:
iedowse [Mon, 23 Apr 2001 10:12:31 +0000 (10:12 +0000)]
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.

23 years agoFix directory reads of MNT_UNION mounts, where entries present in both
joerg [Mon, 23 Apr 2001 10:01:38 +0000 (10:01 +0000)]
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>

23 years agoMove sranddev() to !ANSI_SOURCE !POSIX_SOURCE section
ache [Mon, 23 Apr 2001 09:32:06 +0000 (09:32 +0000)]
Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section

Pointed out by: bde

23 years agoCorrect #includes to work with fixed sys/mount.h.
grog [Mon, 23 Apr 2001 09:05:15 +0000 (09:05 +0000)]
Correct #includes to work with fixed sys/mount.h.

23 years agoThis is not a problem but a feature of PMake.
ru [Mon, 23 Apr 2001 08:48:42 +0000 (08:48 +0000)]
This is not a problem but a feature of PMake.

Pointed out by: bde

23 years agoCorrect #includes to work with fixed sys/mount.h.
grog [Mon, 23 Apr 2001 08:28:44 +0000 (08:28 +0000)]
Correct #includes to work with fixed sys/mount.h.

23 years agoRemove bogus #include and duplicate definition of AF_MAX. These were
grog [Mon, 23 Apr 2001 08:17:18 +0000 (08:17 +0000)]
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>

23 years agoInclude necessary header files, in preparation for fixing breakage in
grog [Mon, 23 Apr 2001 08:13:18 +0000 (08:13 +0000)]
Include necessary header files, in preparation for fixing breakage in
sys/mount.h.

Suggested by: phk

23 years agoInclude correct header files, in preparation for fixing sys/mount.h.
grog [Mon, 23 Apr 2001 08:11:54 +0000 (08:11 +0000)]
Include correct header files, in preparation for fixing sys/mount.h.

Suggested-by: phk

23 years agoAdd .Lb entry for -ldevinfo.
ru [Mon, 23 Apr 2001 07:40:29 +0000 (07:40 +0000)]
Add .Lb entry for -ldevinfo.

23 years agomdoc(7) police: fix markup.
ru [Mon, 23 Apr 2001 07:39:36 +0000 (07:39 +0000)]
mdoc(7) police: fix markup.

23 years ago%DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct.
imp [Mon, 23 Apr 2001 06:08:30 +0000 (06:08 +0000)]
%DCL-I-FORMATRIGHT, Format VMS error messages pedantically correct.

23 years agoAdd address families AF_SLOW and AF_SCLUSTER. These are used by the
grog [Mon, 23 Apr 2001 05:13:18 +0000 (05:13 +0000)]
Add address families AF_SLOW and AF_SCLUSTER.  These are used by the
Sitara QoSworks box.

Obtained from: Sitara Networks Inc.

23 years agoAdd sranddev() prototype
ache [Mon, 23 Apr 2001 02:29:51 +0000 (02:29 +0000)]
Add sranddev() prototype

23 years agoAdd sranddev() since srand() is not vary much with seed, typical time
ache [Mon, 23 Apr 2001 02:29:10 +0000 (02:29 +0000)]
Add sranddev() since srand() is not vary much with seed, typical time

23 years agoMFS4: Do not terminate if it fails to clean something. (rev 1.12.2.5)
joe [Sun, 22 Apr 2001 23:58:46 +0000 (23:58 +0000)]
MFS4: Do not terminate if it fails to clean something.  (rev 1.12.2.5)

23 years agoFFS_ROOT was made obsolete, so remove it from the PicoBSD kernels.
joe [Sun, 22 Apr 2001 23:33:18 +0000 (23:33 +0000)]
FFS_ROOT was made obsolete, so remove it from the PicoBSD kernels.

23 years agoWhen exporting a directory that is not a mountpoint, mountd repeatedly
iedowse [Sun, 22 Apr 2001 21:50:30 +0000 (21:50 +0000)]
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

23 years agoFix the `tape drive spinning indefinately upon mt stat' problem.
joerg [Sun, 22 Apr 2001 20:13:28 +0000 (20:13 +0000)]
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)

23 years agoAdd missed and update existing MASTER_SITE_*.
sobomax [Sun, 22 Apr 2001 19:01:44 +0000 (19:01 +0000)]
Add missed and update existing MASTER_SITE_*.

23 years agoOur exports(5) syntax is rather "host-centric", while people comming from
obrien [Sun, 22 Apr 2001 18:59:03 +0000 (18:59 +0000)]
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.

23 years agoAdd an example borrowed from the FAQ showing a very commonly desired
obrien [Sun, 22 Apr 2001 18:54:20 +0000 (18:54 +0000)]
Add an example borrowed from the FAQ showing a very commonly desired
export in FreeBSD'ville for `make installworld' elsewhere.

23 years agotypo in last commit
wosch [Sun, 22 Apr 2001 18:32:58 +0000 (18:32 +0000)]
typo in last commit

23 years agoAdded upcoming NetBSD 1.5.1 patch release.
wosch [Sun, 22 Apr 2001 18:30:47 +0000 (18:30 +0000)]
Added upcoming NetBSD 1.5.1 patch release.

23 years agoAdded the Daemonnews article `The BSD Family Tree' by James Howard
wosch [Sun, 22 Apr 2001 18:28:01 +0000 (18:28 +0000)]
Added the Daemonnews article `The BSD Family Tree' by James Howard
to bibliography.

23 years agoUpdate FreeBSD 4.3 release date.
wosch [Sun, 22 Apr 2001 18:24:10 +0000 (18:24 +0000)]
Update FreeBSD 4.3 release date.

23 years agoKeep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
asmodai [Sun, 22 Apr 2001 17:06:12 +0000 (17:06 +0000)]
Keep my dirty paws off of the $NetBSD$ id's.  They're tabbed and should
remain so.

Submitted by: bde/obrien

23 years agoRemoved old version of vaccess_acl_posix1e() that snuck back in rev 1.146.
obrien [Sun, 22 Apr 2001 17:01:39 +0000 (17:01 +0000)]
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>

23 years agoAdd picobsd.
asami [Sun, 22 Apr 2001 16:55:11 +0000 (16:55 +0000)]
Add picobsd.

23 years agoAllow the `release' target to work if one disables the debug kernel build.
obrien [Sun, 22 Apr 2001 16:54:01 +0000 (16:54 +0000)]
Allow the `release' target to work if one disables the debug kernel build.

Submitted by: jhb

23 years agoAdd ports-picobsd.
asami [Sun, 22 Apr 2001 16:51:49 +0000 (16:51 +0000)]
Add ports-picobsd.

23 years agoCatch up to the end of march.
imp [Sun, 22 Apr 2001 05:35:49 +0000 (05:35 +0000)]
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

23 years agoDon't pass NULL to the %s format.
dd [Sun, 22 Apr 2001 03:00:09 +0000 (03:00 +0000)]
Don't pass NULL to the %s format.

Reviewed by: kris

23 years agoAddress $FreeBSD$ and `rcsid'.
obrien [Sun, 22 Apr 2001 02:32:42 +0000 (02:32 +0000)]
Address $FreeBSD$ and `rcsid'.

23 years agoFix prototype wrap example and note how to wrap ANSI-style function
obrien [Sun, 22 Apr 2001 02:00:39 +0000 (02:00 +0000)]
Fix prototype wrap example and note how to wrap ANSI-style function
definitions.

23 years agoStyle(9) fixes:
obrien [Sun, 22 Apr 2001 01:56:09 +0000 (01:56 +0000)]
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.

23 years agoReword a few things and document the `search' and `index' make targets.
dd [Sun, 22 Apr 2001 00:28:40 +0000 (00:28 +0000)]
Reword a few things and document the `search' and `index' make targets.

PR: 26690
Submitted by: Pete Fritchman <petef@databits.net>

23 years agoadd MARVELL to the list of phys to go into miibus
mjacob [Sat, 21 Apr 2001 23:42:19 +0000 (23:42 +0000)]
add MARVELL to the list of phys to go into miibus

23 years agoo Remove comment indicating policy permits loop-back debugging, but
rwatson [Sat, 21 Apr 2001 22:41:45 +0000 (22:41 +0000)]
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.

23 years agoChecking of denied zone transfers is now done in
dirk [Sat, 21 Apr 2001 22:37:54 +0000 (22:37 +0000)]
Checking of denied zone transfers is now done in
periodic/daily/470.status-named.

23 years agoCheck for denied zone transfers (AXFR and IXFR).
dirk [Sat, 21 Apr 2001 22:36:30 +0000 (22:36 +0000)]
Check for denied zone transfers (AXFR and IXFR).

23 years agoPick manpages from their original locations
ache [Sat, 21 Apr 2001 22:05:33 +0000 (22:05 +0000)]
Pick manpages from their original locations

23 years agoMove manpages to their original location (cvs copy to doc)
ache [Sat, 21 Apr 2001 22:02:18 +0000 (22:02 +0000)]
Move manpages to their original location (cvs copy to doc)

23 years agoBlock out all interrupts, even machine checks, for critical_enter()
gallatin [Sat, 21 Apr 2001 21:44:39 +0000 (21:44 +0000)]
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

23 years agomkisofs is in section 8, not section 1.
dd [Sat, 21 Apr 2001 21:14:52 +0000 (21:14 +0000)]
mkisofs is in section 8, not section 1.

23 years agoThe introduction of IPv6 support from NetBSD's mountd invalidated
iedowse [Sat, 21 Apr 2001 20:06:18 +0000 (20:06 +0000)]
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.

23 years agoFix the cut'n'paste style bugs I introduced in rev 1.16
jedgar [Sat, 21 Apr 2001 19:52:06 +0000 (19:52 +0000)]
Fix the cut'n'paste style bugs I introduced in rev 1.16
(spaces -> tab(s) in #define's)

23 years agoFix typo in mousechar range
ache [Sat, 21 Apr 2001 16:28:29 +0000 (16:28 +0000)]
Fix typo in mousechar range

23 years agoFix typo in mouse_char range
ache [Sat, 21 Apr 2001 16:22:26 +0000 (16:22 +0000)]
Fix typo in mouse_char range

23 years agoUpper limit of mousechar start is UCHAR_MAX - 3, not UCHAR_MAX - 4
ache [Sat, 21 Apr 2001 14:11:48 +0000 (14:11 +0000)]
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>

23 years agoMy fix to NEWCARD for getting the function type broke oldcard due to
imp [Sat, 21 Apr 2001 14:10:32 +0000 (14:10 +0000)]
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

23 years agoProper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAX
ache [Sat, 21 Apr 2001 13:50:32 +0000 (13:50 +0000)]
Proper upper limit for mousechar start is UCHAR_MAX - 3, not UCHAR_MAX

PR: 24437
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>

23 years agoSync with main v1.105
ache [Sat, 21 Apr 2001 13:27:05 +0000 (13:27 +0000)]
Sync with main v1.105

23 years agocons25w: cosmetique, move all bolean and numeric capabilities to the top
ache [Sat, 21 Apr 2001 13:25:35 +0000 (13:25 +0000)]
cons25w: cosmetique, move all bolean and numeric capabilities to the top
of the entry for easy reading

23 years agoAesthetics: fix placement of $NetBSD$ (use space instead of tab)
asmodai [Sat, 21 Apr 2001 11:17:44 +0000 (11:17 +0000)]
Aesthetics: fix placement of $NetBSD$ (use space instead of tab)