]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoShow an example of how to sort a file listing by size. Hopefully this
obrien [Sat, 21 Jul 2001 05:01:50 +0000 (05:01 +0000)]
Show an example of how to sort a file listing by size.  Hopefully this
will reduce the number of people calling for this functionality to be
added to ls(1).

23 years agoUpdate the OSD module to match the ACPI CA 20010717 import.
msmith [Sat, 21 Jul 2001 04:10:01 +0000 (04:10 +0000)]
Update the OSD module to match the ACPI CA 20010717 import.

Submitted by: "Grover, Andrew" <andrew.grover@intel.com> (OsdHardware.c)

23 years agoImplement a "proper" timecounter hung off the ACPI timer device.
msmith [Sat, 21 Jul 2001 04:08:42 +0000 (04:08 +0000)]
Implement a "proper" timecounter hung off the ACPI timer device.

This code is based on the mp_clock code by phk.  It attempts to
detect the PIIX4 (see comments for details) and use a workaround
for its problems.

This code is experimental, and could use some testing and review by a
timekeeping enthusiast.

23 years agoMerge the EC register definitions into the EC module proper, they're not
msmith [Sat, 21 Jul 2001 04:06:44 +0000 (04:06 +0000)]
Merge the EC register definitions into the EC module proper, they're not
used anywhere else.

AcpiOsSleepUsec() -> AcpiOsStall()

23 years agoUse our saved copy of the FADT rather than fetching it again.
msmith [Sat, 21 Jul 2001 04:05:32 +0000 (04:05 +0000)]
Use our saved copy of the FADT rather than fetching it again.

23 years agoDon't call ourselves a "control method" anything, that's not useful.
msmith [Sat, 21 Jul 2001 04:05:08 +0000 (04:05 +0000)]
Don't call ourselves a "control method" anything, that's not useful.

Move the "button pressed" diagnostics to the point where we can print
out which button was actually pressed.

