]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThis commit was generated by cvs2svn to compensate for changes in r95565,
darrenr [Sat, 27 Apr 2002 17:01:31 +0000 (17:01 +0000)]
This commit was generated by cvs2svn to compensate for changes in r95565,
which included commits to RCS files with non-trunk default branches.

22 years agoImport 3.4.27
darrenr [Sat, 27 Apr 2002 17:01:31 +0000 (17:01 +0000)]
Import 3.4.27

22 years agoMFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
alc [Sat, 27 Apr 2002 17:00:28 +0000 (17:00 +0000)]
MFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
around vm_fault() in trap_pfault().

22 years agoMerge updates from 3.4.26 - 3.4.27.
darrenr [Sat, 27 Apr 2002 16:56:25 +0000 (16:56 +0000)]
Merge updates from 3.4.26 - 3.4.27.

22 years agoThis patch fixes my breakage of ssid matching. I introduced the
imp [Sat, 27 Apr 2002 16:03:25 +0000 (16:03 +0000)]
This patch fixes my breakage of ssid matching.  I introduced the
breakage when I tried to merge OpenBSD wi_hostap changes into the
tree.  Skibo found the problem and submitted these patches.  Thanks!

Submitted by: skibo@pacbell.net

22 years agoBetter names for the PCI cards. The biggest change is that we now
imp [Sat, 27 Apr 2002 16:01:26 +0000 (16:01 +0000)]
Better names for the PCI cards.  The biggest change is that we now
identify the Intersil Prism 2.5 PCI native card as that, rather than
Linksys, the first folks to get it to market.

22 years agoIntroduce CVSCMDARGS make variable to set command-line options for cvs.
matusita [Sat, 27 Apr 2002 14:23:32 +0000 (14:23 +0000)]
Introduce CVSCMDARGS make variable to set command-line options for cvs.
You may want set '-D data-spec' to this variable.

PR: 31218
Submitted by: Alexandr Listopad <laa@laa.zp.ua>
MFC after: 5 days
(if re@ permits)

22 years agoMFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
alc [Sat, 27 Apr 2002 09:34:15 +0000 (09:34 +0000)]
MFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giant
around vm_fault().

22 years agoFix the code fragment clobbered in my last commit.
tanimura [Sat, 27 Apr 2002 09:33:49 +0000 (09:33 +0000)]
Fix the code fragment clobbered in my last commit.

22 years agoAdd a global sx sigio_lock to protect the pointer to the sigio object
tanimura [Sat, 27 Apr 2002 08:24:29 +0000 (08:24 +0000)]
Add a global sx sigio_lock to protect the pointer to the sigio object
of a socket.  This avoids lock order reversal caused by locking a
process in pgsigio().

sowakeup() and the callers of it (sowwakeup, soisconnected, etc.) now
require sigio_lock to be locked.  Provide sowwakeup_locked(),
soisconnected_locked(), and so on in case where we have to modify a
socket and wake up a process atomically.

22 years agoExplain magic number.
phk [Sat, 27 Apr 2002 07:28:54 +0000 (07:28 +0000)]
Explain magic number.

Add magic date no explanation.

Add a delta which was lost in transit yesterday which prevented
other timecounters from actually being used.

22 years agoFix a {} bug which doesn't have any effect yet.
phk [Sat, 27 Apr 2002 07:07:37 +0000 (07:07 +0000)]
Fix a {} bug which doesn't have any effect yet.

Spotted by: jake

22 years agoMake the dummy timecounter actually tick or we will never get anyhere.
phk [Sat, 27 Apr 2002 07:06:52 +0000 (07:06 +0000)]
Make the dummy timecounter actually tick or we will never get anyhere.

22 years agoRemove reference to the TCP_RESTRICT_RST option, which was removed
dougb [Sat, 27 Apr 2002 06:24:58 +0000 (06:24 +0000)]
Remove reference to the TCP_RESTRICT_RST option, which was removed
over a year ago.

Small ws twiddle while I'm here.

