]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoAlways call resource_int_value function for getting portsize and msize.
Yoshihiro Takahashi [Sat, 17 Mar 2001 04:23:12 +0000 (04:23 +0000)]
Always call resource_int_value function for getting portsize and msize.
It was not set resource size (portsize/msize) if resource address was set.

This is MFC candidate.

23 years agoReally fix NWAY negotiation for the 82553 PHY. Locking down the
Jonathan Lemon [Sat, 17 Mar 2001 02:50:20 +0000 (02:50 +0000)]
Really fix NWAY negotiation for the 82553 PHY.  Locking down the
media interface selection should not imply disabling NWAY negotiaton
as well.

Problem pointed out by: peter

23 years agoStop cron from shouting in the syslog. Use setproctitle() instead, since
Peter Wemm [Sat, 17 Mar 2001 00:21:54 +0000 (00:21 +0000)]
Stop cron from shouting in the syslog.  Use setproctitle() instead, since
smashing argv[0] doesn't have the intended effect of changing the ps(1)
output these days.

PR: 25850

23 years agoThis is an MFC candidate.
Justin T. Gibbs [Sat, 17 Mar 2001 00:12:15 +0000 (00:12 +0000)]
This is an MFC candidate.

Add the AAC_DEBUG option to enable debugging in the aac driver.

Correct a race condition in the interrupt handler where the
controller may queue a fib to a response queue after the driver
has serviced the queue but before the interrupt is cleared.
This could leave a completed fib stranded in the response queue
unless another I/O completed and generated another interrupt.

Reviewed by: msmith

23 years agoAdd the AAC_DEBUG option to enable debugging in the aac driver.
Justin T. Gibbs [Sat, 17 Mar 2001 00:09:47 +0000 (00:09 +0000)]
Add the AAC_DEBUG option to enable debugging in the aac driver.

Reviewed by: msmith

23 years agoClean up the grammar a bit from the last commit.
Murray Stokely [Fri, 16 Mar 2001 22:55:55 +0000 (22:55 +0000)]
Clean up the grammar a bit from the last commit.

23 years agoWhen doing a recv(.. MSG_WAITALL) for a message which is larger than
Jonathan Lemon [Fri, 16 Mar 2001 22:37:06 +0000 (22:37 +0000)]
When doing a recv(.. MSG_WAITALL) for a message which is larger than
the socket buffer size, the receive is done in sections.  After completing
a read, call pru_rcvd on the underlying protocol before blocking again.

This allows the the protocol to take appropriate action, such as
sending a TCP window update to the peer, if the window happened to
close because the socket buffer was filled.  If the protocol is not
notified, a TCP transfer may stall until the remote end sends a window
probe.

23 years agoFix a few things in the aic(4) driver:
Kenneth D. Merry [Fri, 16 Mar 2001 22:20:19 +0000 (22:20 +0000)]
Fix a few things in the aic(4) driver:

 - enable 10MHz (fast SCSI) operation on boards that support it.  (only
   aic6360 boards with fast SCSI enabled can do it)

 - bounds check sync periods and offsets passed in from the transport layer

 - tell the user which resource allocation failed (for the ISA probe) if we
   weren't able to allocate an IRQ, DRQ or I/O port.

23 years agoFix type-o
Matthew Dillon [Fri, 16 Mar 2001 22:18:26 +0000 (22:18 +0000)]
Fix type-o

Submitted by: okazaki

23 years agoFix inquiry length detection for the ses(4) driver. It was using the
Kenneth D. Merry [Fri, 16 Mar 2001 22:16:54 +0000 (22:16 +0000)]
Fix inquiry length detection for the ses(4) driver.  It was using the
inq_len member of the ccb_getdev structure, but we've never filled that
value in..

So we now get the length from the inquiry data returned by the drive.
(Since we will fetch as much inquiry data as the drive claims to support.)

Reviewed by: mjacob
Reported by: Andrzej Tobola <san@iem.pw.edu.pl>

23 years agoFix a number of warnings that come up when compiling with BDECFLAGS.
Garance A Drosehn [Fri, 16 Mar 2001 21:54:12 +0000 (21:54 +0000)]
Fix a number of warnings that come up when compiling with BDECFLAGS.

23 years agoprevent gdb from panic'ing an alpha with "mutex Giant not owned"
Andrew Gallatin [Fri, 16 Mar 2001 21:44:21 +0000 (21:44 +0000)]
prevent gdb from panic'ing an alpha with "mutex Giant not owned"

