]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoGet cosmetic changes out of the way before I add routing table SMP locks.
Jeffrey Hsu [Mon, 10 Feb 2003 22:01:34 +0000 (22:01 +0000)]
Get cosmetic changes out of the way before I add routing table SMP locks.

21 years agoInstall the OpenSSL man pages in /usr/share/openssl/man
Jacques Vidrine [Mon, 10 Feb 2003 19:57:56 +0000 (19:57 +0000)]
Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.

21 years agoThe regression-tests for 'make' *expect* to trigger make's warning:
Garance A Drosehn [Mon, 10 Feb 2003 19:56:42 +0000 (19:56 +0000)]
The regression-tests for 'make' *expect* to trigger make's warning:
       warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld').  This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.

Reviewed by: jmallett  ru

21 years agoUse pam_get_user(3) instead of pam_get_item(3) where appropriate.
Dag-Erling Smørgrav [Mon, 10 Feb 2003 18:59:20 +0000 (18:59 +0000)]
Use pam_get_user(3) instead of pam_get_item(3) where appropriate.

21 years agoImmortalize a Robert Watson quote.
Mike Barcroft [Mon, 10 Feb 2003 17:34:32 +0000 (17:34 +0000)]
Immortalize a Robert Watson quote.

21 years ago - Determine the size of buffers with sizeof() instead of using
Robert Drehmel [Mon, 10 Feb 2003 16:58:47 +0000 (16:58 +0000)]
 - Determine the size of buffers with sizeof() instead of using
   plain magic numbers - one of them was apparently wrong but unharmful.
 - Remove empty line.