22 years agoKill one exact duplicate of a Hunter S. Thompson quote. Put on peril-sensitive
jmallett [Sat, 27 Apr 2002 06:14:32 +0000 (06:14 +0000)]
Kill one exact duplicate of a Hunter S. Thompson quote.  Put on peril-sensitive
sunglasses for great evil, too.

22 years agoDeath to duplicate fortunes.
jmallett [Sat, 27 Apr 2002 05:46:13 +0000 (05:46 +0000)]
Death to duplicate fortunes.

22 years agoFix handling of weak references to undefined symbols on ia64:
marcel [Sat, 27 Apr 2002 05:32:51 +0000 (05:32 +0000)]
Fix handling of weak references to undefined symbols on ia64:
o  Set st_shndx for sym_zero to SHN_UNDEF instead of SHN_ABS.
   This gives us something to reliably test against.
o  For weak references to undefined sysmbols (as indicated by
   having st_shndx equals SHN_UNDEF) in the context of OPDs,
   the address of the OPD is to be zero, not the address of
   the function it contains.
o  For weak references to undefined symbols in all other cases
   (only DIR64LSB at this time), the actual relocated value is
   to be zero, not the value prior to relocating.

Roughly speaking, weak references to undefined symbols are no-ops.

Tested on: i386, ia64

22 years agoWhitespace bogon.
jhb [Sat, 27 Apr 2002 04:48:36 +0000 (04:48 +0000)]
Whitespace bogon.

22 years agoRedirect stdin from the input file, rather than passing the input file to
jmallett [Sat, 27 Apr 2002 03:11:33 +0000 (03:11 +0000)]
Redirect stdin from the input file, rather than passing the input file to
uuencode(1), and set a umask, so that the mode in the header is predictable.

If it varies, then the test is right to fail.

Remove the note about this test falsely failing, with that in mind.

22 years agoInsert a semi-colon between label 'skip:' and the closing brace
marcel [Sat, 27 Apr 2002 02:58:18 +0000 (02:58 +0000)]
Insert a semi-colon between label 'skip:' and the closing brace
of the FOREACH loop to silence GCC 3.

22 years agoNow that local symbols aren't looked up with the symbol hash table,
marcel [Sat, 27 Apr 2002 02:53:31 +0000 (02:53 +0000)]
Now that local symbols aren't looked up with the symbol hash table,
binding works for local symbols. Remove the workaround...

22 years agoDon't do symbol lookups for local symbols. The symbol index in the
marcel [Sat, 27 Apr 2002 02:48:29 +0000 (02:48 +0000)]
Don't do symbol lookups for local symbols. The symbol index in the
relocation identifies the symbol to which we need to bind. This
solves a problem seen on ia64 where the symbol hash table does not
contain local symbols and thus resulted in unresolved symbols.

Tested on: alpha, i386, ia64

22 years agoPrefix tests with PASS and FAIL, to make grepping easier, and note this in
jmallett [Sat, 27 Apr 2002 02:26:23 +0000 (02:26 +0000)]
Prefix tests with PASS and FAIL, to make grepping easier, and note this in
the README.

This affects only the base-system regression tests, of course.

22 years agoAdd a CAM interface to the aac driver. This is useful in case you should
scottl [Sat, 27 Apr 2002 01:31:17 +0000 (01:31 +0000)]
Add a CAM interface to the aac driver.  This is useful in case you should
ever connect a SCSI Cdrom/Tape/Jukebox/Scanner/Printer/kitty-litter-scooper
to your high-end RAID controller.  The interface to the arrays is still
via the block interface; this merely provides a way to circumvent the
RAID functionality and access the SCSI buses directly.  Note that for
somewhat obvious reasons, hard drives are not exposed to the da driver
through this interface, though you can still talk to them via the pass
driver.  Be the first on your block to low-level format unsuspecting
drives that are part of an array!

To enable this, add the 'aacp' device to your kernel config.

MFC after: 3 days