reviewed by: jhb

23 years agoFix a typo which would cause containers between 1GB and 2GB to have the wrong
Mike Smith [Fri, 16 Mar 2001 21:43:32 +0000 (21:43 +0000)]
Fix a typo which would cause containers between 1GB and 2GB to have the wrong
geometry reported.

Submitted by: mark tinguely <tinguely@web.cs.ndsu.NoDak.edu>

23 years agofix a typo preventing the second dma channel being released
Cameron Grant [Fri, 16 Mar 2001 21:04:14 +0000 (21:04 +0000)]
fix a typo preventing the second dma channel being released
use isa_dma_release when releasing dma channels

23 years agodon't leak memory allocated for feeders at module unload
Cameron Grant [Fri, 16 Mar 2001 20:58:44 +0000 (20:58 +0000)]
don't leak memory allocated for feeders at module unload
kill the fake channel when unregistering

23 years ago<sys/queue.h> makeover.
Poul-Henning Kamp [Fri, 16 Mar 2001 20:00:53 +0000 (20:00 +0000)]
<sys/queue.h> makeover.

23 years agoFix a style(9) nit.
Poul-Henning Kamp [Fri, 16 Mar 2001 19:36:23 +0000 (19:36 +0000)]
Fix a style(9) nit.

23 years agoAdd -ledit to ngctl.
Poul-Henning Kamp [Fri, 16 Mar 2001 19:35:07 +0000 (19:35 +0000)]
Add -ledit to ngctl.

Somebody submitted this long time ago, and it has been sitting in my
tree for months because I thought archie would pick it up.

Submitted by: (sorry, lost track)

23 years agoBump MAX_GLOBENTRIES up to 16384, so it is a power of two. Add
Jonathan Lemon [Fri, 16 Mar 2001 19:05:20 +0000 (19:05 +0000)]
Bump MAX_GLOBENTRIES up to 16384, so it is a power of two.  Add
some comments explaining that this is an arbitrary limit.

Requested by:  jkh

23 years agonuke IPSEC_SRCSEL which does not do the right thing.
Hajimu UMEMOTO [Fri, 16 Mar 2001 17:52:48 +0000 (17:52 +0000)]
nuke IPSEC_SRCSEL which does not do the right thing.
adjust state->ro if the tunnel endpoint is offlink.
KAME PR 233.

PR: kern/21079

23 years agoo The revenge of the mdoc(7) police:
Robert Watson [Fri, 16 Mar 2001 17:42:38 +0000 (17:42 +0000)]
o The revenge of the mdoc(7) police:

   - These pages abused Ar macro (they should have used Fa).
   - NULL and other numeric constants should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by: ru

23 years agoo The mdoc(7) police strike with avengance:
Robert Watson [Fri, 16 Mar 2001 15:02:30 +0000 (15:02 +0000)]
o The mdoc(7) police strike with avengance:

   - These pages abused Ar macro (they should have used Fa).
   - NULL constant should be marked with Dv.
   - VOP_* in the ERRORS section for the EOPNOTSUPP entry should be marked
     with Fn.

Submitted by: ru

23 years agoEnable some undocumented bits in the DP83840 PHY, which is needed
Jonathan Lemon [Fri, 16 Mar 2001 14:17:02 +0000 (14:17 +0000)]
Enable some undocumented bits in the DP83840 PHY, which is needed
when using it with the Intel fxp driver.

Tested by: peter, Ollivier Robert <roberto@eurocontrol.fr>,
   Peter Schultz <pete@jocose.org>

23 years agomdoc(7) police: simplify bogus ``.Ql Fl'' constructs.
Ruslan Ermilov [Fri, 16 Mar 2001 14:11:41 +0000 (14:11 +0000)]
mdoc(7) police: simplify bogus ``.Ql Fl'' constructs.

23 years agomdoc(7) police: -mdoc still has a nine-arguments limitation.
Ruslan Ermilov [Fri, 16 Mar 2001 13:58:34 +0000 (13:58 +0000)]
mdoc(7) police: -mdoc still has a nine-arguments limitation.

23 years agomdoc(7) police: empty lines outside displays cause warnings in -mdocNG.
Ruslan Ermilov [Fri, 16 Mar 2001 13:50:50 +0000 (13:50 +0000)]
mdoc(7) police: empty lines outside displays cause warnings in -mdocNG.

