]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoCross-reference the newly added example.9
Giorgos Keramidas [Wed, 12 Jan 2005 20:56:15 +0000 (20:56 +0000)]
Cross-reference the newly added example.9

19 years agoLink mdoc/example.9 to the build.
Giorgos Keramidas [Wed, 12 Jan 2005 20:55:01 +0000 (20:55 +0000)]
Link mdoc/example.9 to the build.

19 years agoAdd a sample manpage for section 9.
Giorgos Keramidas [Wed, 12 Jan 2005 20:49:25 +0000 (20:49 +0000)]
Add a sample manpage for section 9.

Suggested by: simon
Reviewed by: ru

19 years agoFix typo %d -> %x
Maksim Yevmenkin [Wed, 12 Jan 2005 20:06:16 +0000 (20:06 +0000)]
Fix typo %d -> %x

That should fix the problem with invalid PSM returned from bthidcontrol.
Pointy hat goes to me.

PR: misc/76107
Submitted by: Hiroyuki Aizu < aizu at navi dot org >
MFC after: 1 day

19 years agoTry harder to work with MP table interrupt entries that claim that an
John Baldwin [Wed, 12 Jan 2005 18:24:32 +0000 (18:24 +0000)]
Try harder to work with MP table interrupt entries that claim that an
interrupt is wired up to all the I/O APICs in the system.  If the system
has only one I/O APIC, then just act as if the entry specified that APIC.
We still don't try to handle global entries in a system with multiple I/O
APICs.

Tested by: Peter Trifonov pvtrifonov at mail dot ru
MFC after: 1 week

19 years agoInclude opt_bootp.h for BOOTP_NFSROOT
Brian Somers [Wed, 12 Jan 2005 12:42:46 +0000 (12:42 +0000)]
Include opt_bootp.h for BOOTP_NFSROOT

PR: 73183
Submitted by: Darrin Smith sdar at salseast dot org
MFC after: 7 days

19 years agoSort xrefs.
Ruslan Ermilov [Wed, 12 Jan 2005 10:22:58 +0000 (10:22 +0000)]
Sort xrefs.

19 years agoWhen re-connecting already connected datagram socket ensure to clean
Maxim Sobolev [Wed, 12 Jan 2005 10:15:23 +0000 (10:15 +0000)]
When re-connecting already connected datagram socket ensure to clean
up its pending error state, which may be set in some rare conditions resulting
in connect() syscall returning that bogus error and making application believe
that attempt to change association has failed, while it has not in fact.

There is sockets/reconnect regression test which excersises this bug.

MFC after: 2 weeks

19 years agoScheduled mdoc(7) sweep.
Ruslan Ermilov [Wed, 12 Jan 2005 10:14:43 +0000 (10:14 +0000)]
Scheduled mdoc(7) sweep.

19 years agoComment out debugging printf which doesn't compile on amd64.
Poul-Henning Kamp [Wed, 12 Jan 2005 10:11:31 +0000 (10:11 +0000)]
Comment out debugging printf which doesn't compile on amd64.

19 years agoAdd test which excersises problem with unability to change association of
Maxim Sobolev [Wed, 12 Jan 2005 09:57:18 +0000 (09:57 +0000)]
Add test which excersises problem with unability to change association of
already associated datagram unix domain socket by issuing connect() system
call.

19 years agoCreate three additional X socket directories. Using X applications when another
Eric Anholt [Wed, 12 Jan 2005 07:18:25 +0000 (07:18 +0000)]
Create three additional X socket directories.  Using X applications when another
user owns these directories or the sticky bit is unset may open security holes,
so simply create them at startup with the correct owner/mode.

MFC after: 1 day

19 years agoUse off_t when passing and calculating file offsets. While a single
Scott Long [Wed, 12 Jan 2005 06:42:13 +0000 (06:42 +0000)]
Use off_t when passing and calculating file offsets.  While a single
extent in UDF is only 32 bits, multiple extents can exist in a file.
Also clean up some minor whitespace problems.