22 years agoMake this driver compile for -stable also to prep for MFC
imp [Fri, 26 Apr 2002 23:11:23 +0000 (23:11 +0000)]
Make this driver compile for -stable also to prep for MFC

22 years agoMove the new byte order function prototypes from <sys/param.h> to
mike [Fri, 26 Apr 2002 22:48:23 +0000 (22:48 +0000)]
Move the new byte order function prototypes from <sys/param.h> to
<sys/endian.h>.  This puts us in line with NetBSD and OpenBSD.

22 years ago o Control access to the vm_page_buckets with a mutex.
alc [Fri, 26 Apr 2002 22:44:15 +0000 (22:44 +0000)]
 o Control access to the vm_page_buckets with a mutex.
 o Fix some style(9) bugs.

22 years agoRename the file used to specify the nextboot to make it clear that this
wes [Fri, 26 Apr 2002 22:32:15 +0000 (22:32 +0000)]
Rename the file used to specify the nextboot to make it clear that this
is a loader configuration file and can be used for more than just a
kernel name.

Submitted by: Gordon Tetlow <gordont@gnf.org>

22 years agoNow that the private parts of timecounters are no longer being fingered
phk [Fri, 26 Apr 2002 21:51:08 +0000 (21:51 +0000)]
Now that the private parts of timecounters are no longer being fingered
by other bits of code, split struct timecounter into two.

struct timecounter contains just the bits which pertains to the hardware
counter and the reading of it.

struct timehands (as in "the hands on a clock") contains all the ugly bit
fidling stuff.  Statically compile ten timehands.

This commit is the functional part.  A later cosmetic patch will rename
various variables and fieldnames.

22 years agoHide the private parts of timecounter from a couple of places that don't
phk [Fri, 26 Apr 2002 21:31:44 +0000 (21:31 +0000)]
Hide the private parts of timecounter from a couple of places that don't
really need to know the gory details.

22 years agoRedo the pps bit to avoid digging into the private bits of the timecounter.
phk [Fri, 26 Apr 2002 21:22:02 +0000 (21:22 +0000)]
Redo the pps bit to avoid digging into the private bits of the timecounter.

22 years agoCatch up ata(4) controllers, fix a typo (s/Cyrex/Cyrix).
bmah [Fri, 26 Apr 2002 21:12:51 +0000 (21:12 +0000)]
Catch up ata(4) controllers, fix a typo (s/Cyrex/Cyrix).

22 years agoA long, long time ago, msmith introduced vfs.root.mountfrom
dcs [Fri, 26 Apr 2002 20:52:59 +0000 (20:52 +0000)]
A long, long time ago, msmith introduced vfs.root.mountfrom
loader variable, which let users specify the root mount point
the exact way one does after booting the kernel.

Let's take this opportunity to document it...

22 years agoSimplify the RFC2783 and PPS_SYNC timestamp collection API.
phk [Fri, 26 Apr 2002 20:24:28 +0000 (20:24 +0000)]
Simplify the RFC2783 and PPS_SYNC timestamp collection API.

22 years agoNew release notes: at(1) -r/-t, ls(1) -h, pwd(1) -L, split(1) -a,
bmah [Fri, 26 Apr 2002 20:13:13 +0000 (20:13 +0000)]
New release notes:  at(1) -r/-t, ls(1) -h, pwd(1) -L, split(1) -a,
sysctl(8) -d, unexpand(1) -t.

MFC noted:  tftp(1)/tftpd(8) IPv6 support.

22 years agoIf we are making a "release", we can obviously use -DNOCLEAN buildworld,
ru [Fri, 26 Apr 2002 19:40:45 +0000 (19:40 +0000)]
If we are making a "release", we can obviously use -DNOCLEAN buildworld,
to save some time, because ${CHROOTDIR}/usr/obj does not even exist.

22 years agoInitialize MCA in cpu_startup() so that it's ready before we wake-up
marcel [Fri, 26 Apr 2002 19:36:25 +0000 (19:36 +0000)]
Initialize MCA in cpu_startup() so that it's ready before we wake-up
the application processors. This allows us to collect unconsumed AP
specific error records as part of the wake-up.