23 years agomdoc(7) police: apply formatting fixes to rev 1.14.
Ruslan Ermilov [Fri, 16 Mar 2001 13:38:49 +0000 (13:38 +0000)]
mdoc(7) police: apply formatting fixes to rev 1.14.

23 years agos/0x7f000001/INADDR_LOOPBACK
Alfred Perlstein [Fri, 16 Mar 2001 13:10:26 +0000 (13:10 +0000)]
s/0x7f000001/INADDR_LOOPBACK

23 years agoSigh, try to get this in sync with an offical src tree...
Søren Schmidt [Fri, 16 Mar 2001 13:08:19 +0000 (13:08 +0000)]
Sigh, try to get this in sync with an offical src tree...

I hate it when this happens...

23 years agoIt is the ``nostrictjoliet'' option equivalent to -b.
Ruslan Ermilov [Fri, 16 Mar 2001 12:55:54 +0000 (12:55 +0000)]
It is the ``nostrictjoliet'' option equivalent to -b.

Reviewed by: bp

23 years agoAdd et_EE
Andrey A. Chernov [Fri, 16 Mar 2001 12:33:50 +0000 (12:33 +0000)]
Add et_EE

23 years agoMake empty unused am/pm
Andrey A. Chernov [Fri, 16 Mar 2001 12:29:09 +0000 (12:29 +0000)]
Make empty unused am/pm

23 years agoAdd et_EE
Andrey A. Chernov [Fri, 16 Mar 2001 12:27:20 +0000 (12:27 +0000)]
Add et_EE

PR: 25495
Submitted by: Vallo Kallaste <vallo@matti.ee>

23 years agoAdd et_EE
Andrey A. Chernov [Fri, 16 Mar 2001 12:21:11 +0000 (12:21 +0000)]
Add et_EE

PR: 25495
Submitted by: Vallo Kallaste <vallo@matti.ee>

23 years agoAdd et_EE
Andrey A. Chernov [Fri, 16 Mar 2001 12:11:30 +0000 (12:11 +0000)]
Add et_EE

PR: 25495
Submitted by: Vallo Kallaste <vallo@matti.ee>

23 years agomdoc(7) police: ``It'' macro does not take argument in -enum lists.
Ruslan Ermilov [Fri, 16 Mar 2001 12:06:26 +0000 (12:06 +0000)]
mdoc(7) police: ``It'' macro does not take argument in -enum lists.
(In -mdocNG, this only causes warning.  In current implementation,
it is fatal.)

Pointy hat to: markm (for not checking stderr)

23 years agoAdd et_EE.ISO_8859-15
Andrey A. Chernov [Fri, 16 Mar 2001 12:02:36 +0000 (12:02 +0000)]
Add et_EE.ISO_8859-15

23 years agoRemove the now defunct ATA_ENABLE* options
Søren Schmidt [Fri, 16 Mar 2001 11:52:25 +0000 (11:52 +0000)]
Remove the now defunct ATA_ENABLE* options

Spotted by: phk

23 years agoMerge from kame (1.175 -> 1.176):
Jun Kuriyama [Fri, 16 Mar 2001 10:58:16 +0000 (10:58 +0000)]
Merge from kame (1.175 -> 1.176):
cope with freebsd4 bridge code.

23 years agoApply the README's requirement a) to the previous commit.
Ruslan Ermilov [Fri, 16 Mar 2001 08:43:07 +0000 (08:43 +0000)]
Apply the README's requirement a) to the previous commit.

23 years agoBack out ru's changes. Soren has requested this and I see no reason
Warner Losh [Fri, 16 Mar 2001 08:07:00 +0000 (08:07 +0000)]
Back out ru's changes.  Soren has requested this and I see no reason
to not just do it.  It is his new code that is being actively
developed so he has say over it.  ru's direct changes were premature
as they occurred less than 4 hours after it was committed to the tree.

23 years agomdoc(7) police: removed hard sentence break introduced in rev 1.82.
Ruslan Ermilov [Fri, 16 Mar 2001 07:39:46 +0000 (07:39 +0000)]
mdoc(7) police: removed hard sentence break introduced in rev 1.82.

23 years agoAdd some devices:
Warner Losh [Fri, 16 Mar 2001 07:36:54 +0000 (07:36 +0000)]
Add some devices:
Xircom CreditCard Netwave cnw
Intel PRO/Wireless 2011 (PRISM II) wi
3COM 3CRWE737A (PRISM II) wi
Note: I've had some reports that the latter two cards work, but I've not
been able to get them to work for me.

