]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoPolish error handling with biofinish().
phk [Tue, 8 May 2001 09:10:27 +0000 (09:10 +0000)]
Polish error handling with biofinish().

23 years agoPolish error handling code using biofinish()
phk [Tue, 8 May 2001 09:09:32 +0000 (09:09 +0000)]
Polish error handling code using biofinish()

23 years agoRemove an 'optimization' I hope to never see again.
alfred [Tue, 8 May 2001 09:09:18 +0000 (09:09 +0000)]
Remove an 'optimization' I hope to never see again.

The pipe code could not handle running out of kva, it would panic
if that happened.  Instead return ENFILE to the application which
is an acceptable error return from pipe(2).

There was some slightly tricky things that needed to be worked on,
namely that the pipe code can 'realloc' the size of the buffer if
it detects that the pipe could use a bit more room.  However if it
failed the reallocation it could not cope and would panic.  Fix
this by attempting to grow the pipe while holding onto our old
resources.  If all goes well free the old resources and use the
new ones, otherwise continue to use the smaller buffer already
allocated.

While I'm here add a few blank lines for style(9) and remove
'register'.

23 years agoBe a little clearer all characters after a # are ignored unless the
brian [Tue, 8 May 2001 08:58:57 +0000 (08:58 +0000)]
Be a little clearer all characters after a # are ignored unless the
# is escaped or quoted.  Add an example of # characters as part of
a phone number.

PR: 26605

23 years agoExploit recent improvements in the disk minilayer to simplify error
phk [Tue, 8 May 2001 08:30:48 +0000 (08:30 +0000)]
Exploit recent improvements in the disk minilayer to simplify error
handling a bit.

Dogmatic lingupurists can celebrate that a number of gotos got removed.

Reviewed by: mjacob, ken

23 years agoAlways initialize bio_resid from bio_bcount in the disk mini-layer so
phk [Tue, 8 May 2001 08:24:54 +0000 (08:24 +0000)]
Always initialize bio_resid from bio_bcount in the disk mini-layer so
that the drivers don't have to do it umpteen times.

23 years agomdoc(7) police: fix markup, rename and reorder some sections.
ru [Tue, 8 May 2001 08:12:53 +0000 (08:12 +0000)]
mdoc(7) police: fix markup, rename and reorder some sections.

23 years agoRemove all the mutex stuff - suggested by jhb
brian [Tue, 8 May 2001 07:55:33 +0000 (07:55 +0000)]
Remove all the mutex stuff - suggested by jhb

Tidy up includes, credit Slawa Olhovchenkov, John Prince and Eric Hernes
for their efforts and add a couple of missing parenthesis around return
expressions.