22 years agoMCA specific code has been moved to a seperate file. It is expected
marcel [Fri, 26 Apr 2002 19:33:20 +0000 (19:33 +0000)]
MCA specific code has been moved to a seperate file. It is expected
to grow enough to be in the way here.

22 years agoMachine Check Architecture (MCA) support code. Error records are
marcel [Fri, 26 Apr 2002 19:30:11 +0000 (19:30 +0000)]
Machine Check Architecture (MCA) support code. Error records are
collected at boot and made available through sysctl(8). At the
moment, the following MIB names are created:

hw.mca.count - The number of error records collected.
hw.mca.first - The lowest sequence number present.
hw.mca.last - The highest sequence number present.
hw.mca.<X> - The error record with sequence number <X>.

Using sysctl(8) allows us to easily detect and analyze the records,
which is very helpful during development of MCA but can also be used
in production as a way to collect machine health statistics.

22 years agoDon't ask root for the old password, except in the NIS case.
des [Fri, 26 Apr 2002 19:28:17 +0000 (19:28 +0000)]
Don't ask root for the old password, except in the NIS case.

Sponsored by: DARPA, NAI Labs

22 years agoMachine Check Architecture (MCA) structures and constants.
marcel [Fri, 26 Apr 2002 19:16:59 +0000 (19:16 +0000)]
Machine Check Architecture (MCA) structures and constants.

22 years agoModify our 'patch' utility to recognize the
gad [Fri, 26 Apr 2002 19:01:19 +0000 (19:01 +0000)]
Modify our 'patch' utility to recognize the
   \ No newline at end of file
line that some versions of diff print out if the last line of the two files
are different, and one of the two files does not have a newline character
on that last line.

This change is still somewhat under discussion in -arch and -standards, but I
want to commit it to -current today so I'd have the chance to MFC it to -stable
before the code freeze for 4.6-release (which would be May 1st).

Note: the related change to 'diff' (so it might *generate* that line) is NOT
expected to be included in 4.6-release.  We can debate that change later.

Obtained from: NetBSD (1.13 of basesrc/usr.bin/patch/pch.c, by kristerw)
MFC after: 4 days

22 years agoMilestone #1 in cross-arch make releases.
ru [Fri, 26 Apr 2002 17:55:27 +0000 (17:55 +0000)]
Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>

22 years agoThis commit was generated by cvs2svn to compensate for changes in r95504,
mikeh [Fri, 26 Apr 2002 16:51:03 +0000 (16:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r95504,
which included commits to RCS files with non-trunk default branches.

22 years agoImport the FreeBSD differences Luke patched in lukemftp:
mikeh [Fri, 26 Apr 2002 16:51:03 +0000 (16:51 +0000)]
Import the FreeBSD differences Luke patched in lukemftp:
       *) Large file ASCII support
       *) -4/-6 options to force IPv4/IPv6 respectively

Also, fix for buffer overflow on PASV from malicious server.

22 years agoNew release notes: kenv(2), kenv(1) can set/delete kernel environment
bmah [Fri, 26 Apr 2002 15:36:37 +0000 (15:36 +0000)]
New release notes:  kenv(2), kenv(1) can set/delete kernel environment
variables, mv(1) -n.

MFCs noted:  last(1) -y.

22 years agoAdd ac97_reset function that polls ready bits in power register. One
orion [Fri, 26 Apr 2002 15:27:56 +0000 (15:27 +0000)]
Add ac97_reset function that polls ready bits in power register.  One
component in tweaks required for the ICH3 controller in the thinkpad
x22 reported by Colin Perkins on -multimedia.

22 years agoAdd script to install the compat4x distribution, just like other
matusita [Fri, 26 Apr 2002 13:33:46 +0000 (13:33 +0000)]
Add script to install the compat4x distribution, just like other
compat*-install.sh scripts.