23 years agoPart of DIS_8859-15 -> ISO_8859-15 rename
Andrey A. Chernov [Fri, 16 Mar 2001 07:36:53 +0000 (07:36 +0000)]
Part of DIS_8859-15 -> ISO_8859-15 rename

23 years agoDIS_8859-15 -> ISO_8859-15 rename
Andrey A. Chernov [Fri, 16 Mar 2001 07:31:55 +0000 (07:31 +0000)]
DIS_8859-15 -> ISO_8859-15 rename

23 years agoadd cnw driver to notes/lint
Warner Losh [Fri, 16 Mar 2001 07:29:58 +0000 (07:29 +0000)]
add cnw driver to notes/lint

23 years agoAdd cwn driver
Warner Losh [Fri, 16 Mar 2001 07:27:49 +0000 (07:27 +0000)]
Add cwn driver

23 years agoCommit port of cnw driver from Hiroyuki Aizu-san. This driver
Warner Losh [Fri, 16 Mar 2001 07:25:42 +0000 (07:25 +0000)]
Commit port of cnw driver from Hiroyuki Aizu-san.  This driver
supports Xircom netwave series of cards.  I have one of these cards
(but am trying to find one or two to test with), but it compiles and
aizu-san says it works.

I don't know if this supports 802.11 or not.  I've seen conflicting
information on this.

Submitted by: Hiroyuki Aizu <aizu@jaist.ac.jp>
Obtained from: NetBSD

23 years agoRemove the SMART ioctls, they are not in the official sources yet..
Søren Schmidt [Fri, 16 Mar 2001 07:23:59 +0000 (07:23 +0000)]
Remove the SMART ioctls, they are not in the official sources yet..

This should restore world...

23 years agoDIS_8859_15 -> ISO_8859-15 rename
Andrey A. Chernov [Fri, 16 Mar 2001 07:13:01 +0000 (07:13 +0000)]
DIS_8859_15 -> ISO_8859-15 rename

23 years agoResync to GENERIC. This backs out the spammage that I committed wrt
Warner Losh [Fri, 16 Mar 2001 06:33:44 +0000 (06:33 +0000)]
Resync to GENERIC.  This backs out the spammage that I committed wrt
killing ipv6 and some other things.

This makes GENERIC and NEWCARD the same, with OLDCARD stuff commented
out and the NEWCARD stuff included.  For the moment, pcic is commented
out (which has a old).  Plus invariants.  Plus ddb.

23 years agoVery small cosmetic tweak - avoid starting an extra xterm for the fvwm
Jordan K. Hubbard [Fri, 16 Mar 2001 03:32:13 +0000 (03:32 +0000)]
Very small cosmetic tweak - avoid starting an extra xterm for the fvwm
desktop case.

23 years ago/modules -> /boot/kernel
Dima Dorfman [Fri, 16 Mar 2001 02:26:48 +0000 (02:26 +0000)]
/modules -> /boot/kernel

PR: 25053
Approved by: nik

23 years agoMake it clear that the -v option doesn't actually set the date.
Dima Dorfman [Fri, 16 Mar 2001 02:20:24 +0000 (02:20 +0000)]
Make it clear that the -v option doesn't actually set the date.

PR: 24773
Approved by: nik

23 years agoExplain that TCP fragments with an offset of 1 are reported as being
Dima Dorfman [Fri, 16 Mar 2001 01:28:11 +0000 (01:28 +0000)]
Explain that TCP fragments with an offset of 1 are reported as being
dropped by rule -1 if logging is enabled.

PR: 25796
Submitted by: Crist J. Clark <cjclark@alum.mit.edu>
Approved by: nik

23 years agoCorrect descriptions of SOCK_RDM and SOCK_SEQPACKET.
Dima Dorfman [Fri, 16 Mar 2001 01:18:03 +0000 (01:18 +0000)]
Correct descriptions of SOCK_RDM and SOCK_SEQPACKET.

PR: 25797
Submitted by: Yuko Sasaki <yuko@veltec.co.jp>
Approved by: nik

23 years agoFix a comment
Brian Somers [Thu, 15 Mar 2001 23:25:55 +0000 (23:25 +0000)]
Fix a comment

PR: 25831
Submitted by: quinot@inf.enst.fr

23 years agoNote rules of enguagement.
David E. O'Brien [Thu, 15 Mar 2001 23:20:13 +0000 (23:20 +0000)]
Note rules of enguagement.