21 years agoNew release notes: GCC 3.2.2, sendmail 8.12.7.
Bruce A. Mah [Mon, 10 Feb 2003 16:46:44 +0000 (16:46 +0000)]
New release notes:  GCC 3.2.2, sendmail 8.12.7.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110647,
Gregory Neil Shapiro [Mon, 10 Feb 2003 16:41:06 +0000 (16:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110647,
which included commits to RCS files with non-trunk default branches.

21 years agoImport proto.m4 fix from vendor repository. This fixes a cf building
Gregory Neil Shapiro [Mon, 10 Feb 2003 16:41:06 +0000 (16:41 +0000)]
Import proto.m4 fix from vendor repository.  This fixes a cf building
bug if LOCAL_RELAY and/or MAIL_HUB are used in an mc file.

21 years ago - Enable STRICT_RESCHED until code that dynamically decides on resched
Jeff Roberson [Mon, 10 Feb 2003 14:11:23 +0000 (14:11 +0000)]
 - Enable STRICT_RESCHED until code that dynamically decides on resched
   strictness based on the current workload is finished.

21 years ago - Add a new variable 'kg_runtime' that tracks the amount of time we've run.
Jeff Roberson [Mon, 10 Feb 2003 14:03:45 +0000 (14:03 +0000)]
 - Add a new variable 'kg_runtime' that tracks the amount of time we've run.
 - Use the ratio of kg_runtime / kg_slptime to determine our dynamic priority.
 - Scale kg_runtime and kg_slptime back when the sum of the two exceeds
   SCHED_SLP_RUN_MAX.  This allows us to slowly forget old behavior.
 - Scale back the runtime and slptime in fork so that the new process has the
   same ratio but much less accumulated time.  This causes new behavior to be
   noticed more quickly.

21 years agoUse correct spl mask.
Yoshihiro Takahashi [Mon, 10 Feb 2003 13:31:49 +0000 (13:31 +0000)]
Use correct spl mask.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after: 1 day

21 years agoAllow inner whitespace in the right-hand side of an environment variable
Thomas Quinot [Mon, 10 Feb 2003 11:20:58 +0000 (11:20 +0000)]
Allow inner whitespace in the right-hand side of an environment variable
assignment even if it is not quoted (as advertised by the man page).
This fixes a regression wrt RELENG_4 introduced in rev. 1.11.

Problem noted and patch tested by: CHOI Junho <cjh@kr.FreeBSD.org>
Reviewed by: roberto

21 years agoAdd pthread_attr_getstack() and pthread_attr_setstack().
Alfred Perlstein [Mon, 10 Feb 2003 08:48:04 +0000 (08:48 +0000)]
Add pthread_attr_getstack() and pthread_attr_setstack().

Submitted by: Craig Rodrigues <rodrigc@attbi.com>

21 years agoHandle %%m properly in syslog format string. Previously it would expand
Alfred Perlstein [Mon, 10 Feb 2003 08:31:28 +0000 (08:31 +0000)]
Handle %%m properly in syslog format string.  Previously it would expand
the %m into the errno and then vfprintf would expand the % and the first
character of the strerror(3) return causing possible data corruption.

21 years agoTry to fix two problems with the -I example. One is the fact that we
Doug Barton [Mon, 10 Feb 2003 06:35:34 +0000 (06:35 +0000)]
Try to fix two problems with the -I example. One is the fact that we
want to match a character $, not EOL. The other is that CVS helpfully
expanded my example into an actual CVS tag.

Submitted by: gad

21 years agoInstall one more header file which is new with GCC 3.2.2.
Alexander Kabaev [Mon, 10 Feb 2003 06:09:55 +0000 (06:09 +0000)]
Install one more header file which is new with GCC 3.2.2.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 06:07:12 +0000 (06:07 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.8  printf format error fixes.

21 years agoLock the proc around accessing p_siglist in ttycheckoutq() in the
Tim J. Robbins [Mon, 10 Feb 2003 06:06:46 +0000 (06:06 +0000)]
Lock the proc around accessing p_siglist in ttycheckoutq() in the
unused wait != 0 case.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 06:05:16 +0000 (06:05 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.10  -mno-align-long-strings.
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 06:04:35 +0000 (06:04 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.11  -mno-align-long-strings.
Note the change 1.15 is not needed anymore.

21 years agoUpdate for Gcc 3.2.2 release.
Alexander Kabaev [Mon, 10 Feb 2003 06:03:47 +0000 (06:03 +0000)]
Update for Gcc 3.2.2 release.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 06:03:16 +0000 (06:03 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.{2,15}     FREEBSD_NATIVE.
  1.21         "GCC_OPTIONS".
  1.{16,25,27} Cross-compiling issues.

21 years ago - In getnewbuf() unlock the bq lock prior to sleeping when we're out of
Jeff Roberson [Mon, 10 Feb 2003 06:02:51 +0000 (06:02 +0000)]
 - In getnewbuf() unlock the bq lock prior to sleeping when we're out of
   buffers.

Submitted by: tegge

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 06:00:24 +0000 (06:00 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.2 -fformat-extensions.
  1.3 -printf0
  1.6 Teach GCC about %y for DDB and implement
      support for the C99 %z format modifier.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 05:59:19 +0000 (05:59 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.2 kernel printf enhancements framework.
  1.3 suppress prototype warnings on K&R main.

21 years agoMerge FreeBSD modifications into gcc 3.2.2 release:
Alexander Kabaev [Mon, 10 Feb 2003 05:58:19 +0000 (05:58 +0000)]
Merge FreeBSD modifications into gcc 3.2.2 release:
  1.2  framework for our kernel printf enhancements.
  1.3  suppress prototype warnings on K&R main.

21 years agoUpdate HEAD with stock GCC 3.2.2 release files.
Alexander Kabaev [Mon, 10 Feb 2003 05:57:03 +0000 (05:57 +0000)]
Update HEAD with stock GCC 3.2.2 release files.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110618,
Alexander Kabaev [Mon, 10 Feb 2003 05:49:31 +0000 (05:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110618,
which included commits to RCS files with non-trunk default branches.

21 years agoGcc 3.2.2-release libf2c bits.
Alexander Kabaev [Mon, 10 Feb 2003 05:49:31 +0000 (05:49 +0000)]
Gcc 3.2.2-release libf2c bits.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110616,
Alexander Kabaev [Mon, 10 Feb 2003 05:48:28 +0000 (05:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110616,
which included commits to RCS files with non-trunk default branches.

21 years agoGcc 3.2.2-release Objective C support bits.
Alexander Kabaev [Mon, 10 Feb 2003 05:48:28 +0000 (05:48 +0000)]
Gcc 3.2.2-release Objective C support bits.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110614,
Alexander Kabaev [Mon, 10 Feb 2003 05:47:54 +0000 (05:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110614,
which included commits to RCS files with non-trunk default branches.

21 years agoGcc 3.2.2-release C++ support bits.
Alexander Kabaev [Mon, 10 Feb 2003 05:47:54 +0000 (05:47 +0000)]
Gcc 3.2.2-release C++ support bits.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110611,
Alexander Kabaev [Mon, 10 Feb 2003 05:41:50 +0000 (05:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110611,
which included commits to RCS files with non-trunk default branches.

21 years agoGcc 3.2.2-release.
Alexander Kabaev [Mon, 10 Feb 2003 05:41:50 +0000 (05:41 +0000)]
Gcc 3.2.2-release.

21 years agoRemove mtx_lock_giant from functions which are mp-safe.
Jake Burkholder [Mon, 10 Feb 2003 04:42:20 +0000 (04:42 +0000)]
Remove mtx_lock_giant from functions which are mp-safe.

21 years agoMake this work without COMPAT_43 by using tcgetattr()/tcsetattr() instead
Tim J. Robbins [Mon, 10 Feb 2003 02:08:49 +0000 (02:08 +0000)]
Make this work without COMPAT_43 by using tcgetattr()/tcsetattr() instead
of ioctl TIOCGETP/TIOCSETP.

21 years agoMajor cleanup & homogenization.
Dag-Erling Smørgrav [Mon, 10 Feb 2003 00:50:03 +0000 (00:50 +0000)]
Major cleanup & homogenization.

21 years agoNo idea what this is for, and it doesn't make much sense. If a port needs
Dag-Erling Smørgrav [Mon, 10 Feb 2003 00:49:44 +0000 (00:49 +0000)]
No idea what this is for, and it doesn't make much sense.  If a port needs
it, it can install its own copy in /usr/local/etc/pam.d/.

21 years agoThere's no reason to have two identical policies for FTP servers, so
Dag-Erling Smørgrav [Mon, 10 Feb 2003 00:47:46 +0000 (00:47 +0000)]
There's no reason to have two identical policies for FTP servers, so
make ftp a symlink to ftpd.

21 years agoAdd restrict keyword to string functions.
Jeffrey Hsu [Mon, 10 Feb 2003 00:36:27 +0000 (00:36 +0000)]
Add restrict keyword to string functions.

Reviewed by: bde

21 years agoImplement a new dynamic command allocator. FIBs are allocated in 1 page
Scott Long [Mon, 10 Feb 2003 00:34:24 +0000 (00:34 +0000)]
Implement a new dynamic command allocator.  FIBs are allocated in 1 page
blocks now, which should eliminate problems with the driver failing to
attach due to insufficient contiguous RAM.  Allow the FIB pool to grow
from the default of 128 to the max of 512 as demand grows.  Also pad the
adapter init struct to work around the 2120/2200 DMA bug now that there
is no longer a FIB slab.

21 years agoLeak more stuff into libgeom.
Poul-Henning Kamp [Mon, 10 Feb 2003 00:11:43 +0000 (00:11 +0000)]
Leak more stuff into libgeom.

21 years ago - Correct another atomic op.
Jeff Roberson [Sun, 9 Feb 2003 22:39:51 +0000 (22:39 +0000)]
 - Correct another atomic op.

Spotted by: alc

21 years agoClean up exit path from rl_attach() to remove multiple returns
Nate Lawson [Sun, 9 Feb 2003 22:32:50 +0000 (22:32 +0000)]
Clean up exit path from rl_attach() to remove multiple returns

21 years agoExplicitly release a existing lease before we start dhclient (again).
Martin Blapp [Sun, 9 Feb 2003 22:04:50 +0000 (22:04 +0000)]
Explicitly release a existing lease before we start dhclient (again).
If we already have a lease and restart sysinstall (or something with
the net configuration goes wrong), we would have to reboot just
because there is a dhclient hanging around.

Reviewed by: murray (re)
MFC after: 5 days

21 years agoQuirk for Lexar Media Jumpdrive
Nate Lawson [Sun, 9 Feb 2003 21:49:45 +0000 (21:49 +0000)]
Quirk for Lexar Media Jumpdrive

PR: kern/47006
Tested by: George Hartzell <hartzell@kestrel.alerce.com>
MFC after: 1 week

21 years agoComplete rewrite of pam_ssh(8). The previous version was becoming hard
Dag-Erling Smørgrav [Sun, 9 Feb 2003 21:20:44 +0000 (21:20 +0000)]
Complete rewrite of pam_ssh(8).  The previous version was becoming hard
to maintain, and had security issues which would have required a major
rewrite to address anyway.

This implementation currently starts a separate agent for each session
instead of connecting each new session to the agent started by the first
one.  While this would be a Good Thing (and the old pam_ssh(8) tried to
do it), it's hard to get right.  I'll revisit this issue when I've had a
chance to test some modifications to ssh-agent(1).

21 years agoAdd a comment describing how pagedaemon_wakeup() should be used and
Alan Cox [Sun, 9 Feb 2003 20:40:36 +0000 (20:40 +0000)]
Add a comment describing how pagedaemon_wakeup() should be used and
synchronized.

Suggested by: tegge

21 years agoSet the expected permissions of /dev to 0555 since this is what devfs
Joerg Wunsch [Sun, 9 Feb 2003 19:33:53 +0000 (19:33 +0000)]
Set the expected permissions of /dev to 0555 since this is what devfs
is using anyway.  Otherwise, "make installworld" insists on resetting
them to 0755.

21 years agoRevisit the shell special characters issue and settle it once-and-forall.
Mike Makonnen [Sun, 9 Feb 2003 18:29:09 +0000 (18:29 +0000)]
Revisit the shell special characters issue and settle it once-and-forall.
All characters will be accepted, and pw(8) can sort out which ones it
will allow and which ones it won't.

Approved by: markm (mentor)
Prodded by: Philippe Bourcier <philippe@cyberabuse.org>

21 years agoIncrease atrq.ndesc for if_fwe.
Hidetoshi Shimokawa [Sun, 9 Feb 2003 17:11:55 +0000 (17:11 +0000)]
Increase atrq.ndesc for if_fwe.

21 years agoUpdate the statistics collection code to track busy time instead of
Poul-Henning Kamp [Sun, 9 Feb 2003 17:04:57 +0000 (17:04 +0000)]
Update the statistics collection code to track busy time instead of
idle time.

Statistics now default to "on" and can be turned off with
        sysctl kern.geom.collectstats=0

Performance impact of statistics collection is on the order of
800 nsec per consumer/provider set on a 700MHz Athlon.

21 years agoDo not define OPENSSL_NO_KRB5 here in CFLAGS. It is handled in
Jacques Vidrine [Sun, 9 Feb 2003 14:59:56 +0000 (14:59 +0000)]
Do not define OPENSSL_NO_KRB5 here in CFLAGS.  It is handled in
opensslconf.h.

Reminded by: reports from des, obrien

21 years agoCorrect assorted typos and grammos. No content changes.
Jens Schweikhardt [Sun, 9 Feb 2003 13:02:57 +0000 (13:02 +0000)]
Correct assorted typos and grammos. No content changes.

21 years ago - Claim we're 'fsync' and not 'spec_fsync' in vop_stdfsync.
Jeff Roberson [Sun, 9 Feb 2003 12:29:38 +0000 (12:29 +0000)]
 - Claim we're 'fsync' and not 'spec_fsync' in vop_stdfsync.

21 years ago - Use the new vop_stdfsync instead of recreating our own.
Jeff Roberson [Sun, 9 Feb 2003 12:28:51 +0000 (12:28 +0000)]
 - Use the new vop_stdfsync instead of recreating our own.

21 years ago - Move some code out from #ifdef INVARIANTS.
Jeff Roberson [Sun, 9 Feb 2003 12:11:37 +0000 (12:11 +0000)]
 - Move some code out from #ifdef INVARIANTS.

21 years ago - Update a printf format for b_flags.
Jeff Roberson [Sun, 9 Feb 2003 11:56:13 +0000 (11:56 +0000)]
 - Update a printf format for b_flags.

21 years ago - Cleanup unlocked accesses to buf flags by introducing a new b_vflag member
Jeff Roberson [Sun, 9 Feb 2003 11:28:35 +0000 (11:28 +0000)]
 - Cleanup unlocked accesses to buf flags by introducing a new b_vflag member
   that is protected by the vnode lock.
 - Move B_SCANNED into b_vflags and call it BV_SCANNED.
 - Create a vop_stdfsync() modeled after spec's sync.
 - Replace spec_fsync, msdos_fsync, and hpfs_fsync with the stdfsync and some
   fs specific processing.  This gives all of these filesystems proper
   behavior wrt MNT_WAIT/NOWAIT and the use of the B_SCANNED flag.
 - Annotate the locking in buf.h

21 years ago - spell add 'add' and not 'subtract' in an atomic op.
Jeff Roberson [Sun, 9 Feb 2003 11:21:40 +0000 (11:21 +0000)]
 - spell add 'add' and not 'subtract' in an atomic op.

Spotted by: alc
Pointy hat to: jeff

21 years agoAdd new ioctl to specify target EUI64 for fwmem.
Hidetoshi Shimokawa [Sun, 9 Feb 2003 10:14:22 +0000 (10:14 +0000)]
Add new ioctl to specify target EUI64 for fwmem.

21 years ago - Lock down the buffer cache's infrastructure code. This includes locks on
Jeff Roberson [Sun, 9 Feb 2003 09:47:31 +0000 (09:47 +0000)]
 - Lock down the buffer cache's infrastructure code.  This includes locks on
   buf lists, synchronization variables, and atomic ops for the counters.
   This change does not remove giant from any code although some pushdown
   may be possible.
 - In vfs_bio_awrite() don't access buf fields without the buf lock.

21 years agoFix spelling errors in comments
Julian Elischer [Sun, 9 Feb 2003 08:49:02 +0000 (08:49 +0000)]
Fix spelling errors in comments

Submitted by: Davidxu@

21 years agoRemove unnecessary check for OCB_ACT_CMD.
Hidetoshi Shimokawa [Sun, 9 Feb 2003 07:40:27 +0000 (07:40 +0000)]
Remove unnecessary check for OCB_ACT_CMD.

21 years agoImprove device listing.
Hidetoshi Shimokawa [Sun, 9 Feb 2003 07:26:48 +0000 (07:26 +0000)]
Improve device listing.

21 years ago- Detect split transcation timeout.
Hidetoshi Shimokawa [Sun, 9 Feb 2003 07:16:01 +0000 (07:16 +0000)]
- Detect split transcation timeout.
* implement watchdog timer.
* check all standing transactions in firewire_xfer_timeout().
- Add firewire_xferq_drain() for fw_busreset().
- Add/improve some debug messages.
- Call fw_xfer_done() if retry handler is NULL.

21 years agoAllow multiple aliases files to be rebuilt
Gregory Neil Shapiro [Sat, 8 Feb 2003 21:55:31 +0000 (21:55 +0000)]
Allow multiple aliases files to be rebuilt

PR: bin/40540
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
MFC after: 3 days

21 years agoGive more information to users replacing sendmail regarding periodic's
Gregory Neil Shapiro [Sat, 8 Feb 2003 21:39:58 +0000 (21:39 +0000)]
Give more information to users replacing sendmail regarding periodic's
submit mail queue check.

PR: docs/38924

21 years agoFix an oversight in some code I added to the last commit.
Matthew N. Dodd [Sat, 8 Feb 2003 21:06:03 +0000 (21:06 +0000)]
Fix an oversight in some code I added to the last commit.

21 years agoCorrect the man page for nfs_bufpackets. DEFAULT is not an acceptable
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:59:16 +0000 (20:59 +0000)]
Correct the man page for nfs_bufpackets.  DEFAULT is not an acceptable
value.

PR: conf/31280
MFC after: 3 days

21 years ago/etc/rc.network isn't built to handle a value of "DEFAULT" (nor should it
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:55:56 +0000 (20:55 +0000)]
/etc/rc.network isn't built to handle a value of "DEFAULT" (nor should it
be).  Using that string leads rc.network to execute:

# sysctl -w vfs.nfs.bufpackets=DEFAULT
vfs.nfs.bufpackets: 4 -> 0

Which isn't what was intended.

PR: conf/31280
MFC after: 3 days

21 years agoAdd more tests. Specifically, infinity cast from other types should
Mike Barcroft [Sat, 8 Feb 2003 20:45:48 +0000 (20:45 +0000)]
Add more tests.  Specifically, infinity cast from other types should
always be classified as infinity.

21 years agoDocument a few acronyms.
Matthew N. Dodd [Sat, 8 Feb 2003 20:42:26 +0000 (20:42 +0000)]
Document a few acronyms.

21 years ago- Remove duplicate call to callout_handle_init() in pcn_attach().
Matthew N. Dodd [Sat, 8 Feb 2003 20:38:26 +0000 (20:38 +0000)]
- Remove duplicate call to callout_handle_init() in pcn_attach().
- Conditionalize mtx_destroy() in pcn_attach().
- Assert driver lock in pcn_intr().

Submitted by:  Hiten Pandya <hiten@unixdaemons.com>

21 years agoImplement fpclassify():
Mike Barcroft [Sat, 8 Feb 2003 20:37:55 +0000 (20:37 +0000)]
Implement fpclassify():
o Add a MD header private to libc called _fpmath.h; this header
  contains bitfield layouts of MD floating-point types.
o Add a MI header private to libc called fpmath.h; this header
  contains bitfield layouts of MI floating-point types.
o Add private libc variables to lib/libc/$arch/gen/infinity.c for
  storing NaN values.
o Add __double_t and __float_t to <machine/_types.h>, and provide
  double_t and float_t typedefs in <math.h>.
o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF,
  HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to
  <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via
  <machine/float.h>.
o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based
  on the size of its argument.  __fpclassifyl() is never called on
  alpha because (sizeof(long double) == sizeof(double)), which is good
  since __fpclassifyl() can't deal with such a small `long double'.

This was developed by David Schultz and myself with input from bde and
fenner.

PR: 23103
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
(significant portions)
Reviewed by: bde, fenner (earlier versions)

21 years agoUpdate for sendmail 8.12.7 import
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:36:52 +0000 (20:36 +0000)]
Update for sendmail 8.12.7 import

21 years agoNotify IPv6 users of important change in sendmail 8.12.7
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:36:35 +0000 (20:36 +0000)]
Notify IPv6 users of important change in sendmail 8.12.7

21 years agoResolve conflicts from sendmail 8.12.7 import
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:35:51 +0000 (20:35 +0000)]
Resolve conflicts from sendmail 8.12.7 import

21 years agoImport sendmail 8.12.7
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:31:29 +0000 (20:31 +0000)]
Import sendmail 8.12.7

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110560,
Gregory Neil Shapiro [Sat, 8 Feb 2003 20:31:29 +0000 (20:31 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110560,
which included commits to RCS files with non-trunk default branches.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110558,
Dag-Erling Smørgrav [Sat, 8 Feb 2003 20:19:10 +0000 (20:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110558,
which included commits to RCS files with non-trunk default branches.

21 years agoMFP4: return the actual value of the requested variable (#24840)
Dag-Erling Smørgrav [Sat, 8 Feb 2003 20:19:10 +0000 (20:19 +0000)]
MFP4: return the actual value of the requested variable (#24840)

21 years agoThis commit was generated by cvs2svn to compensate for changes in r110556,
Dag-Erling Smørgrav [Sat, 8 Feb 2003 20:18:25 +0000 (20:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r110556,
which included commits to RCS files with non-trunk default branches.

21 years agoMFP4: avoid side effects in macro arguments (#24823)
Dag-Erling Smørgrav [Sat, 8 Feb 2003 20:18:25 +0000 (20:18 +0000)]
MFP4: avoid side effects in macro arguments (#24823)

21 years agos/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/
Tom Rhodes [Sat, 8 Feb 2003 19:39:01 +0000 (19:39 +0000)]
s/hw.pci_allow_unsupported_io_range/hw.pci.allow_unsupported_io_range/

The former was incorrect and gave an `unknown oid' error.

21 years agoEven if biff is turned off, we still need to set curoff as the code
Gregory Neil Shapiro [Sat, 8 Feb 2003 19:25:21 +0000 (19:25 +0000)]
Even if biff is turned off, we still need to set curoff as the code
uses that if there is an error writing to the mailbox.  Note this bug
is only in the FreeBSD code, not the vendor code (which doesn't offer
nobiff).

PR: misc/43392
MFC after: 3 days

21 years agoAdd a comment regarding the use of the msgs alias with sendmail to help
Gregory Neil Shapiro [Sat, 8 Feb 2003 19:00:12 +0000 (19:00 +0000)]
Add a comment regarding the use of the msgs alias with sendmail to help
users who want to enable it.

PR: misc/39951

21 years agoBackout my previous commit as requested. This solution generates
Chad David [Sat, 8 Feb 2003 17:23:22 +0000 (17:23 +0000)]
Backout my previous commit as requested.  This solution generates
parsers that are non-portable.

21 years agoUse waitpid() instead of wait() since we know the pid of the process we
Dag-Erling Smørgrav [Sat, 8 Feb 2003 16:11:20 +0000 (16:11 +0000)]
Use waitpid() instead of wait() since we know the pid of the process we
are waiting for, and we don't want to reap the wrong process.

21 years agoLower WARNS to 3 until I track down a way to explain that I know what
Poul-Henning Kamp [Sat, 8 Feb 2003 16:08:17 +0000 (16:08 +0000)]
Lower WARNS to 3 until I track down a way to explain that I know what
I'm doing to sparc64's gcc

21 years agoInclude <sys/time.h>, it's not the users problem that we use bintime
Poul-Henning Kamp [Sat, 8 Feb 2003 15:49:26 +0000 (15:49 +0000)]
Include <sys/time.h>, it's not the users problem that we use bintime
internally.

21 years agoHook libgeom in.
Poul-Henning Kamp [Sat, 8 Feb 2003 15:17:49 +0000 (15:17 +0000)]
Hook libgeom in.

21 years agoAdd libgeom to the system.
Poul-Henning Kamp [Sat, 8 Feb 2003 15:15:56 +0000 (15:15 +0000)]
Add libgeom to the system.

Initially this only contains the functions for accessing the I/O
statistics data.

21 years agoAvoid multiply for preemptive arp calculation since it hits every
Orion Hodson [Sat, 8 Feb 2003 15:05:15 +0000 (15:05 +0000)]
Avoid multiply for preemptive arp calculation since it hits every
ethernet packet sent.

Prompted by: Jeffrey Hsu <hsu@FreeBSD.org>

21 years agoPut the name of the /dev entry in the .h file, userland will need it.
Poul-Henning Kamp [Sat, 8 Feb 2003 14:50:27 +0000 (14:50 +0000)]
Put the name of the /dev entry in the .h file, userland will need it.

21 years agoInstall geom include files.
Poul-Henning Kamp [Sat, 8 Feb 2003 13:25:48 +0000 (13:25 +0000)]
Install geom include files.

21 years agoMove the g_stat struct to its own .h file, we will export it to other code.
Poul-Henning Kamp [Sat, 8 Feb 2003 13:03:57 +0000 (13:03 +0000)]
Move the g_stat struct to its own .h file, we will export it to other code.

Insted of embedding a struct g_stat in consumers and providers, merely
include a pointer.

Remove a couple of <sys/time.h> includes now unneeded.

Add a special allocator for struct g_stat.  This allocator will allocate
entire pages and hand out g_stat functions from there.  The "id" field
indicates free/used status.

Add "/dev/geom.stats" device driver whic exports the pages from the
allocator to userland with mmap(2) in read-only mode.

This mmap(2) interface should be considered a non-public interface and
the functions in libgeom (not yet committed) should be used to access
the statistics data.

21 years agoMove #defines of major/minor to internal header file so other bits can
Poul-Henning Kamp [Sat, 8 Feb 2003 12:30:12 +0000 (12:30 +0000)]
Move #defines of major/minor to internal header file so other bits can
share and coordinate with geom_dev.