23 years agoWhen running with soft updates, track the number of blocks and files
mckusick [Tue, 8 May 2001 07:42:20 +0000 (07:42 +0000)]
When running with soft updates, track the number of blocks and files
that are committed to being freed and reflect these blocks in the
counts returned by statfs (and thus also by the `df' command). This
change allows programs such as those that do news expiration to
know when to stop if they are trying to create a certain percentage
of free space. Note that this change does not solve the much harder
problem of making this to-be-freed space available to applications
that want it (thus on a nearly full filesystem, you may still
encounter out-of-space conditions even though the free space will
show up eventually). Hopefully this harder problem will be the
subject of a future enhancement.

23 years agoSeveral fixes for units errors:
mckusick [Tue, 8 May 2001 07:29:03 +0000 (07:29 +0000)]
Several fixes for units errors:
1) Do not assume that the superblock will be of size fs->fs_bsize.
   This fixes a panic when taking a snapshot on a filesystem with
   a block size bigger than 8K.
2) Properly calculate the number of fragments that follow the
   superblock summary information. This fixes a bug with inconsistent
   snapshots.
3) When cleaning up a snapshot that is about to be removed, properly
   calculate the number of blocks that need to be checked. This fixes
   a bug that created partially allocated inodes.
4) When moving blocks from a snapshot that is about to be removed
   to another snapshot, properly account for the reduced number of
   blocks in the snapshot from which they are taken. This fixes a
   bug in which the number of blocks released from a snapshot did not
   match the number that it claimed to have.

23 years agomdoc(7) police: sort xrefs.
ru [Tue, 8 May 2001 07:19:19 +0000 (07:19 +0000)]
mdoc(7) police: sort xrefs.

23 years agoWhen syncing out snapshot metadata, we must temporarily allow recursive
mckusick [Tue, 8 May 2001 07:13:00 +0000 (07:13 +0000)]
When syncing out snapshot metadata, we must temporarily allow recursive
buffer locking so as to avoid locking against ourselves if we need to
write filesystem metadata.

23 years agoGC some dead code relating to running df on unmounted block devices,
kris [Tue, 8 May 2001 06:58:25 +0000 (06:58 +0000)]
GC some dead code relating to running df on unmounted block devices,
and remove the setgid operator bit from the installed binary: if you want
to view free disk space on an unmounted device, you should have read
permissions to access it.

Reviewed by: phk

23 years agoJust notify us once when encountering a partially allocated inode.
mckusick [Tue, 8 May 2001 06:41:56 +0000 (06:41 +0000)]
Just notify us once when encountering a partially allocated inode.

23 years agoSync up with OpenBSD. Too many changes to note, but the major features
kris [Tue, 8 May 2001 06:19:06 +0000 (06:19 +0000)]
Sync up with OpenBSD.  Too many changes to note, but the major features
are:
* Implement cpio compatibility mode when pax is invoked as cpio
* Extend tar compatibility mode to cover many of the GNU tar single-letter
  options (bzip2 mode, aka -y/-j is not present in OpenBSD).  When
  invoked as tar, pax is now full-featured enough for use by the ports
  collection to extract distfiles and create packages.
* Many bug fixes to the operation of pax and the tar compatibility modes
* Code fixes for things like correct string buffer termination.

I tried to preserve existing FreeBSD fixes to this utility; please let me
know if I have inadvertently spammed something.

23 years agoRicoh RL5C46x cardbus bridges have the bits for 3E0 and 3E2. The
imp [Tue, 8 May 2001 02:28:41 +0000 (02:28 +0000)]
Ricoh RL5C46x cardbus bridges have the bits for 3E0 and 3E2.  The
RL5C47x cards do not.  Only set them for that set of bridges.

Submitted by: shiba (Takeshi Shibagaki-san)

23 years agoAdd some additional register definitions for some work I have in progress.
imp [Tue, 8 May 2001 02:06:03 +0000 (02:06 +0000)]
Add some additional register definitions for some work I have in progress.

23 years agosys/mutex.h requires sys/lock.h for LINT
brian [Mon, 7 May 2001 23:52:08 +0000 (23:52 +0000)]
sys/mutex.h requires sys/lock.h for LINT

Re-spotted by: phk

23 years agoCorrect prototype (entry_p -> *entry_p)
jedgar [Mon, 7 May 2001 23:16:25 +0000 (23:16 +0000)]
Correct prototype (entry_p -> *entry_p)

Submitted by: Alex Zepeda <jazepeda@pacbell.net>

23 years agoSet the slot pointer in the pc98 case. Correct the name of the bridge
imp [Mon, 7 May 2001 22:28:05 +0000 (22:28 +0000)]
Set the slot pointer in the pc98 case.  Correct the name of the bridge
chip to the one that the Japanese use.  Now we get insert/remove
events on my PC-9821Ne.  More work in bus space is needed to make
drivers work.

MFC after: 3 days

23 years agoFix typos.
horikawa [Mon, 7 May 2001 22:15:18 +0000 (22:15 +0000)]
Fix typos.
o replace `of possible' with `if possible'
o VOP_SETACL(9) is modified to say about `ACL' instead of `extended
  attributed'
o EOPNOTSUPP of VOP_SETEXTATTR(9) is modified to say about
  VOP_SETEXTATTR(9) instead of VOP_GETEXTATTR(9)

Reviewed by: Robert Watson <rwatson@FreeBSD.org>,
 Chris Costello <chris@calldei.com>

23 years agoUse constants in <pccard/cis.h> for scannign the memory window with.
dmlb [Mon, 7 May 2001 21:58:31 +0000 (21:58 +0000)]
Use constants in <pccard/cis.h> for scannign the memory window with.

Approved by: imp

23 years agoEnsure that pccardd sets up memory windows correctly for drivers other
dmlb [Mon, 7 May 2001 21:56:57 +0000 (21:56 +0000)]
Ensure that pccardd sets up memory windows correctly for drivers other
than if_ed. The code for if_ed to set the offset and memory width
remains.

Approved by: imp

23 years agoFix a minor printing bug that prints incorrect information for memory
dmlb [Mon, 7 May 2001 21:51:54 +0000 (21:51 +0000)]
Fix a minor printing bug that prints incorrect information for memory
block sizes.

This orginally worked in PAO-3 and worked on their r330 branch but got
broken in PAO-3 around December 1998!

Approved by: imp
Obtained from: PAO-3

23 years agoMinor updates:
msmith [Mon, 7 May 2001 21:46:44 +0000 (21:46 +0000)]
Minor updates:

 - Rework of twe_report_request to use the command status value rather
   than the flags register. (Joel Jacobson @ 3ware)
 - Update to match some changes in -current vs. stable.

MFC in: 1 week

23 years agoPointy hat fix -- reapply the SRA PAM patch. To -current this time.
nsayer [Mon, 7 May 2001 20:42:02 +0000 (20:42 +0000)]
Pointy hat fix -- reapply the SRA PAM patch. To -current this time.

23 years agoAdd PAM support to SRA authentication. Cribbed mostly from ftpd. This
nsayer [Mon, 7 May 2001 20:38:39 +0000 (20:38 +0000)]
Add PAM support to SRA authentication. Cribbed mostly from ftpd. This
doesn't solve the problem of root being allowed to log in, but that sort
of thing is something PAM should be doing anyway.

23 years agoProperly copy the P_ALTSTACK flag in struct proc::p_flag to the child
knu [Mon, 7 May 2001 18:07:29 +0000 (18:07 +0000)]
Properly copy the P_ALTSTACK flag in struct proc::p_flag to the child
process on fork(2).

It is the supposed behavior stated in the manpage of sigaction(2), and
Solaris, NetBSD and FreeBSD 3-STABLE correctly do so.

The previous fix against libc_r/uthread/uthread_fork.c fixed the
problem only for the programs linked with libc_r, so back it out and
fix fork(2) itself to help those not linked with libc_r as well.

PR: kern/26705
Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp>
Tested by: knu, GOTOU Yuuzou <gotoyuzo@notwork.org>,
and some other people
Not objected by: hackers
MFC in: 3 days

23 years agoDisable the card after sending the removed event up to the pccard
imp [Mon, 7 May 2001 16:50:34 +0000 (16:50 +0000)]
Disable the card after sending the removed event up to the pccard
layer.  This fixes an ordering problem that would cause the ISR for
the device to run with now power applied to the device.  Most cards
failed to deal with this gracefully, and thus would hang on card
eject.

The power down event, for those keeping score, is what causes the
interrupt for the card.

Many folks in the Japanese nomads list have reported this, so I'll be
MFCing quickly for their benefit.

Submitted by: Masayuki FUKUI
MFC after: 2 days

23 years agoOnly load KOI8-R-specific bits if document language is set
ru [Mon, 7 May 2001 16:04:49 +0000 (16:04 +0000)]
Only load KOI8-R-specific bits if document language is set
via the \*[lang] register, not if just device is `koi8-r'.

Reviewed by: ache

23 years agoUse foo () instead of foo ( ) for function definition,
schweikh [Mon, 7 May 2001 14:15:02 +0000 (14:15 +0000)]
Use foo () instead of foo ( ) for function definition,
so zsh can parse this file as well.

23 years agoRemove if_ray_oldcard.h because pccard support multiple windows now.
dmlb [Mon, 7 May 2001 13:11:08 +0000 (13:11 +0000)]
Remove if_ray_oldcard.h because pccard support multiple windows now.

Setup attribute memory resource in ray_probe so that it is added to
the print out of the resource list on card insertion.

23 years agoA bit of markup and spelling fixes.
ru [Mon, 7 May 2001 12:48:38 +0000 (12:48 +0000)]
A bit of markup and spelling fixes.

23 years agoRestore printing of routes cloned from a RTF_CLONING parent
ru [Mon, 7 May 2001 12:29:36 +0000 (12:29 +0000)]
Restore printing of routes cloned from a RTF_CLONING parent
(e.g., ARP table entries) with the default routing display.

PR: bin/26970
Reviewed by: wollman
MFC after: 3 days

23 years agoChange COM_LOCK/COM_UNLOCK to a regular mutex - still conditional on
brian [Mon, 7 May 2001 11:13:11 +0000 (11:13 +0000)]
Change COM_LOCK/COM_UNLOCK to a regular mutex - still conditional on
SMP being defined.

23 years agoCosmetics: .Dl -> .Li.
ru [Mon, 7 May 2001 07:42:56 +0000 (07:42 +0000)]
Cosmetics: .Dl -> .Li.

23 years agos/mtx_try_enter/mtx_trylock/
dd [Sun, 6 May 2001 22:04:17 +0000 (22:04 +0000)]
s/mtx_try_enter/mtx_trylock/

23 years agoMake the disk mini-layer check for and handle zero-length transfers
phk [Sun, 6 May 2001 21:55:22 +0000 (21:55 +0000)]
Make the disk mini-layer check for and handle zero-length transfers
instead of the underlying drivers.

23 years agoMake LINT compile again.
brian [Sun, 6 May 2001 21:03:37 +0000 (21:03 +0000)]
Make LINT compile again.

Spotted by: phk

23 years agoActually biofinish(struct bio *, struct devstat *, int error) is more general
phk [Sun, 6 May 2001 20:00:03 +0000 (20:00 +0000)]
Actually biofinish(struct bio *, struct devstat *, int error) is more general
than the bioerror().

Most of this patch is generated by scripts.

23 years agoIntroduce bioerror(struct bio*, int err, int complete);
phk [Sun, 6 May 2001 18:57:08 +0000 (18:57 +0000)]
Introduce bioerror(struct bio*, int err, int complete);

23 years agoRemove unneeded devfs_badop()
phk [Sun, 6 May 2001 17:40:34 +0000 (17:40 +0000)]
Remove unneeded devfs_badop()

Noticed by: rwatson

23 years agoFix return type of vop_stdputpages()
phk [Sun, 6 May 2001 17:40:22 +0000 (17:40 +0000)]
Fix return type of vop_stdputpages()

Noticed by: rwatson

23 years agoFix a panic if MD devices were left half-created.
phk [Sun, 6 May 2001 17:17:23 +0000 (17:17 +0000)]
Fix a panic if MD devices were left half-created.

XXX: the real bug is that devstat isn't part of the disk minilayer.

PR: 27158
Submitted by: Anders Nordby <anders@fix.no>

23 years agoAdd elf.h header back, its existance is an SVR4-ELF tradition.
obrien [Sun, 6 May 2001 16:39:57 +0000 (16:39 +0000)]
Add elf.h header back, its existance is an SVR4-ELF tradition.
Our ELF hints bits are still a seperate file.

Requested by: jdp

23 years agoo First step in cleaning up authorization code for the posix4
rwatson [Sun, 6 May 2001 16:15:42 +0000 (16:15 +0000)]
o First step in cleaning up authorization code for the posix4
  implementation.  Move from direct uid 0 comparision to using suser_xxx()
  call with the same semantics.  Simplify CAN_AFFECT() macro as passed
  pcred was redundant.  The checks here still aren't "right", but they
  are probably "better".

Obtained from: TrustedBSD Project

23 years agoSGMLify now completed. Comments are invited. I hope not to have introduced
wilko [Sun, 6 May 2001 13:43:24 +0000 (13:43 +0000)]
SGMLify now completed. Comments are invited. I hope not to have introduced
too much typos / errors during the conversion.

23 years agoUpdate the DiskOnChip firmware to OSAK version 4.1.
phk [Sun, 6 May 2001 12:37:42 +0000 (12:37 +0000)]
Update the DiskOnChip firmware to OSAK version 4.1.

Sponsored by: Redfern Broadband Networks (www.RedFernNetworks.com)

23 years agoRestore I/O port resources to the condition before adv_isa_probe() is
nyan [Sun, 6 May 2001 09:28:18 +0000 (09:28 +0000)]
Restore I/O port resources to the condition before adv_isa_probe() is
called.

Submitted by: yokota

23 years agoMerged from sys/i386/i386/machdep.c revision 1.448.
kato [Sun, 6 May 2001 09:18:32 +0000 (09:18 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.448.

23 years agoUse correct resource id for bus_release_resource().
nyan [Sun, 6 May 2001 08:33:29 +0000 (08:33 +0000)]
Use correct resource id for bus_release_resource().

23 years agoMove unused functions into #if 0 ... #endif.
nyan [Sun, 6 May 2001 08:07:10 +0000 (08:07 +0000)]
Move unused functions into #if 0 ... #endif.

23 years agoMerged from sys/i386/conf/GENERIC revision 1.304.
nyan [Sun, 6 May 2001 05:57:46 +0000 (05:57 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.304.

23 years agoMerged from sys/isa/fd.c revision 1.193.
nyan [Sun, 6 May 2001 05:49:11 +0000 (05:49 +0000)]
Merged from sys/isa/fd.c revision 1.193.

23 years agoCreate temporary files securely using mkstemp() instead of mktemp()
kris [Sun, 6 May 2001 03:07:12 +0000 (03:07 +0000)]
Create temporary files securely using mkstemp() instead of mktemp()

Reviewed by: mikeh, audit@
MFC after: 1 week

23 years ago* fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
kris [Sun, 6 May 2001 03:03:45 +0000 (03:03 +0000)]
* fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
  creation.

* Tag the internal err() function with __printflike to allow checking
  for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
  sure it doesn't contain extraneous format operators.

Reviewed by:    mikeh
MFC after:      1 week

23 years agoMake soft updates option print more nicely and stop overflow of
jkh [Sun, 6 May 2001 02:52:45 +0000 (02:52 +0000)]
Make soft updates option print more nicely and stop overflow of
right-hand margin when set in 2nd column.  Also do a small amount of
code cleanup.

23 years agoWhen setting up the frame to invoke a signal handler, preserve the
deischen [Sun, 6 May 2001 02:13:12 +0000 (02:13 +0000)]
When setting up the frame to invoke a signal handler, preserve the
%fs and %gs registers instead of setting them to known sane values.
%fs is going to be used for thread/KSE specific data by the new
threads library; we'll want it to be valid inside of signal handlers.

According to bde, Linux preserves the state of %fs and %gs when setting
up signal handlers, so there is precedent for doing this.

The same changes should be made in the Linux emulator, but when made,
they seem to break (at least one version of) the IBM JDK for Linux
(reported by drew).

Approved by: bde

23 years agoPerformance improvements for the ELF dynamic linker. These
jdp [Sat, 5 May 2001 23:21:05 +0000 (23:21 +0000)]
Performance improvements for the ELF dynamic linker.  These
particularly help programs which load many shared libraries with
a lot of relocations.  Large C++ programs such as are found in KDE
are a prime example.

While relocating a shared object, maintain a vector of symbols
which have already been looked up, directly indexed by symbol
number.  Typically, symbols which are referenced by a relocation
entry are referenced by many of them.  This is the same optimization
I made to the a.out dynamic linker in 1995 (rtld.c revision 1.30).

Also, compare the first character of a sought-after symbol with its
symbol table entry before calling strcmp().

On a PII/400 these changes reduce the start-up time of a typical
KDE program from 833 msec (elapsed) to 370 msec.

MFC after: 5 days

23 years agoLet ifconfig(8) catch up with the new functionality where
jesper [Sat, 5 May 2001 19:53:20 +0000 (19:53 +0000)]
Let ifconfig(8) catch up with the new functionality where
one can specify addresses and netmask in CIDR notation.

Submitted by: Dima Dorfman <dima@unixfreak.org>

23 years agoAdd this header back, its existance is an SVR4-ELF tradition.
obrien [Sat, 5 May 2001 19:40:26 +0000 (19:40 +0000)]
Add this header back, its existance is an SVR4-ELF tradition.
Our ELF hints bits are still a seperate file.

Requested by: jdp

23 years agoAdd q quirk for the old SONY SMO drive i've been sitting upon in my
joerg [Sat, 5 May 2001 14:42:06 +0000 (14:42 +0000)]
Add q quirk for the old SONY SMO drive i've been sitting upon in my
private tree for too long now.  This (pre SCSI-2) drive returns a
mystic code when the medium is inserted but not spun up.

23 years agosshd_config should still be keeping ssh host keys in /etc/ssh, not /etc.
green [Sat, 5 May 2001 13:48:13 +0000 (13:48 +0000)]
sshd_config should still be keeping ssh host keys in /etc/ssh, not /etc.

23 years agoFix markup
brian [Sat, 5 May 2001 09:02:24 +0000 (09:02 +0000)]
Fix markup

Spotted by: Jens Schweikhardt <schweikh@schweikhardt.net>

23 years agothis file has been unused for some time now
cg [Sat, 5 May 2001 05:32:22 +0000 (05:32 +0000)]
this file has been unused for some time now

23 years agoUse &merged; entity where appropriate.
dd [Sat, 5 May 2001 02:37:46 +0000 (02:37 +0000)]
Use &merged; entity where appropriate.

23 years agoCorrect some spelling errors, a typo, and remove trailing whitespace.
dd [Sat, 5 May 2001 02:35:46 +0000 (02:35 +0000)]
Correct some spelling errors, a typo, and remove trailing whitespace.

23 years agoFinish committing _more_ somehow-uncommitted OpenSSH 2.9 updates.
green [Sat, 5 May 2001 01:12:45 +0000 (01:12 +0000)]
Finish committing _more_ somehow-uncommitted OpenSSH 2.9 updates.
(Missing Delta Brigade, tally-ho!)

23 years agoAdd -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzip
kris [Sat, 5 May 2001 01:10:13 +0000 (01:10 +0000)]
Add -z flag to pax to allow gzipping of archive output.  Add -z and -Z (gzip
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.

bzip2 functionality for further GNU tar compatibility will be added at a
later date.

Note in the manpage that -z is non-standard.

Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks

23 years agoAdd printf.9, and add links to tprintf.9 and uprintf.9.
dd [Sat, 5 May 2001 00:25:39 +0000 (00:25 +0000)]
Add printf.9, and add links to tprintf.9 and uprintf.9.

23 years agoUpdate to OpenSSH 2.9. Somehow this missed getting committed yesterday.
green [Fri, 4 May 2001 23:55:18 +0000 (23:55 +0000)]
Update to OpenSSH 2.9.  Somehow this missed getting committed yesterday.

23 years agoReplace an instance of the "watch" word with the ".Nm" macro: it is used to
olgeni [Fri, 4 May 2001 23:27:30 +0000 (23:27 +0000)]
Replace an instance of the "watch" word with the ".Nm" macro: it is used to
specify the command name.

23 years agoA manual page for the printf(), uprintf(), and tprintf() kernel functions.
dd [Fri, 4 May 2001 23:25:58 +0000 (23:25 +0000)]
A manual page for the printf(), uprintf(), and tprintf() kernel functions.

Submitted by: Andrew R. Reiter <arr@watson.org>
Reviewed by: jhb

23 years agoFinish disconnecting pam_ssh from the build.
green [Fri, 4 May 2001 20:40:53 +0000 (20:40 +0000)]
Finish disconnecting pam_ssh from the build.

23 years agoMove the check for a pending signals to after the thread has been
deischen [Fri, 4 May 2001 20:37:07 +0000 (20:37 +0000)]
Move the check for a pending signals to after the thread has been
placed in any scheduling queue(s).  The process of dispatching
signals to a thread can change its state which will attempt to add
or remove the thread from any scheduling queue to which it belongs.
This can break some assertions if the thread isn't in the queue(s)
implied by its state.

When adding dispatching a pending signal to a thread, be sure to
remove the signal from the threads set of pending signals.

PR: 27035
Tested by: brian
MFC in: 1 week

23 years agoNew release notes: OpenSSH VersionAddendum, OpenSSH 2.9, new find(1)
bmah [Fri, 4 May 2001 20:06:44 +0000 (20:06 +0000)]
New release notes:  OpenSSH VersionAddendum, OpenSSH 2.9, new find(1)
predicates, PAM 0.75, nl(1).

23 years agoAdd infrastructure that allows to build docs and RELNOTESng without
joerg [Fri, 4 May 2001 19:50:34 +0000 (19:50 +0000)]
Add infrastructure that allows to build docs and RELNOTESng without
the need to also create the entire ports tree during a `make release'.
The main motivation behind this is that handling the ports tree still
takes a huge amount of time due to the large number of directories
involved, even on modern disks.

The solution is to establish a list of dependent ports that are
minimally required.  This list needs to be manually maintained in case
the doc ports toolchain changes, and has thus been broken out into a
separate file Makefile.inc.docports.  (release/Makefile has gotten
overly lengthy already anyway.)

Discussed with: bmah, nik
Reviewed by: bmah

23 years agoImplement slash/CIDR notation for IPv4 and IPv6 addresses.
jesper [Fri, 4 May 2001 18:45:36 +0000 (18:45 +0000)]
Implement slash/CIDR notation for IPv4 and IPv6 addresses.

MFC after: 1 week

Reviewed by: phk
Obtained from: NetBSD

23 years agoRaise the SysV shared memory defaults to more reasonable values.
dillon [Fri, 4 May 2001 18:43:19 +0000 (18:43 +0000)]
Raise the SysV shared memory defaults to more reasonable values.
Mainly increases the shared memory limit from 4M to 32M (approx).
Many more programs these days use SysV shared memory, especially X-related
programs.

23 years agoFix a bug in the pfind() changes due to confusing the process returned by
jhb [Fri, 4 May 2001 18:13:11 +0000 (18:13 +0000)]
Fix a bug in the pfind() changes due to confusing the process returned by
pfind() ('pp') with the process being detached from ptrace.

Reported by: bde

23 years agoAdd nl(1)
brian [Fri, 4 May 2001 17:25:23 +0000 (17:25 +0000)]
Add nl(1)

PR: 27078
Obtained from: NetBSD

23 years ago- Move state about lock objects out of struct lock_object and into a new
jhb [Fri, 4 May 2001 17:15:16 +0000 (17:15 +0000)]
- Move state about lock objects out of struct lock_object and into a new
  struct lock_instance that is stored in the per-process and per-CPU lock
  lists.  Previously, the lock lists just kept a pointer to each lock held.
  That pointer is now replaced by a lock instance which contains a pointer
  to the lock object, the file and line of the last acquisition of a lock,
  and various flags about a lock including its recursion count.
- If we sleep while holding a sleepable lock, then mark that lock instance
  as having slept and ignore any lock order violations that occur while
  acquiring Giant when we wake up with slept locks.  This is ok because of
  Giant's special nature.
- Allow witness to differentiate between shared and exclusive locks and
  unlocks of a lock.  Witness will now detect the case when a lock is
  acquired first in one mode and then in another.  Mutexes are always
  locked and unlocked exclusively.  Witness will also now detect the case
  where a process attempts to unlock a shared lock while holding an
  exclusive lock and vice versa.
- Fix a bug in the lock list implementation where we used the wrong
  constant to detect the case where a lock list entry was full.

23 years agoDon't hold the process mutex across calls to FREE() since the vm system
jhb [Fri, 4 May 2001 16:13:28 +0000 (16:13 +0000)]
Don't hold the process mutex across calls to FREE() since the vm system
uses lockmgr locks and this leads to a lock order reversal.  At this point
in wait1() the process is not on any process lists or in the process tree,
so no other process should be able to find it or have a reference to it
anyways, so the locking is not needed.

23 years agoRefinement to revision 1.16 of ufs/ffs/ffs_snapshot.c to reduce
mckusick [Fri, 4 May 2001 05:49:28 +0000 (05:49 +0000)]
Refinement to revision 1.16 of ufs/ffs/ffs_snapshot.c to reduce
the amount of time that the filesystem must be suspended. The
current snapshot is elided as well as the earlier snapshots.

23 years agoFix the problem of some directory entries going missing when
jlemon [Fri, 4 May 2001 05:19:22 +0000 (05:19 +0000)]
Fix the problem of some directory entries going missing when
read by the linux version of 'ls'.

Spotted by: rwatson

23 years agoDon't build with Kerberos 5 support for now. I'll fix this soon,
green [Fri, 4 May 2001 05:07:43 +0000 (05:07 +0000)]
Don't build with Kerberos 5 support for now.  I'll fix this soon,
but I don't want to break Kerberos 5 users' worlds too much in the
meantime.

23 years agoGet ssh(1) compiling with MAKE_KERBEROS5.
green [Fri, 4 May 2001 04:37:49 +0000 (04:37 +0000)]
Get ssh(1) compiling with MAKE_KERBEROS5.

23 years agoFollow the OpenSSH 2.9 upgrade with the infrastructure. Two new
green [Fri, 4 May 2001 04:21:25 +0000 (04:21 +0000)]
Follow the OpenSSH 2.9 upgrade with the infrastructure.  Two new
programs are now included: sftp(1) and ssh-keyscan(1).

23 years agoRemove obsoleted files.
green [Fri, 4 May 2001 04:15:22 +0000 (04:15 +0000)]
Remove obsoleted files.

23 years agoFix conflicts for OpenSSH 2.9.
green [Fri, 4 May 2001 04:14:23 +0000 (04:14 +0000)]
Fix conflicts for OpenSSH 2.9.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76259,
green [Fri, 4 May 2001 03:57:05 +0000 (03:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76259,
which included commits to RCS files with non-trunk default branches.

23 years agoSay "hi" to the latest in the OpenSSH series, version 2.9!
green [Fri, 4 May 2001 03:57:05 +0000 (03:57 +0000)]
Say "hi" to the latest in the OpenSSH series, version 2.9!

Happy birthday to: rwatson

23 years agoI've been meaning to take pam_ssh out of the base system for a while now.
green [Fri, 4 May 2001 03:53:48 +0000 (03:53 +0000)]
I've been meaning to take pam_ssh out of the base system for a while now.
Finally do it.

23 years agoMore RELNOTESng infrastructure fixup: The directory layout of
bmah [Thu, 3 May 2001 21:59:35 +0000 (21:59 +0000)]
More RELNOTESng infrastructure fixup:  The directory layout of
stylesheets (particularly with respect to translations) is now similar
to that of the doc/ tree.  Added a customization for HTML page footers
(this is the only reader-visible change).

23 years agoTotal hack to fix broken bootstrap. Add -I/usr/src/include at the tail
obrien [Thu, 3 May 2001 21:37:06 +0000 (21:37 +0000)]
Total hack to fix broken bootstrap.  Add -I/usr/src/include at the tail
end of the include searching.  We really need a real fix for the issue of
which set of headers to use in compiling the cross-tools -- /usr/include,
or /usr/src/include.

23 years agoOff by one in counting the number of MIB entries.
dmlb [Thu, 3 May 2001 20:58:22 +0000 (20:58 +0000)]
Off by one in counting the number of MIB entries.

23 years agoThird take, still not finished SGMLifying. SGML is more wordy
wilko [Thu, 3 May 2001 20:05:26 +0000 (20:05 +0000)]
Third take, still not finished SGMLifying. SGML is more wordy
than I anticipated :(

23 years ago They add the following commands:
phk [Thu, 3 May 2001 18:05:35 +0000 (18:05 +0000)]
 They add the following commands:
   -anewer
   -cnewer
   -mnewer
   -okdir
   -newer[acm][acmt]

 With it, you can form queries like

     find . -newerct '1 minute ago' -print

 As an extra bonus, the program is ANSI-fied - the original version
 relies on some obscure features of K&R C.

(This PR was submitted in 1999, and the submittor has kept the patch
updated ever since, hats off for him guys, and how about you close a PR ??)

PR: 9374
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>

23 years agomake isdnd less verbose while calculating times: fix another message to be
hm [Thu, 3 May 2001 15:18:50 +0000 (15:18 +0000)]
make isdnd less verbose while calculating times: fix another message to be
logged at DL_VALID instead at DL_MSG.

23 years agoadd nl_langinfo(3)
phantom [Thu, 3 May 2001 15:12:52 +0000 (15:12 +0000)]
add nl_langinfo(3)