23 years agoUse the newly introduced -W flag to netstat(1) to avoid truncated addresses.
Dag-Erling Smørgrav [Thu, 15 Mar 2001 20:46:35 +0000 (20:46 +0000)]
Use the newly introduced -W flag to netstat(1) to avoid truncated addresses.

23 years agoAdd a -W flag that tells netstat not to truncate addresses even if they are
Dag-Erling Smørgrav [Thu, 15 Mar 2001 20:46:04 +0000 (20:46 +0000)]
Add a -W flag that tells netstat not to truncate addresses even if they are
too long for the column they're printed in.

Move variable definitions out of netstat.h and into main.c.

Clean up some warnings.

23 years agoCorrect spelling of MNT_ASYNC.
David Malone [Thu, 15 Mar 2001 19:52:04 +0000 (19:52 +0000)]
Correct spelling of MNT_ASYNC.

PR: 25835
Submitted by: Tony Finch <dot@dotat.at>

23 years agoMake this compile with ${BDECFLAGS}, apply style(9), cleanup manpage.
Ruslan Ermilov [Thu, 15 Mar 2001 19:28:58 +0000 (19:28 +0000)]
Make this compile with ${BDECFLAGS}, apply style(9), cleanup manpage.

23 years agoLimit the number of paths that glob can return to MAX_GLOBENTRIES, which
Jonathan Lemon [Thu, 15 Mar 2001 18:50:32 +0000 (18:50 +0000)]
Limit the number of paths that glob can return to MAX_GLOBENTRIES, which
is currently set to 10000.  This is intended to prevent glob from running
amok when a highly recursive path is provided (such as "../*/../*/../*/...")

Reviewed by: Diane Bruce <db@db.net>, jhb

23 years agoHmm, the last commit apparently only made it halfways
Søren Schmidt [Thu, 15 Mar 2001 16:43:55 +0000 (16:43 +0000)]
Hmm, the last commit apparently only made it halfways

23 years agoAdd atacontrol, a util to control variuos aspects of the ATA.4 driver,
Søren Schmidt [Thu, 15 Mar 2001 15:40:53 +0000 (15:40 +0000)]
Add atacontrol, a util to control variuos aspects of the ATA.4 driver,
please consult atacontrol.8 for usage..

23 years agoRemove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
Søren Schmidt [Thu, 15 Mar 2001 15:38:57 +0000 (15:38 +0000)]
Remove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options, add the tuneables for this purpose.

23 years agoRemove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
Søren Schmidt [Thu, 15 Mar 2001 15:37:26 +0000 (15:37 +0000)]
Remove the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options, use the tuneables listed in ata.4 instead.

23 years agoProvide the interface to atacontrol and associated logic.
Søren Schmidt [Thu, 15 Mar 2001 15:36:25 +0000 (15:36 +0000)]
Provide the interface to atacontrol and associated logic.

see atacontrol(8) for more.

Also the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options are gone, use the tuneables listed in ata.4 instead from
the loader (this makes it possible to switch off DMA before the
driver has to touch the devices on broken hardware).

23 years agoAdd the ata control device
Søren Schmidt [Thu, 15 Mar 2001 15:32:42 +0000 (15:32 +0000)]
Add the ata control device

23 years agoAdd the ata control device.
Søren Schmidt [Thu, 15 Mar 2001 15:26:38 +0000 (15:26 +0000)]
Add the ata control device.

23 years agonet/route.c:
Ruslan Ermilov [Thu, 15 Mar 2001 14:52:12 +0000 (14:52 +0000)]
net/route.c:

  A route generated from an RTF_CLONING route had the RTF_WASCLONED flag
  set but did not have a reference to the parent route, as documented in
  the rtentry(9) manpage.  This prevented such routes from being deleted
  when their parent route is deleted.

  Now, for example, if you delete an IP address from a network interface,
  all ARP entries that were cloned from this interface route are flushed.

  This also has an impact on netstat(1) output.  Previously, dynamically
  created ARP cache entries (RTF_STATIC flag is unset) were displayed as
  part of the routing table display (-r).  Now, they are only printed if
  the -a option is given.

netinet/in.c, netinet/in_rmx.c:

  When address is removed from an interface, also delete all routes that
  point to this interface and address.  Previously, for example, if you
  changed the address on an interface, outgoing IP datagrams might still
  use the old address.  The only solution was to delete and re-add some
  routes.  (The problem is easily observed with the route(8) command.)

  Note, that if the socket was already bound to the local address before
  this address is removed, new datagrams generated from this socket will
  still be sent from the old address.