PR: 37485
MFC after: 5 days

22 years agoMove the winding of timecounters out of hardclock and into a normal
phk [Fri, 26 Apr 2002 12:37:36 +0000 (12:37 +0000)]
Move the winding of timecounters out of hardclock and into a normal
timeout loop.

Limit the rate at which we wind the timecounters to approx 1000 Hz.

This limits the precision of the get{bin,nano,micro}[up]time(9)
functions to roughly a millisecond.

22 years agoCorrect indent.
ume [Fri, 26 Apr 2002 12:27:55 +0000 (12:27 +0000)]
Correct indent.

22 years agoBackout copyright notice I broke by my previous commit.
ume [Fri, 26 Apr 2002 12:16:34 +0000 (12:16 +0000)]
Backout copyright notice I broke by my previous commit.

22 years agoAdd termcap entries to be able to switch to line drawing character
hm [Fri, 26 Apr 2002 11:17:46 +0000 (11:17 +0000)]
Add termcap entries to be able to switch to line drawing character
set for the pcvt driver.

22 years agoThere is no host called new.bbc.co.uk - fix url.
ceri [Fri, 26 Apr 2002 10:58:06 +0000 (10:58 +0000)]
There is no host called new.bbc.co.uk - fix url.

Reviewed by: jkh
Approved by: jkh, murray
MFC after: 3 days

22 years agoVarious cleanup and sorting of clock reading functions. Add the two
phk [Fri, 26 Apr 2002 10:19:29 +0000 (10:19 +0000)]
Various cleanup and sorting of clock reading functions.  Add the two
functions missing in the complete 12 function complement.

22 years agoRename tco_setscales() and tco_delta() to use the same tc_ prefix as
phk [Fri, 26 Apr 2002 10:11:02 +0000 (10:11 +0000)]
Rename tco_setscales() and tco_delta() to use the same tc_ prefix as
the rest of this file.

22 years agoRemove the tc_update() function. Any frequency change to the
phk [Fri, 26 Apr 2002 10:06:26 +0000 (10:06 +0000)]
Remove the tc_update() function.  Any frequency change to the
timecounter will be used starting at the next second, which is
good enough for sysctl purposes.  If better adjustment is needed
the NTP PLL should be used.

22 years agoTest if rootvnode is NULL rather than if rootdev is NODEV when determining
brian [Fri, 26 Apr 2002 09:52:54 +0000 (09:52 +0000)]
Test if rootvnode is NULL rather than if rootdev is NODEV when determining
if there's a filesystem present.

rootdev can be NODEV in the NFS-mounted root scenario.

Discussed with: Harti Brandt <brandt@fokus.gmd.de>, iedowse

22 years agoRemoved some cruft.
ru [Fri, 26 Apr 2002 07:40:08 +0000 (07:40 +0000)]
Removed some cruft.

22 years agoAdd a -k option to reboot to specify the kernel to boot next time
wes [Fri, 26 Apr 2002 07:31:04 +0000 (07:31 +0000)]
Add a -k option to reboot to specify the kernel to boot next time
around.  If the kernel boots successfully, the record of this kernel
is erased, it is intended to be a one-shot option for testing
kernels.

This could be improved by having the loader remove the record of
the next kernel to boot, it is currently removed in /etc/rc immediately
after disks are mounted r/w.

I'd like to MFC this before the 4.6 freeze unless there is violent
objection.

Reviewed by: Several on IRC
MFC after: 4 days

22 years agovinum_open: recognize twed device.
grog [Fri, 26 Apr 2002 04:23:19 +0000 (04:23 +0000)]
vinum_open: recognize twed device.

Submitted by: Holger Kipp <holger.kipp@alogis.com>
PR: 37458
MFC after:  5 days
(to get 4.6 code freeze)

22 years agovinum_start: examine storage array devices, not just disks.
grog [Fri, 26 Apr 2002 04:21:59 +0000 (04:21 +0000)]
vinum_start: examine storage array devices, not just disks.