Submitted by: John Wehle

19 years agoDon't allow reads past the end of a file.
Scott Long [Wed, 12 Jan 2005 06:17:01 +0000 (06:17 +0000)]
Don't allow reads past the end of a file.

Submitted by: John Wehle, Andriy Gapon
MFC After: 3 days

19 years agoBring some file descriptions in line with reality.
Tim Kientzle [Wed, 12 Jan 2005 05:56:49 +0000 (05:56 +0000)]
Bring some file descriptions in line with reality.

Also, add some hints to help people understand which
functions are most appropriate for typical uses.

19 years agoLet _umtx_op directly return error code rather than from errno because
David Xu [Wed, 12 Jan 2005 05:55:52 +0000 (05:55 +0000)]
Let _umtx_op directly return error code rather than from errno because
errno can be tampered potentially by nested signal handle.
Now all error codes are returned in negative value, positive value are
reserved for future expansion.

19 years agoDon't reprint file names unnecessarily.
Brian Somers [Wed, 12 Jan 2005 04:06:31 +0000 (04:06 +0000)]
Don't reprint file names unnecessarily.

PR: 75028
Submitted by: mteterin at 250-217 dot customer dot cloud9 dot net
MFC after: 7 days

19 years agoFix some signed/unsigned comparisons. Fix prototypes while I'm here.
Brian Somers [Wed, 12 Jan 2005 03:39:34 +0000 (03:39 +0000)]
Fix some signed/unsigned comparisons.  Fix prototypes while I'm here.

PR: 28890
Submitted by: matthias.andree at web dot de
MFC after: 7 days

19 years agoDon't decend into directories when -d is set and the directory itself doesn't
Brian Somers [Wed, 12 Jan 2005 03:25:55 +0000 (03:25 +0000)]
Don't decend into directories when -d is set and the directory itself doesn't
match.

PR: 28095
Submitted by: bill at twwells dot com
MFC after: 7 days