PR: kern/20785, kern/21914
Reviewed by: wollman (the idea)

23 years agoAdd new ATA specific file, to be used with the upcoming atacontrol.
Søren Schmidt [Thu, 15 Mar 2001 13:56:08 +0000 (13:56 +0000)]
Add new ATA specific file, to be used with the upcoming atacontrol.

23 years agoMoved '#endif' to correct position. (previous commit broke pc98 support)
Yoshihiro Takahashi [Thu, 15 Mar 2001 12:33:52 +0000 (12:33 +0000)]
Moved '#endif' to correct position. (previous commit broke pc98 support)

23 years agoWhen creating a package sort dependencies in such a way that if dependency
Maxim Sobolev [Thu, 15 Mar 2001 10:47:00 +0000 (10:47 +0000)]
When creating a package sort dependencies in such a way that if dependency
A depends on dependency B then dependency A will be in all cases listed
before B, so ``pkg_add -r'' will fetch/install packages in the correct order.

Previously dependencies were sorted just by its names, which is why
``pkg_add -r'' never actually worked properly.

To be usefull, hovewer, this fix requires that all packages have been
rebuilt, so it will take some time until users would be able to feel
posititive improvements. For the same reasons it is desirable to propagate
these changes to the 4-stable package building cluster *before* 4.3 ports
freeze, so packages for 4.3-RELEASE would be properly prepared.

Prompted by: kris
Insanely appreciated by: obrien
Silently approved by: jkh, -ports

23 years agowith my mentor hat on...
Bill Fumerola [Thu, 15 Mar 2001 10:33:00 +0000 (10:33 +0000)]
with my mentor hat on...

remove the concept of a 'maintainer' of our make. there really isn't a
need for any one committer to hold an exclusive lock or serve as a filter
for this code.

23 years agoRevert previous change -- apparently it's not quite right. It broke
Will Andrews [Thu, 15 Mar 2001 10:22:50 +0000 (10:22 +0000)]
Revert previous change -- apparently it's not quite right.  It broke
src/sys/modules/if_ef and possibly other things.  I tested the build with
a make based on rev. 1.26, and it worked fine.  Since I'm not particularly
inclined to figure out what's going on with this, it's probably prudent
just to back it out for now.

Found by: jkh
Suggested by: jhay

23 years agoFix double mention of ssh.
Jeroen Ruigrok van der Werven [Thu, 15 Mar 2001 09:24:40 +0000 (09:24 +0000)]
Fix double mention of ssh.

This file is already off the vendorbranch, nonetheless it needs to be
submitted back to the OpenSSH people.

PR: 25743
Submitted by: David Wolfskill <dhw@whistle.com>

23 years agoMention that MAXHOSTNAMELEN includes space for the NUL.
Brian Somers [Thu, 15 Mar 2001 08:35:53 +0000 (08:35 +0000)]
Mention that MAXHOSTNAMELEN includes space for the NUL.

23 years agoActually commit the new version of trimdomain *blush*
Brian Somers [Thu, 15 Mar 2001 08:30:05 +0000 (08:30 +0000)]
Actually commit the new version of trimdomain *blush*

Thanks for covering my blunder to: peter

23 years agoThe previous commit was based on knowledge obtained via Paul Saab.
Peter Wemm [Thu, 15 Mar 2001 06:58:04 +0000 (06:58 +0000)]
The previous commit was based on knowledge obtained via Paul Saab.

23 years agoAdd a placeholder for the ServerWorks OSB4 device id. The SMBus
Peter Wemm [Thu, 15 Mar 2001 06:56:51 +0000 (06:56 +0000)]
Add a placeholder for the ServerWorks OSB4 device id.  The SMBus
interface on this chip is compatable with the PIIX4.  The catch is that
this interferes with isab0 which wants to attach to the same PCI node.
It seems to work, but we only tested it on systems with no ISA cards.

23 years agoThe serverworks OSB4 pci->isa bridge has the same mapping register at
Peter Wemm [Thu, 15 Mar 2001 06:51:45 +0000 (06:51 +0000)]
The serverworks OSB4 pci->isa bridge has the same mapping register at
offset 0x90 for the SMBus device as the PIIX4.