Submitted by: Holger Kipp <holger.kipp@alogis.com>
PR: 37458
MFC after:  5 days
(to get 4.6 code freeze)

22 years agoAdd UDF to the list of filesystems where locking assertions should be
rwatson [Fri, 26 Apr 2002 04:06:08 +0000 (04:06 +0000)]
Add UDF to the list of filesystems where locking assertions should be
evaluated.

Approved by: scottl

22 years agoUIO_NOCOPY is not supported for now, so refuse read opeartion if this flag
bp [Fri, 26 Apr 2002 03:49:02 +0000 (03:49 +0000)]
UIO_NOCOPY is not supported for now, so refuse read opeartion if this flag
is set. The full emulation of bio are on its way...

22 years ago1.43 (dfr 04-Apr-97): /*
rwatson [Fri, 26 Apr 2002 03:39:04 +0000 (03:39 +0000)]
1.43         (dfr      04-Apr-97): /*
1.43         (dfr      04-Apr-97):  * [dfr] Kludge until I get around to fixing all the vfs locking.
1.43         (dfr      04-Apr-97):  */

The new devfs doesn't support VFS locking.  So don't do locking
assertions for devfs vnodes.

With this change, a kernel with options DEBUG_VFS_LOCKS actually
gets to single-user mode.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoMake sure that sockets undergoing accept filtering are aborted in a
silby [Fri, 26 Apr 2002 02:07:46 +0000 (02:07 +0000)]
Make sure that sockets undergoing accept filtering are aborted in a
LRU fashion when the listen queue fills up.  Previously, there was
no mechanism to kick out old sockets, leading to an easy DoS of
daemons using accept filtering.

Reviewed by: alfred
MFC after: 3 days