23 years agoThe API for loading tables changed (we no longer explicitly search for the
msmith [Sat, 21 Jul 2001 04:04:03 +0000 (04:04 +0000)]
The API for loading tables changed (we no longer explicitly search for the
RSDP, it's now found via a callback).

AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use
AcpiOsStall() too)

AcpiFormatException() was changed to make more sense (it behaves like
our old acpi_strerror() did), so throw acpi_strerror() away (still
#defined in acpivar.h though, we need to sweep these seperately).

23 years agoMerge local changes with the ACPI CA 20010717 import.
msmith [Sat, 21 Jul 2001 03:57:37 +0000 (03:57 +0000)]
Merge local changes with the ACPI CA 20010717 import.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80062,
msmith [Sat, 21 Jul 2001 03:55:17 +0000 (03:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80062,
which included commits to RCS files with non-trunk default branches.

23 years agoVendor import of the Intel ACPI CA 20010717 snapshot.
msmith [Sat, 21 Jul 2001 03:55:17 +0000 (03:55 +0000)]
Vendor import of the Intel ACPI CA 20010717 snapshot.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80060,
msmith [Sat, 21 Jul 2001 03:55:15 +0000 (03:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80060,
which included commits to RCS files with non-trunk default branches.

23 years agoVendor import of the Intel ACPI CA 20010717 snapshot.
msmith [Sat, 21 Jul 2001 03:55:15 +0000 (03:55 +0000)]
Vendor import of the Intel ACPI CA 20010717 snapshot.

23 years agoHide in the Attic. This isn't built any more (it wont) and it can better
obrien [Sat, 21 Jul 2001 02:18:38 +0000 (02:18 +0000)]
Hide in the Attic.  This isn't built any more (it wont) and it can better
collect dust up there.

23 years agoDike out the IPX bits if RELEASE_CRUNCH is defined.
obrien [Sat, 21 Jul 2001 00:35:11 +0000 (00:35 +0000)]
Dike out the IPX bits if RELEASE_CRUNCH is defined.

23 years agoHint getaddrinfo() correctly if we're looking up a name that we got from
brian [Sat, 21 Jul 2001 00:18:54 +0000 (00:18 +0000)]
Hint getaddrinfo() correctly if we're looking up a name that we got from
an AF_INET6 address.

MFC after: 1 week

23 years agoAdd a missing ~ so that the LO_INITIALIZED flag actually gets turned off
jhb [Fri, 20 Jul 2001 23:29:25 +0000 (23:29 +0000)]
Add a missing ~ so that the LO_INITIALIZED flag actually gets turned off
in witness_destroy().

23 years agoPut a knob in the kernel config files to tweak the user max stack size.
pirzyk [Fri, 20 Jul 2001 20:26:34 +0000 (20:26 +0000)]
Put a knob in the kernel config files to tweak the user max stack size.

PR: kern/28925
Reviewed by: bakul@bitblocks.com and tlambert2@mindspring.com on -arch.
MFC after: 1 week

23 years agogif isn't a count device anymore so don't put a number after it.
brooks [Fri, 20 Jul 2001 19:53:08 +0000 (19:53 +0000)]
gif isn't a count device anymore so don't put a number after it.

Pointed out by: brian

23 years agoDo more strict checking for an interface.
ume [Fri, 20 Jul 2001 18:08:17 +0000 (18:08 +0000)]
Do more strict checking for an interface.

Suggested by: matusita@jp.FreeBSD.org
MFC after: 1 week

23 years agoo Add phantom's gethostinfo() function to reduce duplicated code.
mike [Fri, 20 Jul 2001 16:44:44 +0000 (16:44 +0000)]
o Add phantom's gethostinfo() function to reduce duplicated code.
o Increase readability by creating a wrapper for asprintf(3).
o Cast isdigit(3) argument to unsigned char for future locale
  changes.

Submitted by: phantom
Reviewed by: -audit, des
Approved by: des

23 years agoFix some nits I missed in my style cleanup.
obrien [Fri, 20 Jul 2001 15:33:04 +0000 (15:33 +0000)]
Fix some nits I missed in my style cleanup.

23 years agoMFCrypto: fixed the remote buffer overflow.
ru [Fri, 20 Jul 2001 15:14:03 +0000 (15:14 +0000)]
MFCrypto: fixed the remote buffer overflow.

23 years agoRemoved CSRG ids. CSRG never had anything to do with dpt.
bde [Fri, 20 Jul 2001 14:59:15 +0000 (14:59 +0000)]
Removed CSRG ids.  CSRG never had anything to do with dpt.

Don't set BINMODE to 500.  This is not a setuid program.

Note: the dpt utilities have never been attached to the world and
haven't been compilable for a year or two.

23 years agoFix typo; the meaning of the 3rd parameter to genkbd_keyaction() is
yokota [Fri, 20 Jul 2001 14:49:54 +0000 (14:49 +0000)]
Fix typo; the meaning of the 3rd parameter to genkbd_keyaction() is
'up' rather than 'down'.

PR: 22466
MFC after: 10 days

23 years agoFix off by one error for ESC[1J.
yokota [Fri, 20 Jul 2001 14:08:12 +0000 (14:08 +0000)]
Fix off by one error for ESC[1J.

PR: kern/18381
MFC after: 10 days

23 years agoForgot to mention that previous commit (1.4 --> 1.5) would be:
sobomax [Fri, 20 Jul 2001 13:25:14 +0000 (13:25 +0000)]
Forgot to mention that previous commit (1.4 --> 1.5) would be:

MFC after: 2 weeks

23 years agoUse reallocf(3) to increase size of malloc'ed buffer instead of
sobomax [Fri, 20 Jul 2001 13:20:32 +0000 (13:20 +0000)]
Use reallocf(3) to increase size of malloc'ed buffer instead of
malloc()+memcpy()+free().

23 years agoDefine a couple of subroutines to replace duplicated common code. You
yokota [Fri, 20 Jul 2001 13:10:59 +0000 (13:10 +0000)]
Define a couple of subroutines to replace duplicated common code.  You
shoulnd't see any functional difference.

23 years agoReturn consistent key action codes at key press and release
yokota [Fri, 20 Jul 2001 13:05:57 +0000 (13:05 +0000)]
Return consistent key action codes at key press and release
events. Otherwise you would see unexpected results if shift or
locking keys are defined to give different actions depending
on other shift/locking keys' state.

Please keep the ukbd module and the kernel in sync, otherwise
the USB keyboard won't work after this change.
MFC after: 10 days

23 years agoMore potential buffer overflow fixes.
ru [Fri, 20 Jul 2001 12:02:30 +0000 (12:02 +0000)]
More potential buffer overflow fixes.

o Fixed `nfrontp' calculations in output_data().  If `remaining' is
  initially zero, it was possible for `nfrontp' to be decremented.

Noticed by: dillon

o Replaced leaking writenet() with output_datalen():

:  * writenet
:  *
:  * Just a handy little function to write a bit of raw data to the net.
:  * It will force a transmit of the buffer if necessary
:  *
:  * arguments
:  *    ptr - A pointer to a character string to write
:  *    len - How many bytes to write
:  */
:  void
: writenet(ptr, len)
:  register unsigned char *ptr;
:  register int len;
: {
:  /* flush buffer if no room for new data) */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:  if ((&netobuf[BUFSIZ] - nfrontp) < len) {
:  /* if this fails, don't worry, buffer is a little big */
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:  netflush();
:  }
:
:  memmove(nfrontp, ptr, len);
:  nfrontp += len;
:
: }  /* end of writenet */

What an irony!  :-)

o Optimized output_datalen() a bit.

23 years agoWe haven't used this for ages, and we're not going to either.
msmith [Fri, 20 Jul 2001 09:44:55 +0000 (09:44 +0000)]
We haven't used this for ages, and we're not going to either.

23 years agoSupport for USB floppies based upon SMSC USB FDD controller.
n_hibma [Fri, 20 Jul 2001 09:20:43 +0000 (09:20 +0000)]
Support for USB floppies based upon SMSC USB FDD controller.

PR: 28877
Submitted by: Larry Baird <lab@gta.com>
MFC after: 1 week

23 years agoFix type warnings.
markm [Fri, 20 Jul 2001 08:58:04 +0000 (08:58 +0000)]
Fix type warnings.

PR: 29101

23 years agoWe haven't had AcpiSetSystemSleepState for a while now, clean out the
msmith [Fri, 20 Jul 2001 08:49:17 +0000 (08:49 +0000)]
We haven't had AcpiSetSystemSleepState for a while now, clean out the
prototype.

23 years agoFix a possible NULL reference that would be triggered
davidn [Fri, 20 Jul 2001 06:46:48 +0000 (06:46 +0000)]
Fix a possible NULL reference that would be triggered
by invalid input in /etc/crontab.

MFC after: 2 days

23 years agoPerform a major cleanup of the usr.sbin Makefiles.
obrien [Fri, 20 Jul 2001 06:20:32 +0000 (06:20 +0000)]
Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.

23 years agoAdd ACPI S2-S4BIOS Suspend/Resume code.
takawata [Fri, 20 Jul 2001 06:07:34 +0000 (06:07 +0000)]
Add ACPI S2-S4BIOS Suspend/Resume code.
Some problems may remain.

Reviewed by:iwasaki

23 years agoFix setting serial baud rate under ibcs2 emulation by moving a line to the
jon [Fri, 20 Jul 2001 06:00:02 +0000 (06:00 +0000)]
Fix setting serial baud rate under ibcs2 emulation by moving a line to the
right place.  Reported by Jonathan Chen <jonc@pinnacle.co.nz> (someone with
the same name who's not me)

PR: i386/8414
Submitted by: Jonathan Chen <jonc@pinnacle.co.nz>
MFC after: 2 weeks

23 years agoRemove GCC'isms in CFLAGS.
obrien [Fri, 20 Jul 2001 04:23:13 +0000 (04:23 +0000)]
Remove GCC'isms in CFLAGS.

23 years agoImplement pthread_attr_[gs]etguardsize(). Non-default-size stacks used to
jasone [Fri, 20 Jul 2001 04:23:11 +0000 (04:23 +0000)]
Implement pthread_attr_[gs]etguardsize().  Non-default-size stacks used to
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are.  A separate cache of stacks is kept for
non-default-size stacks.

Collaboration with: deischen

23 years agoAdd lbasename which is used in the `LD' fix for -current.
obrien [Fri, 20 Jul 2001 03:53:28 +0000 (03:53 +0000)]
Add lbasename which is used in the `LD' fix for -current.

23 years agoUpdate the version string so I can identify this new variant.
obrien [Fri, 20 Jul 2001 03:51:17 +0000 (03:51 +0000)]
Update the version string so I can identify this new variant.

23 years agoThis merges in the changes from the 2.11.2 release to the FSF anoncvs
obrien [Fri, 20 Jul 2001 03:48:47 +0000 (03:48 +0000)]
This merges in the changes from the 2.11.2 release to the FSF anoncvs
19-July-2001 snapshot.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80016,
obrien [Fri, 20 Jul 2001 03:29:51 +0000 (03:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80016,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
obrien [Fri, 20 Jul 2001 03:29:51 +0000 (03:29 +0000)]
Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
This fixes an annoying `ld' bug.

23 years agoUpdate for the Bintuils 2.11.2 import.
obrien [Fri, 20 Jul 2001 02:56:57 +0000 (02:56 +0000)]
Update for the Bintuils 2.11.2 import.

23 years ago- `-a' option for IPv6 was not working correctly.
ume [Thu, 19 Jul 2001 22:04:09 +0000 (22:04 +0000)]
- `-a' option for IPv6 was not working correctly.
- Lose any stray host bits that a user may have entered when providing
  a network number and netmask to the `-a' option for IPv6.  This is
  corresponding to 1.79 that is for IPv4 only.

MFC after: 1 week

23 years agoWhen including pci header files, do things differently for 5x and 4x
imp [Thu, 19 Jul 2001 21:43:01 +0000 (21:43 +0000)]
When including pci header files, do things differently for 5x and 4x
to make code sharing between the two easier.

Also, only do power management in -current.  It doesn't exist in stable
yet.

23 years agoo Integrate security enhancements from OpenBSD.
mike [Thu, 19 Jul 2001 21:25:10 +0000 (21:25 +0000)]
o Integrate security enhancements from OpenBSD.
  - Don't assume environment variable HOME is not NULL.
o Integrate standards compliance from NetBSD.
  - Allow -- before the command.
  - Blocking SIGQUIT isn't standards compliant.
  - Proper exit(3) levels.
  - Actually append to nohup.out (as documented and required
    by standard) instead of clobbering it.
o Remove some FreeBSD specific access(2) cruft (relating to
  incorrect appending).
o Document the fact that two or more instances of nohup can
  append to the same file.
o Constify; Staticize functions; Set WARNS?=2

Reviewed by: bde
Approved by: des
Obtained from: NetBSD, OpenBSD
MFC after: 9 days

23 years agoSince revision 1.40/1.41, the default behaviour for mount_nfs is
iedowse [Thu, 19 Jul 2001 21:11:48 +0000 (21:11 +0000)]
Since revision 1.40/1.41, the default behaviour for mount_nfs is
to give up after one attempt unless a background mount is requested.
Background mounts would retry 10000 times (at least 7 days) before
giving up.

For some situations such as diskless terminals, an NFS filesystem
may be critical to the boot process, so neither the "try once" nor
background mounts are appropiate. To cater for this situation,
unbreak the -R (retry count) parameter so that it also works in
the non-background case. Interpret a zero retry count as "retry
forever".

The defaults are now "try once" for non-background mounts and "retry
forever" for background mounts; both can be overridden via -R.
Add a description of this behaviour to the manpage.

23 years agoLimit the device to only one playback channel until I can figure out why
scottl [Thu, 19 Jul 2001 20:53:52 +0000 (20:53 +0000)]
Limit the device to only one playback channel until I can figure out why
a) newpcm insists on using only the highest number channel available, and
b) the maestro3 driver no longer likes anything above channel 0.

23 years agoFix an off-by-one error in the dma tag. This was causing the VM system to
scottl [Thu, 19 Jul 2001 20:51:29 +0000 (20:51 +0000)]
Fix an off-by-one error in the dma tag.  This was causing the VM system to
freak out occasionally.

MFC after: 1 week

23 years agoResolve conflicts
kris [Thu, 19 Jul 2001 20:05:28 +0000 (20:05 +0000)]
Resolve conflicts

23 years agoThis commit was generated by cvs2svn to compensate for changes in r79998,
kris [Thu, 19 Jul 2001 19:59:37 +0000 (19:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r79998,
which included commits to RCS files with non-trunk default branches.

23 years agoInitial import of OpenSSL 0.9.6b
kris [Thu, 19 Jul 2001 19:59:37 +0000 (19:59 +0000)]
Initial import of OpenSSL 0.9.6b

23 years agobpf(4) hasn't used a static number of devices for over 2 years now, and
jhb [Thu, 19 Jul 2001 19:18:35 +0000 (19:18 +0000)]
bpf(4) hasn't used a static number of devices for over 2 years now, and
the SYNOPSIS hasn't had an example number of devices since rev 1.2 which
was over 5 and a half years ago, so remove a sentence claiming that the
example in the SYNOPSIS limited bpf to 16 devices.

MFC after: 3 days

23 years agoremove support for creating files and directories from msdosfs_mknod
assar [Thu, 19 Jul 2001 19:15:42 +0000 (19:15 +0000)]
remove support for creating files and directories from msdosfs_mknod

23 years agoRename vm86pcb_lock -> vm86_lock to correctly reflect its function.
jlemon [Thu, 19 Jul 2001 19:07:10 +0000 (19:07 +0000)]
Rename vm86pcb_lock -> vm86_lock to correctly reflect its function.

Requested by: jhb

23 years agoAdded missing dependancy.
ru [Thu, 19 Jul 2001 19:04:31 +0000 (19:04 +0000)]
Added missing dependancy.

Submitted by: bde
Approved by: obrien

23 years agovsnprintf() can return a value larger than the buffer size.
ru [Thu, 19 Jul 2001 18:58:31 +0000 (18:58 +0000)]
vsnprintf() can return a value larger than the buffer size.

Submitted by: assar
Obtained from: OpenBSD

23 years agoDocument EVFILT_TIMER.
jlemon [Thu, 19 Jul 2001 18:35:19 +0000 (18:35 +0000)]
Document EVFILT_TIMER.

MFC after: 1 week

23 years agoIntroduce EVFILT_TIMER, which allows a process to establish an
jlemon [Thu, 19 Jul 2001 18:34:40 +0000 (18:34 +0000)]
Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

Repeatedly reminded to commit by: jayanth
Reviewed by: peter (a while back)

23 years agoBlah, fsck_ifs uses `8' for all errors, including that it cannot check
obrien [Thu, 19 Jul 2001 18:28:41 +0000 (18:28 +0000)]
Blah, fsck_ifs uses `8' for all errors, including that it cannot check
in the background.  fsck_ffs uses `5' for when SOFTUPDATES are not set,
and thus background cleaning cannot take place.  That seems to [semi-]apply
here.  So I don't know what non-zero value to use.
If anyone has an opinion, let me know.

23 years agofreebsd.org -> FreeBSD.org
bmah [Thu, 19 Jul 2001 18:14:56 +0000 (18:14 +0000)]
freebsd.org -> FreeBSD.org

23 years agoState explicitly how the manpage "DESCRIPTION" options should be listed.
obrien [Thu, 19 Jul 2001 18:03:43 +0000 (18:03 +0000)]
State explicitly how the manpage "DESCRIPTION" options should be listed.

23 years agoFixed the exploitable remote buffer overflow.
ru [Thu, 19 Jul 2001 17:48:57 +0000 (17:48 +0000)]
Fixed the exploitable remote buffer overflow.

Reported on: bugtraq
Obtained from: Heimdal, NetBSD
Reviewed by: obrien, imp

23 years agoPortability configuation for LukeM's ftp client.
obrien [Thu, 19 Jul 2001 17:45:52 +0000 (17:45 +0000)]
Portability configuation for LukeM's ftp client.

23 years agoPortability configuration data for LukeM ftpd.
obrien [Thu, 19 Jul 2001 17:45:14 +0000 (17:45 +0000)]
Portability configuration data for LukeM ftpd.

23 years agoDocument "-F".
obrien [Thu, 19 Jul 2001 17:06:19 +0000 (17:06 +0000)]
Document "-F".

23 years agoChange exit return value to better match fsck_ffs(8).
obrien [Thu, 19 Jul 2001 17:06:08 +0000 (17:06 +0000)]
Change exit return value to better match fsck_ffs(8).

23 years agoRecognize the "-F" option which requests whether the filesystem needs to
obrien [Thu, 19 Jul 2001 16:45:45 +0000 (16:45 +0000)]
Recognize the "-F" option which requests whether the filesystem needs to
be cleaned immediately in foreground, or if its cleaning can be deferred
to background.

Submitted by: Maxime Henrion <mux@qualys.com>

23 years agoMore README file cleanup, mostly for style. Also punt the readers
bmah [Thu, 19 Jul 2001 16:29:28 +0000 (16:29 +0000)]
More README file cleanup, mostly for style.  Also punt the readers
to the Handbook for more documentation sources.  Mention INSTALL.TXT
as one of the other release documentation files.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r79971,
obrien [Thu, 19 Jul 2001 16:26:14 +0000 (16:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r79971,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of LukeM's ftp client, version 1.5.
obrien [Thu, 19 Jul 2001 16:26:14 +0000 (16:26 +0000)]
Import of LukeM's ftp client, version 1.5.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r79968,
obrien [Thu, 19 Jul 2001 16:25:08 +0000 (16:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r79968,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of LukeM's ftpd version 1.1.
obrien [Thu, 19 Jul 2001 16:25:08 +0000 (16:25 +0000)]
Import of LukeM's ftpd version 1.1.

23 years agoUnconditinally turn on VLAN support when building fxp as a module, since
jlemon [Thu, 19 Jul 2001 15:58:40 +0000 (15:58 +0000)]
Unconditinally turn on VLAN support when building fxp as a module, since
it may be plugged into a kernel that supports VLANs.  If the kernel is
not VLAN aware, things will still work as before.

Modules don't really have option support, so this is somewhat of a hack.

23 years agoNote the equivalence of certain time formats.
wollman [Thu, 19 Jul 2001 15:52:02 +0000 (15:52 +0000)]
Note the equivalence of certain time formats.

23 years agoOnly turn on MWI if the PCI configuration word indicates that it
jlemon [Thu, 19 Jul 2001 15:48:00 +0000 (15:48 +0000)]
Only turn on MWI if the PCI configuration word indicates that it
is supported, in addition to checking for a valid cacheline size.
Add a missing splx() in fxp_tick that got dropped.

Found by: peter
MFC in: 3 days

23 years agoExpand the range of the vm86pcb_lock so that it protects manipulations
jlemon [Thu, 19 Jul 2001 15:33:13 +0000 (15:33 +0000)]
Expand the range of the vm86pcb_lock so that it protects manipulations
to the global vm86 page table as well.

Spotted by: Kazu

23 years agoPunt users to the Handbook for a list of CDROM/DVD publishers, rather
bmah [Thu, 19 Jul 2001 15:08:08 +0000 (15:08 +0000)]
Punt users to the Handbook for a list of CDROM/DVD publishers, rather
than try to keep two copies of this information synchronized.

Reviewed by: jkh

23 years ago- Avoid to select an interface which is not good for RA/RS.
ume [Thu, 19 Jul 2001 12:37:22 +0000 (12:37 +0000)]
- Avoid to select an interface which is not good for RA/RS.
Submitted by: sakane@kame.net
- Avoid to select lo0 or faith for a default interface.

23 years agoDon't try to remove directories unless we've emptied them first
brian [Thu, 19 Jul 2001 12:08:24 +0000 (12:08 +0000)]
Don't try to remove directories unless we've emptied them first

Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
PR: 28355
MFC after: 1 week

23 years agoGenerate a bigger salt. This is necessary for blowfish to work
dd [Thu, 19 Jul 2001 12:00:04 +0000 (12:00 +0000)]
Generate a bigger salt.  This is necessary for blowfish to work
properly, and doesn't hurt the other algorithms.

PR: 28991
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>

23 years agoIncrement `i' in case of -S so that its argument isn't treated as
dd [Thu, 19 Jul 2001 11:33:24 +0000 (11:33 +0000)]
Increment `i' in case of -S so that its argument isn't treated as
another, unknown option.

Submitted by: Naoki Kobayashi <shibata@geo.titech.ac.jp> and
    Harti Brandt <brandt@fokus.gmd.de>, respectively.
Pointy hat to: dd

23 years agoDon't claim that strncpy() is the same as strcpy().
dd [Thu, 19 Jul 2001 11:26:52 +0000 (11:26 +0000)]
Don't claim that strncpy() is the same as strcpy().

PR: 29002
Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoInstead of giving an example of rotating logs at the end of the month,
dd [Thu, 19 Jul 2001 11:18:42 +0000 (11:18 +0000)]
Instead of giving an example of rotating logs at the end of the month,
give an example of how to rotate logs at the beginning of the month.
Although they sound the same, since both of them rotate logs at the
beginning of the day, the former ended up taking place on, e.g., July
31 00:00 instead of the expected July 31 23:59.  This is contraty to POLA.

Submitted by: Dan Langille <dan@langille.org>

23 years agoFix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)
dd [Thu, 19 Jul 2001 11:02:11 +0000 (11:02 +0000)]
Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)
(ironically, the assumption is in a code block which is conditional on its
converse).  This isn't strictly the correct fix; it's more of a workaround
to prevent an infinite loop.  The correct fix (see
ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off
the vendor branch, but since the result for this version of nvi is
identical, this route was elected.

PR: 28687
Approved by: -developers

23 years ago4.4 will have sbufs.
des [Thu, 19 Jul 2001 09:07:51 +0000 (09:07 +0000)]
4.4 will have sbufs.

23 years agoMerged from sys/i386/isa/npx.c revision 1.106.
kato [Thu, 19 Jul 2001 09:07:19 +0000 (09:07 +0000)]
Merged from sys/i386/isa/npx.c revision 1.106.

23 years agoMerged from sys/i386/isa/npx.c revision 1.105.
kato [Thu, 19 Jul 2001 09:06:33 +0000 (09:06 +0000)]
Merged from sys/i386/isa/npx.c revision 1.105.

23 years agoMerged from sys/i386/i386/machdep.c revisions 1.462 and 1.464.
kato [Thu, 19 Jul 2001 08:51:08 +0000 (08:51 +0000)]
Merged from sys/i386/i386/machdep.c revisions 1.462 and 1.464.

23 years agoFixed the race caused by not checking the result of fgets(3):
ru [Thu, 19 Jul 2001 08:07:09 +0000 (08:07 +0000)]
Fixed the race caused by not checking the result of fgets(3):

/usr/bin/env MALLOC_OPTIONS=J banner </dev/null

PR: bin/29074

Fixed the problem when banner(6) would eat last character:

echo -n a | banner

MFC after: 1 week

23 years agoNote MFC of last -d.
dd [Thu, 19 Jul 2001 08:02:49 +0000 (08:02 +0000)]
Note MFC of last -d.

23 years agoBackout non-functional changes from revision 1.128.
ru [Thu, 19 Jul 2001 07:10:30 +0000 (07:10 +0000)]
Backout non-functional changes from revision 1.128.

Not objected to by: dcs

23 years agoNote the MFC of vidcontrol -C (and it's the -C option, not the -H
dd [Thu, 19 Jul 2001 06:45:31 +0000 (06:45 +0000)]
Note the MFC of vidcontrol -C (and it's the -C option, not the -H
option; note that, too).

23 years agoCorrect a reversion in r1.39 which introduced a new instance of strcpy()
kris [Thu, 19 Jul 2001 06:01:23 +0000 (06:01 +0000)]
Correct a reversion in r1.39 which introduced a new instance of strcpy()
after r1.38 had attempted to remove them all.

23 years agoswtch.s: During context save, use the correct bit mask for clearing
bsd [Thu, 19 Jul 2001 04:37:27 +0000 (04:37 +0000)]
swtch.s: During context save, use the correct bit mask for clearing
         the non-reserved bits of dr7.

         During context restore, load dr7 in such a way as to not
         disturb reserved bits.

machdep.c: Don't explicitly disallow the setting of the reserved bits
           in dr7 since we now keep from setting them when we load dr7
           from the PCB.

           This allows one to write back the dr7 value obtained from
           the system without triggering an EINVAL (one of the
           reserved bits always seems to be set after taking a trace
           trap).

MFC after: 7 days

23 years agoDon't use kp->arg0 as a format string, grr.
kris [Thu, 19 Jul 2001 02:18:54 +0000 (02:18 +0000)]
Don't use kp->arg0 as a format string, grr.

MFC after: 1 week

23 years agoQuiet a variable format-string warning.
kris [Thu, 19 Jul 2001 02:16:24 +0000 (02:16 +0000)]
Quiet a variable format-string warning.

MFC after:    1 week