23 years agoKill the 4MB kernel limit dead. [I hope :-)].
Peter Wemm [Thu, 15 Mar 2001 05:10:06 +0000 (05:10 +0000)]
Kill the 4MB kernel limit dead.  [I hope :-)].
For UP, we were using $tmp_stk as a stack from the data section.  If the
kernel text section grew beyond ~3MB, the data section would be pushed
beyond the temporary 4MB P==V mapping.  This would cause the trampoline
up to high memory to fault.  The hack workaround I did was to use all of
the page table pages that we already have while preparing the initial
P==V mapping, instead of just the first one.
For SMP, the AP bootstrap process suffered the same sort of problem and
got the same treatment.

MFC candidate - this breaks on 4.x just the same..

Thanks to: Richard Todd <rmtodd@ichotolot.servalan.com>

23 years agoJake essentially rewrote this. It is not by any stretch of the
Peter Wemm [Thu, 15 Mar 2001 05:02:08 +0000 (05:02 +0000)]
Jake essentially rewrote this.  It is not by any stretch of the
imagination a derivative of what I did before.

23 years agoRegenerate after rwatson's commit to syscalls.master (rev 1.85)
Peter Wemm [Thu, 15 Mar 2001 04:43:57 +0000 (04:43 +0000)]
Regenerate after rwatson's commit to syscalls.master (rev 1.85)

23 years agoThis include file has no business being here.
Matthew N. Dodd [Thu, 15 Mar 2001 03:38:20 +0000 (03:38 +0000)]
This include file has no business being here.

23 years agoDon't dump core when an attempt is made to login using protocol 2 with
Brian Feldman [Thu, 15 Mar 2001 03:15:18 +0000 (03:15 +0000)]
Don't dump core when an attempt is made to login using protocol 2 with
an invalid user name.

23 years agoo Update some of the kernel man pages associated with extended attributes
Robert Watson [Thu, 15 Mar 2001 03:13:58 +0000 (03:13 +0000)]
o Update some of the kernel man pages associated with extended attributes
  to reflect EA API change to explicit namespacing.

Obtained from: TrustedBSD Project

23 years agoo Update getextattr and setextattr utilities to take into account the
Robert Watson [Thu, 15 Mar 2001 03:09:48 +0000 (03:09 +0000)]
o Update getextattr and setextattr utilities to take into account the
  revised EA interface with explicit namespacing.  Link against libutil
  to provide string/constant conversion for namespaces.  Document
  revised interface.

Obtained from: TrustedBSD Project

23 years agoo Update extattrctl to take into account the updated EA interface with
Robert Watson [Thu, 15 Mar 2001 03:04:35 +0000 (03:04 +0000)]
o Update extattrctl to take into account the updated EA interface with
  explicit namespaces.  Modify it to use libutil for string/constant
  namespace conversions.  Update the documentation to take into account
  the new interface.

Obtained from: TrustedBSD Project

23 years agoo To support new EA interface with explicit namespaces, introduce two
Robert Watson [Thu, 15 Mar 2001 03:00:39 +0000 (03:00 +0000)]
o To support new EA interface with explicit namespaces, introduce two
  utility functions which convert between string namespace names and
  numeric constants used by the interface.  Right now, two namespaces
  are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and
  EXTATTR_NAMESPACE_USER ("user").  These functions are used by
  various userland EA utilities, rather than hard coding the routines
  all over the place.

Obtained from: TrustedBSD Project

23 years agoo Change the API and ABI of the Extended Attribute kernel interfaces to
Robert Watson [Thu, 15 Mar 2001 02:54:29 +0000 (02:54 +0000)]
o Change the API and ABI of the Extended Attribute kernel interfaces to
  introduce a new argument, "namespace", rather than relying on a first-
  character namespace indicator.  This is in line with more recent
  thinking on EA interfaces on various mailing lists, including the
  posix1e, Linux acl-devel, and trustedbsd-discuss forums.  Two namespaces
  are defined by default, EXTATTR_NAMESPACE_SYSTEM and
  EXTATTR_NAMESPACE_USER, where the primary distinction lies in the
  access control model: user EAs are accessible based on the normal
  MAC and DAC file/directory protections, and system attributes are
  limited to kernel-originated or appropriately privileged userland
  requests.

o These API changes occur at several levels: the namespace argument is
  introduced in the extattr_{get,set}_file() system call interfaces,
  at the vnode operation level in the vop_{get,set}extattr() interfaces,
  and in the UFS extended attribute implementation.  Changes are also
  introduced in the VFS extattrctl() interface (system call, VFS,
  and UFS implementation), where the arguments are modified to include
  a namespace field, as well as modified to advoid direct access to
  userspace variables from below the VFS layer (in the style of recent
  changes to mount by adrian@FreeBSD.org).  This required some cleanup
  and bug fixing regarding VFS locks and the VFS interface, as a vnode
  pointer may now be optionally submitted to the VFS_EXTATTRCTL()
  call.  Updated documentation for the VFS interface will be committed
  shortly.