22 years agoFix a really dumb bug (missing curly braces around the body of an if
des [Fri, 26 Apr 2002 01:47:48 +0000 (01:47 +0000)]
Fix a really dumb bug (missing curly braces around the body of an if
statement) that caused pam_sm_chauthtok() to always fail silently.

22 years agoSome minor nits exposed by the Open Group's VSC Lite verification suite:
tjr [Thu, 25 Apr 2002 23:04:52 +0000 (23:04 +0000)]
Some minor nits exposed by the Open Group's VSC Lite verification suite:
- When an error occurs processing one file, we must continue to process
  the remaining files.
- Convert trailing whitespace to tabs as appropriate.
- Align backspace handling with what the verification suite expects.

Reviewed by: mike

22 years agoAdd the mutex profiling lock to the witness list. This hopefully unbreaks
des [Thu, 25 Apr 2002 22:48:40 +0000 (22:48 +0000)]
Add the mutex profiling lock to the witness list.  This hopefully unbreaks
the MUTEX_PROFILING + WITNESS + !WITNESS_SKIPSPIN case.

Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>

22 years agoFixed some longstanding bugs in _getenv_static():
bde [Thu, 25 Apr 2002 20:25:15 +0000 (20:25 +0000)]
Fixed some longstanding bugs in _getenv_static():
- malformed environment strings (ones without an '=') were not rejected.
  There shouldn't be any of these, but when the static environment is
  empty it always begins with one of these; this one should be considered
  as the terminator after the end of the environment, but it isn't.
- the comparison of the name being looked up with the name in the
  environment was fuzzy -- only the characters up to the length of the
  latter were compared, so _getenv_static("foobar") matched "foo=..."
  in the environment and everything matched "" in the empty environment.

MFC after: 3 days

22 years agoSort.
wollman [Thu, 25 Apr 2002 19:31:43 +0000 (19:31 +0000)]
Sort.

22 years agoSpell Fred Brooks's name right.
wollman [Thu, 25 Apr 2002 19:27:40 +0000 (19:27 +0000)]
Spell Fred Brooks's name right.

22 years agoResort and suppress dupes.
wollman [Thu, 25 Apr 2002 19:12:30 +0000 (19:12 +0000)]
Resort and suppress dupes.

22 years agoAdd a few more aphorisms.
wollman [Thu, 25 Apr 2002 18:53:41 +0000 (18:53 +0000)]
Add a few more aphorisms.

22 years agoNew release notes: xe can be built as a module, ng_eiface, many new
bmah [Thu, 25 Apr 2002 18:35:07 +0000 (18:35 +0000)]
New release notes:  xe can be built as a module, ng_eiface, many new
PAM modules noted.

While here, fix a markup bogon in a recent patch(1) note.

22 years agoImplement true multicast filtering.
semenu [Thu, 25 Apr 2002 18:16:15 +0000 (18:16 +0000)]
Implement true multicast filtering.

Inspired by: dc(4)

MFC after: 1 week

22 years ago#include <string.h> instead of <strings.h>
des [Thu, 25 Apr 2002 18:14:39 +0000 (18:14 +0000)]
#include <string.h> instead of <strings.h>

22 years agoThe official name for McKinley is: Itanium 2
marcel [Thu, 25 Apr 2002 17:51:43 +0000 (17:51 +0000)]
The official name for McKinley is: Itanium 2

22 years agoBack out previous commit.
des [Thu, 25 Apr 2002 16:53:25 +0000 (16:53 +0000)]
Back out previous commit.

22 years agoGrmf. I really didn't want to do this, but it seems to be the only way
des [Thu, 25 Apr 2002 16:43:58 +0000 (16:43 +0000)]
Grmf.  I really didn't want to do this, but it seems to be the only way
to keep people honest.

22 years agoNote change for FreeBSD-SA-02:23.stdio.
nectar [Thu, 25 Apr 2002 14:42:26 +0000 (14:42 +0000)]
Note change for FreeBSD-SA-02:23.stdio.

22 years agoMFi386: revision 1.339.
nyan [Thu, 25 Apr 2002 13:32:56 +0000 (13:32 +0000)]
MFi386: revision 1.339.

22 years agoMFi386: revision 1.56
nyan [Thu, 25 Apr 2002 13:31:27 +0000 (13:31 +0000)]
MFi386: revision 1.56

22 years agoMFi386: revision 1.8
nyan [Thu, 25 Apr 2002 13:28:10 +0000 (13:28 +0000)]
MFi386: revision 1.8

22 years agoMerged from sys/dev/syscons/syscons.c revision 1.383
nyan [Thu, 25 Apr 2002 13:25:36 +0000 (13:25 +0000)]
Merged from sys/dev/syscons/syscons.c revision 1.383

22 years agoBreak the following implementation of panic(3):
bde [Thu, 25 Apr 2002 13:17:33 +0000 (13:17 +0000)]
Break the following implementation of panic(3):

#!bin/sh

# Original version of this by Michael Reifenberger
# <root@nihil.plaut.de>.

mdconfig -d -u 11 >/dev/null 2>&1
dd if=/dev/zero of=zz bs=1m count=1

while :
do
mdconfig -a -t vnode -f zz -u 11
fdisk -f - -iv /dev/md11 <<EOF1
g c1 h64 s32
p 1 165 0 2048
a 1
EOF1
mdconfig -d -u 11
done

Garbage pointers in __si_u were not cleared by destroy_dev().  Not
clearing si_disk made the above fatal because the disk layer uses
si_disk as a flag to indicate that the dev_t has been completely
initialized.  disk_destroy() clears si_disk for the parent dev_t
but doesn't get called for children.

Not fixed:
- setting the undocumented sysctl debug.free_devt should cause more
  complete destruction of the dev_t including clearing of __si_u, but
  actually causes the above to panic a little earlier.
- the loop leaks 10 memory allocations per iteration (4 DEVFS, 2 devbuf
  and 4 dev_t).

Reviewed by: timeout by MAINTAINER after 3 months

22 years agoAdd a power exceeded debug message.
joe [Thu, 25 Apr 2002 12:58:30 +0000 (12:58 +0000)]
Add a power exceeded debug message.
Update the $NetBSD$ ident to match reality.

22 years agoMFNetBSD:
joe [Thu, 25 Apr 2002 12:51:08 +0000 (12:51 +0000)]
MFNetBSD:
    revision 1.96
    date: 2001/11/22 21:59:33;  author: augustss;  state: Exp;  lines: +3 -3
    Correct a comment.

22 years agoMFNetBSD:
joe [Thu, 25 Apr 2002 12:49:38 +0000 (12:49 +0000)]
MFNetBSD:
    revision 1.95
    date: 2001/11/20 16:09:01;  author: augustss;  state: Exp;  lines: +39 -6
    Sanity check max packet lengths.

22 years agoMFNetBSD:
joe [Thu, 25 Apr 2002 12:37:55 +0000 (12:37 +0000)]
MFNetBSD:
    revision 1.94
    date: 2001/11/20 13:50:07;  author: augustss;  state: Exp;  lines: +16 -9
    Update for new speed handling.

22 years agoReplaced hacks in previous revision with the "standard" way of
ru [Thu, 25 Apr 2002 10:23:10 +0000 (10:23 +0000)]
Replaced hacks in previous revision with the "standard" way of
building internal libraries.  This also unbreaks this makefile
after recent share/mk changes.

22 years agoInclude <netinet/in.h> to squash one more compile-time warning.
gad [Thu, 25 Apr 2002 07:41:49 +0000 (07:41 +0000)]
Include <netinet/in.h> to squash one more compile-time warning.

MFC after: 3 days

22 years ago- Fix a round down bogon in uma_zone_set_max().
arr [Thu, 25 Apr 2002 06:24:40 +0000 (06:24 +0000)]
- Fix a round down bogon in uma_zone_set_max().

Submitted by: jeff@

22 years agoChange default challenge/response behavior of sshd by popular demand.
jkh [Thu, 25 Apr 2002 05:59:53 +0000 (05:59 +0000)]
Change default challenge/response behavior of sshd by popular demand.
This brings us into sync with the behavior of sshd on other Unix platforms.

Submitted by: Joshua Goodall <joshua@roughtrade.net>

22 years agoWhen using %p to print out pointers to struct's, first cast the values
gad [Thu, 25 Apr 2002 05:46:44 +0000 (05:46 +0000)]
When using %p to print out pointers to struct's, first cast the values
to (void *) to satisfy some stricter warning-level checks in the new
gcc (on sparc64).

Reviewed by: obrien
MFC after: 4 days

22 years agoNew release notes: se driver, ofw driver, ispppcontrol(8) removed,
bmah [Thu, 25 Apr 2002 04:03:01 +0000 (04:03 +0000)]
New release notes:  se driver, ofw driver, ispppcontrol(8) removed,
fold(1) -b/-s, killall(1) -z, lpd(8) -s, patch(1) -i, pr(1) -f/-b,
renice(1) -n, tftp(1)/tftpd(8) IPv6 support.

Updated release notes:  FICL 3.02, IPFilter 3.4.26.

22 years agoresolve conflicts from import
darrenr [Thu, 25 Apr 2002 03:36:26 +0000 (03:36 +0000)]
resolve conflicts from import

22 years agoImport IPFilter 3.4.26
darrenr [Thu, 25 Apr 2002 03:34:27 +0000 (03:34 +0000)]
Import IPFilter 3.4.26

22 years agoThis commit was generated by cvs2svn to compensate for changes in r95421,
darrenr [Thu, 25 Apr 2002 03:34:27 +0000 (03:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r95421,
which included commits to RCS files with non-trunk default branches.

22 years agoImport IPFilter 3.4.26
darrenr [Thu, 25 Apr 2002 03:34:26 +0000 (03:34 +0000)]
Import IPFilter 3.4.26

22 years agoThis commit was generated by cvs2svn to compensate for changes in r95419,
darrenr [Thu, 25 Apr 2002 03:34:26 +0000 (03:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r95419,
which included commits to RCS files with non-trunk default branches.