19 years agoSed doesn't grok '[ \t]' -- it doesn't expand the \t :(
Brian Somers [Wed, 12 Jan 2005 01:31:21 +0000 (01:31 +0000)]
Sed doesn't grok '[ \t]' -- it doesn't expand the \t :(

As there are no tabs in maillog, reduce the expression so that only spaces
are used.

Problem raised by:      Leif Neland root at internet dot dk

19 years agoThis commit was generated by cvs2svn to compensate for changes in r140094,
Nate Lawson [Wed, 12 Jan 2005 00:52:40 +0000 (00:52 +0000)]
This commit was generated by cvs2svn to compensate for changes in r140094,
which included commits to RCS files with non-trunk default branches.

19 years agoFix handling of the implicit return case for methods called from an
Nate Lawson [Wed, 12 Jan 2005 00:52:40 +0000 (00:52 +0000)]
Fix handling of the implicit return case for methods called from an
external source (i.e., _STA).  The previous case only handled calls
occurring within AML.  This should fix Toshibas, among others.  Thanks
to Robert Moore of Intel for the fix.

MFC after: 2 days

19 years ago- list the Hama USB RS-232 Serial Adapter as supported
Christian Brueffer [Tue, 11 Jan 2005 23:16:20 +0000 (23:16 +0000)]
- list the Hama USB RS-232 Serial Adapter as supported
- bump .Dd

PR: 76088
Submitted by: Benjamin Lutz <benlutz@datacomm.ch>
MFC after: 3 days

19 years agoRegression tests for [l]lrint[f]() and [l]lround[f]().
David Schultz [Tue, 11 Jan 2005 23:13:36 +0000 (23:13 +0000)]
Regression tests for [l]lrint[f]() and [l]lround[f]().

19 years agoAdd MI implementations of [l]lrint[f]() and [l]lround[f]().
David Schultz [Tue, 11 Jan 2005 23:12:55 +0000 (23:12 +0000)]
Add MI implementations of [l]lrint[f]() and [l]lround[f]().

Discussed with: bde

19 years agoDocument [l]lrint[f]() and [l]lround[f]().
David Schultz [Tue, 11 Jan 2005 23:12:17 +0000 (23:12 +0000)]
Document [l]lrint[f]() and [l]lround[f]().

19 years agoFaster lrint() and llrint() implementations for x86.
David Schultz [Tue, 11 Jan 2005 23:10:53 +0000 (23:10 +0000)]
Faster lrint() and llrint() implementations for x86.

19 years agoMark inline stmxcsr instructions as volatile, since this appears to be
David Schultz [Tue, 11 Jan 2005 22:10:43 +0000 (22:10 +0000)]
Mark inline stmxcsr instructions as volatile, since this appears to be
the only way to convince gcc that they read the MXCSR.  The volatile
annotation may be needed elsewhere as well.

19 years agoAdd missing entry.
Pawel Jakub Dawidek [Tue, 11 Jan 2005 21:15:18 +0000 (21:15 +0000)]
Add missing entry.

Reported by: sos

19 years agoList RFCs under SEE ALSO.
Tom Rhodes [Tue, 11 Jan 2005 21:08:39 +0000 (21:08 +0000)]
List RFCs under SEE ALSO.

PR: 46918

19 years agoDocument that MODULE_DEPEND does not change runtime initialization
Simon L. B. Nielsen [Tue, 11 Jan 2005 20:56:03 +0000 (20:56 +0000)]
Document that MODULE_DEPEND does not change runtime initialization
order.

Mostly submitted by: scottl
Discussed on: cvs-src/src-committers

19 years agoScheduled mdoc(7) sweep.
Ruslan Ermilov [Tue, 11 Jan 2005 20:50:51 +0000 (20:50 +0000)]
Scheduled mdoc(7) sweep.

19 years agoSanitize the markup, as prompted.
Ruslan Ermilov [Tue, 11 Jan 2005 20:16:03 +0000 (20:16 +0000)]
Sanitize the markup, as prompted.

19 years agoGet the vnode from file.f_vnode instead of file.f_data.
Suleiman Souhlal [Tue, 11 Jan 2005 18:52:12 +0000 (18:52 +0000)]
Get the vnode from file.f_vnode instead of file.f_data.

Nowadays, f_data points to the vnode only if the underlying filesystem
doesn't use it for other purposes (devfs uses it to store the cdev,
for example).

Found by: csjp
Reviewed by: csjp
Approved by: phk, wes, grehan (mentor)
MFC after: 1 week

19 years agoRemnant code (broken, unhooked) from a.out which I missed.
Tom Rhodes [Tue, 11 Jan 2005 18:35:40 +0000 (18:35 +0000)]
Remnant code (broken, unhooked) from a.out which I missed.

Noticed by: ru

19 years agoConnect SHSEC GEOM class to the build.
Pawel Jakub Dawidek [Tue, 11 Jan 2005 18:18:40 +0000 (18:18 +0000)]
Connect SHSEC GEOM class to the build.

19 years agoIntroduce a new GEOM class - SHSEC. It provides sharing secret between
Pawel Jakub Dawidek [Tue, 11 Jan 2005 18:06:44 +0000 (18:06 +0000)]
Introduce a new GEOM class - SHSEC. It provides sharing secret between
the given providers. Without even one of the configured components there
should be no way to get the secret.

Supported by: WHEEL Sp. z o.o.
http://www.wheel.pl

19 years agoDocument the -U option a bit more clearly.
Philip Paeps [Tue, 11 Jan 2005 17:16:31 +0000 (17:16 +0000)]
Document the -U option a bit more clearly.

Submitted by: keramida

19 years agoRestore these files to make ldconfig(8) happy.
Tom Rhodes [Tue, 11 Jan 2005 16:40:29 +0000 (16:40 +0000)]
Restore these files to make ldconfig(8) happy.

19 years agoWhen grabbing registers for an lwp, fake the inferior's pid using the
Peter Edwards [Tue, 11 Jan 2005 14:53:16 +0000 (14:53 +0000)]
When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days

19 years agoMake WARNS=6 happy with our init(8):
Xin LI [Tue, 11 Jan 2005 14:34:29 +0000 (14:34 +0000)]
Make WARNS=6 happy with our init(8):
- Use more ``const''s where suitable.
- Define strk() as a static function in global scope.
  This avoids the "nested extern declaration" warnings.
- Use static initialization of strings, rather than
  referring string constants through char *.
- Bump WARNS from 0 to 6.

19 years agoFix incorrect comment.
Pawel Jakub Dawidek [Tue, 11 Jan 2005 14:11:14 +0000 (14:11 +0000)]
Fix incorrect comment.

MFC after: 3 days

19 years agoUtilize callout_pending() macro
Gleb Smirnoff [Tue, 11 Jan 2005 12:20:28 +0000 (12:20 +0000)]
Utilize callout_pending() macro

19 years agoSilently ignore forced argument to unmount.
Poul-Henning Kamp [Tue, 11 Jan 2005 12:02:26 +0000 (12:02 +0000)]
Silently ignore forced argument to unmount.

19 years ago- Use ng_callout() instead of timeout(9).
Gleb Smirnoff [Tue, 11 Jan 2005 11:59:59 +0000 (11:59 +0000)]
- Use ng_callout() instead of timeout(9).
- Remove spl(9) calls.

XXX: not tested

19 years ago- Use ng_callout() instead of home-grown implementation.
Gleb Smirnoff [Tue, 11 Jan 2005 11:55:56 +0000 (11:55 +0000)]
- Use ng_callout() instead of home-grown implementation.

Submitted by: emax

19 years ago- Use ng_callout() instead of callout_reset(9).
Gleb Smirnoff [Tue, 11 Jan 2005 11:51:17 +0000 (11:51 +0000)]
- Use ng_callout() instead of callout_reset(9).
- Use callout_pending() instead of our own flags.
- Remove home-grown protection of node, which has a scheduled
  callout().
- Remove spl(9) calls.

Tested by: bz

19 years agoScheduled mdoc(7) sweep.
Ruslan Ermilov [Tue, 11 Jan 2005 11:47:22 +0000 (11:47 +0000)]
Scheduled mdoc(7) sweep.

19 years agoThis file fell out of the list when adding bufsync.
Poul-Henning Kamp [Tue, 11 Jan 2005 11:36:26 +0000 (11:36 +0000)]
This file fell out of the list when adding bufsync.

19 years agoAdd -q to usage() and mark the "index" argument as optional.
Ruslan Ermilov [Tue, 11 Jan 2005 11:23:59 +0000 (11:23 +0000)]
Add -q to usage() and mark the "index" argument as optional.

19 years ago- mdoc(7) cleanup.
Simon L. B. Nielsen [Tue, 11 Jan 2005 10:59:31 +0000 (10:59 +0000)]
- mdoc(7) cleanup.
- Bump document date for last content change.

Extended mdoc clue: ru

19 years agoOops, the < in arg1=< is optional - treat it as such!
Brian Somers [Tue, 11 Jan 2005 10:54:38 +0000 (10:54 +0000)]
Oops, the < in arg1=< is optional - treat it as such!

19 years agoAdd -c to SYNOPSIS and usage().
Ruslan Ermilov [Tue, 11 Jan 2005 10:53:09 +0000 (10:53 +0000)]
Add -c to SYNOPSIS and usage().

19 years agoFix a typo in a comment that may be confusing if one doesn't really
Giorgos Keramidas [Tue, 11 Jan 2005 10:47:51 +0000 (10:47 +0000)]
Fix a typo in a comment that may be confusing if one doesn't really
check what the code does.  Separators are spaces, commas or tabs;
not '*' characters (as one may assume by reading the old comment).

19 years agoAdd BO_SYNC() and add a default which uses the secret vnode pointer
Poul-Henning Kamp [Tue, 11 Jan 2005 10:43:08 +0000 (10:43 +0000)]
Add BO_SYNC() and add a default which uses the secret vnode pointer
and VOP_FSYNC() for now.

19 years agoScheduled mdoc(7) sweep.
Ruslan Ermilov [Tue, 11 Jan 2005 10:32:52 +0000 (10:32 +0000)]
Scheduled mdoc(7) sweep.

19 years agoFormatting fixes.
Ruslan Ermilov [Tue, 11 Jan 2005 10:32:29 +0000 (10:32 +0000)]
Formatting fixes.

(This exposes a bug in mdoc(7) for which a patch has been sent upstream.)

19 years agoMore vnode -> bufobj migration.
Poul-Henning Kamp [Tue, 11 Jan 2005 10:16:39 +0000 (10:16 +0000)]
More vnode -> bufobj migration.

19 years agoGive flushbuflist() a struct bufv as first argument and avoid home-rolling
Poul-Henning Kamp [Tue, 11 Jan 2005 10:01:54 +0000 (10:01 +0000)]
Give flushbuflist() a struct bufv as first argument and avoid home-rolling
TAILQ_FOREACH_SAFE().

Loose the error pointer argument and return any errors the normal way.

Return EAGAIN for the case where more work needs to be done.

19 years agoWrap the bufobj operations in macros: BO_STRATEGY() and BO_WRITE()
Poul-Henning Kamp [Tue, 11 Jan 2005 09:10:46 +0000 (09:10 +0000)]
Wrap the bufobj operations in macros: BO_STRATEGY() and BO_WRITE()

19 years agoThe total sum of blocks for the -l and -s option is printed always,
Joerg Wunsch [Tue, 11 Jan 2005 08:51:21 +0000 (08:51 +0000)]
The total sum of blocks for the -l and -s option is printed always,
regardless whether the output is to a terminal or not.  As this is
consistent with the SUSPv2 specification (even though we do not
otherwise fully implement SUSPv2's ls(1) options), document this as it
is now, rather than trying to change the behaviour itself.

PR: docs/76072
Submitted by: Sebastian Rey <Sebastian.rey@gmx.net>
MFC after: 1 week

19 years ago- allow a device hint to disable probing a slot on a Uninorth PCI bus.
Peter Grehan [Tue, 11 Jan 2005 08:09:50 +0000 (08:09 +0000)]
- allow a device hint to disable probing a slot on a Uninorth PCI bus.
  e.g. at the loader:

set hint.pcib.1.skipslot=26

  This allows undocumented and problematic hardware on some systems
  to be ignored, for instance, the USB keyboard/mouse that shows up
  on a 12" albook that doesn't exist nor do anything other than eat up
  the syscons keyboard. Another one is the unused USB cell in the old
  366MHz iBook that locks up the machine when probed.

  In a way this is temporary, since there are better fixes for the
  above problems, but will be useful in the meantime by allowing
  a keyboard to be used to help debug said fixes :)

- while here remove some trailing white space

19 years agoRemove the unused credential argument from VOP_FSYNC() and VFS_SYNC().
Poul-Henning Kamp [Tue, 11 Jan 2005 07:36:22 +0000 (07:36 +0000)]
Remove the unused credential argument from VOP_FSYNC() and VFS_SYNC().

I'm not sure why a credential was added to these in the first place, it is
not used anywhere and it doesn't make much sense:

The credentials for syncing a file (ability to write to the
file) should be checked at the system call level.

Credentials for syncing one or more filesystems ("none")
should be checked at the system call level as well.

If the filesystem implementation needs a particular credential
to carry out the syncing it would logically have to the
cached mount credential, or a credential cached along with
any delayed write data.

Discussed with: rwatson

19 years agoMFp4:
Warner Losh [Tue, 11 Jan 2005 07:34:13 +0000 (07:34 +0000)]
MFp4:

sc_child isn't used on FreeBSD, so ifdef it out in a way that is
NetBSD mergeable.

19 years agoRevert part of last commit that was unintentional
Warner Losh [Tue, 11 Jan 2005 07:18:17 +0000 (07:18 +0000)]
Revert part of last commit that was unintentional

19 years agodon't see NBPFILTER.
Hajimu UMEMOTO [Tue, 11 Jan 2005 07:17:33 +0000 (07:17 +0000)]
don't see NBPFILTER.

19 years agoremove HAVE_OLD_BPF part.
Hajimu UMEMOTO [Tue, 11 Jan 2005 07:14:37 +0000 (07:14 +0000)]
remove HAVE_OLD_BPF part.

19 years agowe are not OLD_BPF system.
Hajimu UMEMOTO [Tue, 11 Jan 2005 07:08:15 +0000 (07:08 +0000)]
we are not OLD_BPF system.

19 years agofix typo.
Hajimu UMEMOTO [Tue, 11 Jan 2005 07:05:56 +0000 (07:05 +0000)]
fix typo.

19 years agoAdd a few cards from NetBSD. They don't work yet, since the code to
Warner Losh [Tue, 11 Jan 2005 06:48:38 +0000 (06:48 +0000)]
Add a few cards from NetBSD.  They don't work yet, since the code to
read the ethernet address from the attribute space hasn't been
implemented.  Also add flags for the MBH10302.  The flags and maddr
fields will be used when reading from the attribute space...

19 years agoUse the standard FreeBSD license
Warner Losh [Tue, 11 Jan 2005 06:24:40 +0000 (06:24 +0000)]
Use the standard FreeBSD license

19 years agonits
Warner Losh [Tue, 11 Jan 2005 06:22:48 +0000 (06:22 +0000)]
nits

19 years agoRemove a.out runtime linker. It doesn't build and was removed from the
Tom Rhodes [Tue, 11 Jan 2005 06:15:19 +0000 (06:15 +0000)]
Remove a.out runtime linker.  It doesn't build and was removed from the
build over two years ago by peter.

The binary a.out version of ld.so can be obtained from misc/compat22 or
src/lib/compat/compat22.

Discussed on: -arch
Voted yes: jhb, ru, linimon, delphij

19 years agoThe card activation failured message is lame, and not done for other
Warner Losh [Tue, 11 Jan 2005 05:38:01 +0000 (05:38 +0000)]
The card activation failured message is lame, and not done for other
busses, nor for the 16-bit cards.  Eliminate it.

19 years ago/* -> /*- for a second clause
Warner Losh [Tue, 11 Jan 2005 05:34:14 +0000 (05:34 +0000)]
/* -> /*- for a second clause

19 years agoUse the FreeBSD standard license, since there's no reason to use the
Warner Losh [Tue, 11 Jan 2005 05:33:18 +0000 (05:33 +0000)]
Use the FreeBSD standard license, since there's no reason to use the
version I have here.

19 years agoKAME-IPSEC has already supports TCP_SIGNATURE(IPv4)
SUZUKI Shinsuke [Tue, 11 Jan 2005 04:24:17 +0000 (04:24 +0000)]
KAME-IPSEC has already supports TCP_SIGNATURE(IPv4)

19 years agoThere are no PC98 amd64 machines, so gc a few stray ifdefs.
Warner Losh [Tue, 11 Jan 2005 03:44:17 +0000 (03:44 +0000)]
There are no PC98 amd64 machines, so gc a few stray ifdefs.

19 years agoWhile we want the recursion protection for the bucket zones so that
Bosko Milekic [Tue, 11 Jan 2005 03:33:09 +0000 (03:33 +0000)]
While we want the recursion protection for the bucket zones so that
recursion from the VM is handled (and the calling code that allocates
buckets knows how to deal with it), we do not want to prevent allocation
from the slab header zones (slabzone and slabrefzone) if uk_recurse is
not zero for them.  The reason is that it could lead to NULL being
returned for the slab header allocations even in the M_WAITOK
case, and the caller can't handle that (this is also explained in a
comment with this commit).

The problem analysis is documented in our mailing lists:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=153445+0+archive/2004/freebsd-current/20041231.freebsd-current

(see entire thread for proper context).

Crash dump data provided by: Peter Holm <peter@holm.cc>

19 years agoAdjust the mail reject output so that it gives an abreviated reason for the
Brian Somers [Tue, 11 Jan 2005 02:08:53 +0000 (02:08 +0000)]
Adjust the mail reject output so that it gives an abreviated reason for the
reject.  For example:

Checking for rejected mail hosts:
  48 getherbalnow.info (451... resolve)
  46 absorb.com (451... resolve)
   4 tgmart01.codns.com (553... exist)
   3 kali.com.cn (451... resolve)
   2 genie.com (451... resolve)
   1 zv.qy (553... exist)
   1 zd.hinet.hr (553... exist)
   ....

The bit in parenthesis is the reject code and the last word on the line -
enough to give the admin a better chance of seeing real problems (hopefully!).

While I'm here, remove the "<" at the start of rejects coming from "from"
addresses without a name@ part.

I had to rewrite the patch given by the submitter as this script has been
sed'ified (used to be perl) and I think the reject code is useful....

PR: 17377
Idea from: root at ns dot internet dot dk
MFC after: 7 days

19 years agoCollapse "fgrep | egrep | sed" down to a single sed.
Brian Somers [Tue, 11 Jan 2005 01:47:44 +0000 (01:47 +0000)]
Collapse "fgrep | egrep | sed" down to a single sed.

This also trims extraneous commas from domain names.

MFC after: 7 days

19 years agoMake default RFCOMM session MTU match default L2CAP MTU.
Maksim Yevmenkin [Tue, 11 Jan 2005 01:39:53 +0000 (01:39 +0000)]
Make default RFCOMM session MTU match default L2CAP MTU.

This is just a workaround for a know problem with Motorola E1000
phone. Something is wrong with the configuration of L2CAP/RFCOMM
channel. Even though we set L2CAP MTU to 132 bytes (default RFCOMM
MTU 127 + 5 bytes RFCOMM frame header) and the phone accepts it,
the phone still sends oversized L2CAP packets. It appears that the
phone wants to use bigger (667 bytes) RFCOMM frames, but it does
not segment them according to the configured L2CAP MTU. The 667
bytes RFCOMM frame size corresponds to the default L2CAP MTU of
672 bytes (667 + 5 bytes RFCOMM frame header).

This problem only appears if connection was initiated from the
phone. I'm not sure who is at fault here, so for now just put
workaround in place. Quick look at the spec did not reveal any
anwser.

Tested by: Jes < jjess at freebsd dot polarhome dot com >
MFC after: 3 days

19 years agoFinal attempt to make aha 1542A working. If not, oh well, I don't
Warner Losh [Tue, 11 Jan 2005 01:17:07 +0000 (01:17 +0000)]
Final attempt to make aha 1542A working.  If not, oh well, I don't
have the card and no way to reproduce problems.  We do this by
applying the workaround to firmware revsion 0.

PR: 14334

19 years agopuc handles this card, so remove it from here.
Warner Losh [Tue, 11 Jan 2005 00:53:58 +0000 (00:53 +0000)]
puc handles this card, so remove it from here.

PR: 48468

19 years agoAnother prism2 card (not sure what, if anything, is needed for >=5)
Warner Losh [Tue, 11 Jan 2005 00:40:00 +0000 (00:40 +0000)]
Another prism2 card (not sure what, if anything, is needed for >=5)

Pr: 43805

19 years agoProperly calculate the offset in mapping the memory of pccards. This
Warner Losh [Tue, 11 Jan 2005 00:32:43 +0000 (00:32 +0000)]
Properly calculate the offset in mapping the memory of pccards.  This
allows my 3com cards to work again.  It appears that this code was
once there, but I removed it when I added the alignment issues.

MFC After: 5 days
PR: 70639 (and likely others)

19 years ago1. s/women/woman/ when the singular is intended
Doug Barton [Tue, 11 Jan 2005 00:25:38 +0000 (00:25 +0000)]
1. s/women/woman/ when the singular is intended
2. Remove some duplicates
3. Slightly improve a punch line, "and then cut off her head"
instead of "and cut her head off."

19 years agoAdd support for ptrace() and gdb breakpoints.
Olivier Houchard [Mon, 10 Jan 2005 22:43:16 +0000 (22:43 +0000)]
Add support for ptrace() and gdb breakpoints.

19 years agoDon't assume pmap_update() will cpwait for us, pmap_update will disappear soon.
Olivier Houchard [Mon, 10 Jan 2005 22:41:08 +0000 (22:41 +0000)]
Don't assume pmap_update() will cpwait for us, pmap_update will disappear soon.

19 years agoISO C requires at least one element in an initialiser list.
Stefan Farfeleder [Mon, 10 Jan 2005 20:30:04 +0000 (20:30 +0000)]
ISO C requires at least one element in an initialiser list.

19 years agoBump WARNS to 4 as this seems OK on the alpha now.
David Malone [Mon, 10 Jan 2005 20:22:37 +0000 (20:22 +0000)]
Bump WARNS to 4 as this seems OK on the alpha now.

19 years agoCast size_t to off_t before adding them to avoid warnings on the alpha.
David Malone [Mon, 10 Jan 2005 20:19:46 +0000 (20:19 +0000)]
Cast size_t to off_t before adding them to avoid warnings on the alpha.
Use %ld and intmax_t for printing an off_t.

19 years agoSome variables became unused or global in the last change to this
David Malone [Mon, 10 Jan 2005 20:16:08 +0000 (20:16 +0000)]
Some variables became unused or global in the last change to this
file. Remove the now redundant declarations.

Add declarations for the new show and set_events functions and make
them static.

19 years agoForgot to submit a fixed version of this script to Simon.
Ruslan Ermilov [Mon, 10 Jan 2005 18:54:55 +0000 (18:54 +0000)]
Forgot to submit a fixed version of this script to Simon.

19 years agoAdd support files for using text from the POSIX specification in
Simon L. B. Nielsen [Mon, 10 Jan 2005 18:09:17 +0000 (18:09 +0000)]
Add support files for using text from the POSIX specification in
FreeBSD manual pages:

- POSIX-copyright contains copyright text to be used in manual pages
  which has POSIX text inserted.
- deshallify.sh is a shell script which removes many of the ``shall''
  statements from the POSIX text and therefore making the text more
  readable.

Real work to make this happen by: nectar, ru

19 years agomdoc style nit: "\-" should only be used to represent a minus sign.
Giorgos Keramidas [Mon, 10 Jan 2005 16:31:39 +0000 (16:31 +0000)]
mdoc style nit: "\-" should only be used to represent a minus sign.

Suggested by: ru

19 years agoScheduled mdoc(7) sweep.
Ruslan Ermilov [Mon, 10 Jan 2005 16:17:34 +0000 (16:17 +0000)]
Scheduled mdoc(7) sweep.

19 years ago/usr/lib doesn't contain only archive (ar(1) style) libraries. Shared
Giorgos Keramidas [Mon, 10 Jan 2005 16:06:13 +0000 (16:06 +0000)]
/usr/lib doesn't contain only archive (ar(1) style) libraries.  Shared
libraries live there too.  Also point to ar(1) which contains a nice
description of what an 'archive library' is.

PR: docs/76056
Submitted by: Enrique Matías Sanchez <cronopios@gmail.com>
MFC after: 3 days

19 years agowhitespace
Poul-Henning Kamp [Mon, 10 Jan 2005 13:09:33 +0000 (13:09 +0000)]
whitespace

19 years agofixed an unexpected addr/port matching failure in IPv6 SA management
SUZUKI Shinsuke [Mon, 10 Jan 2005 13:06:42 +0000 (13:06 +0000)]
fixed an unexpected addr/port matching failure in IPv6 SA management

PR: kern/72393
MFC after: 3 days