o In the near future, the auto-starting feature will be updated to
  search two sub-directories to the ".attribute" directory in appropriate
  file systems: "user" and "system" to locate attributes intended for
  those namespaces, as the single filename is no longer sufficient
  to indicate what namespace the attribute is intended for.  Until this
  is committed, all attributes auto-started by UFS will be placed in
  the EXTATTR_NAMESPACE_SYSTEM namespace.

o The default POSIX.1e attribute names for ACLs and Capabilities have
  been updated to no longer include the '$' in their filename.  As such,
  if you're using these features, you'll need to rename the attribute
  backing files to the same names without '$' symbols in front.

o Note that these changes will require changes in userland, which will
  be committed shortly.  These include modifications to the extended
  attribute utilities, as well as to libutil for new namespace
  string conversion routines.  Once the matching userland changes are
  committed, a buildworld is recommended to update all the necessary
  include files and verify that the kernel and userland environments
  are in sync.  Note: If you do not use extended attributes (most people
  won't), upgrading is not imperative although since the system call
  API has changed, the new userland extended attribute code will no longer
  compile with old include files.

o Couple of minor cleanups while I'm there: make more code compilation
  conditional on FFS_EXTATTR, which should recover a bit of space on
  kernels running without EA's, as well as update copyright dates.

Obtained from: TrustedBSD Project

23 years agoFix make(1) bug: nested comments may be placed in .if, .else .if, and
Will Andrews [Thu, 15 Mar 2001 02:51:11 +0000 (02:51 +0000)]
Fix make(1) bug:  nested comments may be placed in .if, .else .if, and
.endif statements but can't be placed in .elif.  Basically, the problem
was that ParseSkipLine() didn't handle comments the same way that
ParseReadLine() did, and thus you had errors with comments that are on a
conditional line (i.e. "^.") rather than a non-conditional line.

MFC candidate for 4.3-STABLE and 3.5-STABLE.

PR: 25627
Bug found by: jhs
Fix submitted by: Seth Kingsley <sethk@osd.bsdi.com>  (thanks!!)

23 years agoremove bogus check -- for kernel threads we fork off of proc0, not curproc
Andrew Gallatin [Thu, 15 Mar 2001 02:32:26 +0000 (02:32 +0000)]
remove bogus check -- for kernel threads we fork off of proc0, not curproc
This was causing panics when modules which create kthreads were loaded
after boot.

pointed out by: jake, jhb

23 years agoRemove the last remnants of circle queues.
Dima Dorfman [Thu, 15 Mar 2001 02:08:44 +0000 (02:08 +0000)]
Remove the last remnants of circle queues.

PR: 25184
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Approved by: nik

23 years ago/devs -> /dev
Dima Dorfman [Thu, 15 Mar 2001 02:06:44 +0000 (02:06 +0000)]
/devs -> /dev

PR: 25252
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
Approved by: nik, phk (via nik)

23 years agoMake tdelete(3), tfind(3), and twalk(3) links to tsearch(3).
Dima Dorfman [Thu, 15 Mar 2001 01:53:17 +0000 (01:53 +0000)]
Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).

Approved by: nik

23 years agoIt would help if trimdomain.c was actually committed. This is a stopgap
Peter Wemm [Thu, 15 Mar 2001 00:15:22 +0000 (00:15 +0000)]
It would help if trimdomain.c was actually committed.  This is a stopgap
world-unbreaker until Brian Somers commits the one he intended to.

Pointy Hat to: brian

23 years agoDon't set the gateway address if the netmask is zero or we're on
Paul Saab [Wed, 14 Mar 2001 23:53:25 +0000 (23:53 +0000)]
Don't set the gateway address if the netmask is zero or we're on
the same network.  PXE does not do netmask calculations, so if the
gateway is set it will use it.

Submitted by: peter & FreeBSD cluster ACLs

23 years agoUse better descriptions (ones invovling words from the English language
John Baldwin [Wed, 14 Mar 2001 21:33:36 +0000 (21:33 +0000)]
Use better descriptions (ones invovling words from the English language
anyways) for the accept filter modules.