]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoNew release notes: IPFIREWALL_FORWARD_EXTENDED removed (+MFC),
Bruce A. Mah [Thu, 24 Aug 2006 14:45:56 +0000 (14:45 +0000)]
New release notes:  IPFIREWALL_FORWARD_EXTENDED removed (+MFC),
fsdb(8) btime.

Modified release notes: Changed Xbox note to only point to the
platforms page (there are pointers to additional information
there)...note MFC.

MFCs noted:  IPFilter 4.1.13.

18 years agoProperly lock ifmedia callbacks. This should prevent concurrent access to PHY.
Oleg Bulyzhin [Thu, 24 Aug 2006 14:41:16 +0000 (14:41 +0000)]
Properly lock ifmedia callbacks. This should prevent concurrent access to PHY.
Following issues should be resolved:
- random watchdog timeouts (caused by concurrent phy access)
- some link state issues
- non working TX if media type was set explicitly

PR: kern/98738
Approved by: glebius (mentor)
MFC after: 2 weeks

18 years agoAdd a note that the btime command only works on UFS2.
Ceri Davies [Thu, 24 Aug 2006 09:14:02 +0000 (09:14 +0000)]
Add a note that the btime command only works on UFS2.

Suggested by: maxim (who had also done the btime patch independently).

18 years agoSpellcheck.
Ruslan Ermilov [Thu, 24 Aug 2006 08:00:02 +0000 (08:00 +0000)]
Spellcheck.

18 years agoAdd basic support for PowerPC. This excludes kgdb(1).
Marcel Moolenaar [Thu, 24 Aug 2006 02:44:59 +0000 (02:44 +0000)]
Add basic support for PowerPC. This excludes kgdb(1).

18 years agoThis commit was generated by cvs2svn to compensate for changes in r161561,
Marcel Moolenaar [Thu, 24 Aug 2006 02:43:20 +0000 (02:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161561,
which included commits to RCS files with non-trunk default branches.

18 years agoAdd support for PowerPC. These files are added onto the FSF branch
Marcel Moolenaar [Thu, 24 Aug 2006 02:43:20 +0000 (02:43 +0000)]
Add support for PowerPC. These files are added onto the FSF branch
to avoid future conflicts.

18 years agoAdd rs6000 to the architectures on PowerPC. It's needed by gdb(1).
Marcel Moolenaar [Thu, 24 Aug 2006 02:36:21 +0000 (02:36 +0000)]
Add rs6000 to the architectures on PowerPC. It's needed by gdb(1).

18 years agoFix path for source file in files.FOO.
Roman Kurakin [Wed, 23 Aug 2006 23:51:29 +0000 (23:51 +0000)]
Fix path for source file in files.FOO.

18 years agoAllow fsdb to manipulate the birthtime entries on UFS2.
Ceri Davies [Wed, 23 Aug 2006 22:44:00 +0000 (22:44 +0000)]
Allow fsdb to manipulate the birthtime entries on UFS2.

Approved by: jhb
MFC after: 1 month

18 years agoCorrect buffer overflow in the handling of LCP options in ppp(4)
Colin Percival [Wed, 23 Aug 2006 22:06:08 +0000 (22:06 +0000)]
Correct buffer overflow in the handling of LCP options in ppp(4)

Security: FreeBSD-SA-06:18.ppp

18 years agoRemove special handling for PC == 0. With this, kgdb can now properly
John Baldwin [Wed, 23 Aug 2006 19:16:17 +0000 (19:16 +0000)]
Remove special handling for PC == 0.  With this, kgdb can now properly
unwind across a page fault due to a null function pointer.  It does a
better job than ddb now in fact.

Reviewed by: marcel
MFC after: 3 days

18 years agoSet alarm timer for grace period from the grace_period variable, instead
Thomas Quinot [Wed, 23 Aug 2006 15:59:43 +0000 (15:59 +0000)]
Set alarm timer for grace period from the grace_period variable, instead
of hard-coding a value of 10 seconds. Command line flag -g is thus now
correctly taken into account.

PR: bin/102176
MFC after: 1 week

18 years agoPack several boolean fields into single bge_flags field.
Gleb Smirnoff [Wed, 23 Aug 2006 15:37:07 +0000 (15:37 +0000)]
Pack several boolean fields into single bge_flags field.

18 years agoA pipe bandwidth of 10MBits/s should probably
David Malone [Wed, 23 Aug 2006 14:29:18 +0000 (14:29 +0000)]
A pipe bandwidth of 10MBits/s should probably
be understood as    10Mbits/s not 10MBytes/s.

Submitted by: Gavin McCullagh <gavin.mccullagh@nuim.ie>
MFC after: 1 week

18 years agoRemove alpha-specific stuff.
Ruslan Ermilov [Wed, 23 Aug 2006 12:14:26 +0000 (12:14 +0000)]
Remove alpha-specific stuff.

Approved by: marcel

18 years agoRemove alpha-specific stuff.
Ruslan Ermilov [Wed, 23 Aug 2006 12:12:56 +0000 (12:12 +0000)]
Remove alpha-specific stuff.

18 years agoPack several boolean fields into single bge_flags field.
Gleb Smirnoff [Wed, 23 Aug 2006 11:32:54 +0000 (11:32 +0000)]
Pack several boolean fields into single bge_flags field.

18 years agoRecognize the existence of `auth' and `auth-type'
Yaroslav Tykhiy [Wed, 23 Aug 2006 09:54:46 +0000 (09:54 +0000)]
Recognize the existence of `auth' and `auth-type'
capabilities but tell they do nothing in the base system.

This is a late responce to
http://docs.freebsd.org/cgi/mid.cgi?ED759F1DC5ADD74592DD063B1EDEDAF803ACD2B5
.

Obtained from: OpenBSD (wording; with minor corrections)

18 years agoPOSIX requires that higher numerical values for the priority represent
David Xu [Wed, 23 Aug 2006 07:22:25 +0000 (07:22 +0000)]
POSIX requires that higher numerical values for the priority represent
higher priorities, so we should reverse the passed value here.

18 years agosendmail 8.13.8 has been merged to other version branches
Gregory Neil Shapiro [Wed, 23 Aug 2006 03:42:36 +0000 (03:42 +0000)]
sendmail 8.13.8 has been merged to other version branches

18 years agoUpdate for PowerPC support. We need to keep rs6000 related files.
Marcel Moolenaar [Wed, 23 Aug 2006 03:30:33 +0000 (03:30 +0000)]
Update for PowerPC support. We need to keep rs6000 related files.

18 years agoImport files needed for PowerPC support and not included in the
Marcel Moolenaar [Wed, 23 Aug 2006 03:28:37 +0000 (03:28 +0000)]
Import files needed for PowerPC support and not included in the
original GDB 6.1.1 import.

18 years agoThis commit was generated by cvs2svn to compensate for changes in r161537,
Marcel Moolenaar [Wed, 23 Aug 2006 03:28:37 +0000 (03:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161537,
which included commits to RCS files with non-trunk default branches.

18 years ago(media_status): Factor common code between IFM_ETHER and IFM_ATM cases.
Thomas Quinot [Tue, 22 Aug 2006 23:49:36 +0000 (23:49 +0000)]
(media_status): Factor common code between IFM_ETHER and IFM_ATM cases.
(print_media_word, print_media_word_ifconfig): Remove unnecessary
goto following test for null desc.

PR: bin/102354
Submitted by: Ricardo Nabinger Sanchez <rnsanchez@gmail.com>
MFC after: 1 week

18 years agoFix example:
Ruslan Ermilov [Tue, 22 Aug 2006 16:21:16 +0000 (16:21 +0000)]
Fix example:

/conf/base/diskless_remount -> /conf/base/etc/diskless_remount

MFC after: 3 days

18 years ago- Add ypserv to the REQUIRE list.
Florent Thoumie [Tue, 22 Aug 2006 14:58:23 +0000 (14:58 +0000)]
- Add ypserv to the REQUIRE list.

Reported by: David Thompson <dat1965@yahoo.com>
Discussed on: -rc (brooks)
Approved by: cperciva (mentor, implicit)
MFC after: 3 days

18 years agoBackout this commit since it breaks startup and some scripts in
Florent Thoumie [Tue, 22 Aug 2006 11:17:29 +0000 (11:17 +0000)]
Backout this commit since it breaks startup and some scripts in
certain conditions. I haven't been able to find a better solution yet:

    - Set a two read-only variables (${prefix} and ${etcdir}). This is
    especially useful when using /etc/rc.d scripts with third-party
    software installed from ports.
    - Fix rc.d/sshd to work with openssh from ports using ${etcdir}
    instead of hardcoded /etc.
    - Reflect prefix/etcdir changes in rc.subr.8.

        src/etc/rc.d/sshd: rev 1.9 -> 1.10
        src/etc/rc.subr: rev 1.51 -> 1.52
        src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12

Approved by: cperciva (mentor)

18 years ago- Remove ramdisk rc.d scripts since they've been replaced by mdconfig{,2}.
Florent Thoumie [Tue, 22 Aug 2006 11:12:09 +0000 (11:12 +0000)]
- Remove ramdisk rc.d scripts since they've been replaced by mdconfig{,2}.
- Update ObsoleteFiles.inc.

Approved by: cperciva (mentor)

18 years agoRemove alpha left-overs.
Ruslan Ermilov [Tue, 22 Aug 2006 08:03:01 +0000 (08:03 +0000)]
Remove alpha left-overs.

18 years agoBuild mount_smbfs on ia64.
Marcel Moolenaar [Tue, 22 Aug 2006 03:31:24 +0000 (03:31 +0000)]
Build mount_smbfs on ia64.

18 years agoBuild libsmb and smbutil on ia64.
Marcel Moolenaar [Tue, 22 Aug 2006 03:22:17 +0000 (03:22 +0000)]
Build libsmb and smbutil on ia64.

18 years agoFix misalignment bugs caused by invalid type casts of pointers
Marcel Moolenaar [Tue, 22 Aug 2006 03:05:51 +0000 (03:05 +0000)]
Fix misalignment bugs caused by invalid type casts of pointers
returned by md_reserve(). Space reserved by mb_reserve() is
byte aligned and need to be used in conjunction with le16enc()
and le32enc().

Tested on: ia64

18 years agoIt seems that em(4) misses Tx completion interrupts under certain
Pyun YongHyeon [Tue, 22 Aug 2006 02:32:48 +0000 (02:32 +0000)]
It seems that em(4) misses Tx completion interrupts under certain
conditions. The cause of missing Tx completion interrupts comes from
Tx interrupt moderation mechanism(delayed interrupts) or chipset bug.
If Tx interrupt moderation mechanism is the cause of false watchdog
timeout error we should have to fix all device drivers that have Tx
interrupt moderation capability. We may need more investigation
for this issue. Anyway, the fix is the same for both cases.

This should fix occasional watchdog timeout errors seen on a few
systems.

Reported by: -net, Patrick M. Hausen < hausen AT punkt DOT de >
Tested by: Patrick M. Hausen < hausen AT punkt DOT de >

18 years agoRemove alpha left-overs.
Marcel Moolenaar [Mon, 21 Aug 2006 19:49:57 +0000 (19:49 +0000)]
Remove alpha left-overs.

18 years agoUse aperture base address from north bridge. Some BIOS does not encode
Jung-uk Kim [Mon, 21 Aug 2006 19:10:58 +0000 (19:10 +0000)]
Use aperture base address from north bridge.  Some BIOS does not encode
misc. control registers correctly and it is inconsistent with north bridge.
In fact, there are too many broken BIOS implementations out there and we
cannot fix every possible combination but at least it is consistent with
what we advertise with ioctl(2).

18 years agoBuild gperf(1) for/on PowerPC. There's no apparent reason not to
Marcel Moolenaar [Mon, 21 Aug 2006 18:25:43 +0000 (18:25 +0000)]
Build gperf(1) for/on PowerPC. There's no apparent reason not to
build it and nothing can be found in the commit logs. We won't
know if there are runtime problems, until we build it...

18 years agoMinor style(9) treatment to make things a little more consistant
Warner Losh [Mon, 21 Aug 2006 17:32:50 +0000 (17:32 +0000)]
Minor style(9) treatment to make things a little more consistant
within iicbus code.

18 years agoWhile checking for update of snapshot file in the ffs_copyonwrite,
Konstantin Belousov [Mon, 21 Aug 2006 17:20:19 +0000 (17:20 +0000)]
While checking for update of snapshot file in the ffs_copyonwrite,
first filter out metadata update. Otherwise, devfs vnode could be
erronously interpreted as ufs one, causing further check of i_flags
to use random memory.

PR: kern/100365
Debugged and fix described by: tegge
Approved by: pjd (mentor)
MFC after: 2 weeks

18 years agoRevert the addition of -p. It's flawed in that dhclient should not run
Brian Somers [Mon, 21 Aug 2006 16:31:31 +0000 (16:31 +0000)]
Revert the addition of -p.  It's flawed in that dhclient should not run
on an interface without carrier.  devd should be used instead to handle
link up/down events.

Put on the right path by: brooks, sam

18 years agoIf __ARMEB__ is defined, we're already using the network byte order, so
Olivier Houchard [Mon, 21 Aug 2006 14:42:47 +0000 (14:42 +0000)]
If __ARMEB__ is defined, we're already using the network byte order, so
there's no need to to anything in the hton* functions, beside returning
the parameter.

Spotted out by: Oleksandr Tymoshenko <gonzo@freebsd.org>

18 years agoImplement 'camcontrol reportluns'. This allows users to send the SCSI
Kenneth D. Merry [Mon, 21 Aug 2006 13:24:50 +0000 (13:24 +0000)]
Implement 'camcontrol reportluns'.  This allows users to send the SCSI
REPORT LUNS command to a device.

camcontrol.[c8]: Implement reportluns.  This tries to print the LUNs
out in a reasonable format.  Only the periph
addressing method has been tested, since very little
hardware that I know of supports the other methods.

scsi_all.[ch]: Revamp the report luns CDB structure and helper
functions.  This constitutes a little bit of an API
change, but since the old CDB length was 10 bytes,
and the REPORT LUNS CDB length is actually 12 bytes,
it's clear that no one was using this API in the
first place.

MFC After: 1 week

18 years agoNote that LK_UPGRADE may drop the shared lock before taking the
Konstantin Belousov [Mon, 21 Aug 2006 12:45:19 +0000 (12:45 +0000)]
Note that LK_UPGRADE may drop the shared lock before taking the
exclusive one.

Reviewed and edited by: tegge
MFC after: 3 days
Approved by: pjd (mentor)

18 years agoAdd several missing NIC drivers, remove two obsolete ones (el, ix).
Christian Brueffer [Mon, 21 Aug 2006 09:25:59 +0000 (09:25 +0000)]
Add several missing NIC drivers, remove two obsolete ones (el, ix).

Approved by: rwatson (mentor)
MFC after: 1 week

18 years agoFix the output glitch.
Ruslan Ermilov [Mon, 21 Aug 2006 09:15:17 +0000 (09:15 +0000)]
Fix the output glitch.

18 years agoAdd _vm_stats and _vm_stats_misc to the sysctl declarations in sysctl.h and
Alan Cox [Mon, 21 Aug 2006 06:27:28 +0000 (06:27 +0000)]
Add _vm_stats and _vm_stats_misc to the sysctl declarations in sysctl.h and
eliminate their declarations from various source files.

18 years agoFor the sake of clarity, explicitly tell that comma and space
Yaroslav Tykhiy [Mon, 21 Aug 2006 03:09:12 +0000 (03:09 +0000)]
For the sake of clarity, explicitly tell that comma and space
characters can be included in a custom column title string --
that's why it may appear at the end of a keyword list argument
only.

18 years agoNew release note: less v394.
Bruce A. Mah [Mon, 21 Aug 2006 00:59:40 +0000 (00:59 +0000)]
New release note:  less v394.

Updated release note:  IPFilter 4.1.13.

18 years agovm_page_zero_idle()'s return value serves no purpose. Eliminate it.
Alan Cox [Mon, 21 Aug 2006 00:55:05 +0000 (00:55 +0000)]
vm_page_zero_idle()'s return value serves no purpose.  Eliminate it.

18 years agoFix RELENG_4 code version- isp_roles wasn't getting initialized so
Matt Jacob [Mon, 21 Aug 2006 00:46:10 +0000 (00:46 +0000)]
Fix RELENG_4 code version- isp_roles wasn't getting initialized so
it ended up defaulting to ISP_ROLE_NONE. My testing hadn't caught it
because I was deliberatly setting role via ioctl.

Thanks to user Toni for lending me an alpha to test this on.

MFC after: 0 days

18 years agoPage flags are reset on (re)allocation. There is no need to clear any
Alan Cox [Mon, 21 Aug 2006 00:34:31 +0000 (00:34 +0000)]
Page flags are reset on (re)allocation.  There is no need to clear any
flags except for PG_ZERO in vm_page_free_toq().

18 years agoRegigle parens to try and get the intended affect. This should fix people
David Malone [Sun, 20 Aug 2006 20:10:36 +0000 (20:10 +0000)]
Regigle parens to try and get the intended affect. This should fix people
having trouble with the "me6" keyword. Also, we were using inet_pton on
the wrong variable in one place.

Reviewed by: mlaier (previous version of patch)
Obtained from: Sascha Blank (inet_pton change)
MFC after: 1 week

18 years agoAdd myself to the FreeBSD callendar. Ooops, it seems like I'm the
Daniel Gerzo [Sun, 20 Aug 2006 18:52:37 +0000 (18:52 +0000)]
Add myself to the FreeBSD callendar. Ooops, it seems like I'm the
second youngest.

Approved by: keramida (mentor)

18 years agoHook lessecho(1) to build.
Xin LI [Sun, 20 Aug 2006 15:52:17 +0000 (15:52 +0000)]
Hook lessecho(1) to build.

18 years agoRegen.
Xin LI [Sun, 20 Aug 2006 15:51:18 +0000 (15:51 +0000)]
Regen.

18 years agoResolve conflicts.
Xin LI [Sun, 20 Aug 2006 15:50:51 +0000 (15:50 +0000)]
Resolve conflicts.

18 years agoThis commit was generated by cvs2svn to compensate for changes in r161475,
Xin LI [Sun, 20 Aug 2006 15:49:51 +0000 (15:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161475,
which included commits to RCS files with non-trunk default branches.

18 years agoImport less v394
Xin LI [Sun, 20 Aug 2006 15:49:51 +0000 (15:49 +0000)]
Import less v394

18 years agoSync the MI parts for amd64 with i386 and remove the corresponding special
Alexander Leidinger [Sun, 20 Aug 2006 13:50:27 +0000 (13:50 +0000)]
Sync the MI parts for amd64 with i386 and remove the corresponding special
handling for amd64 in the common code. The MD parts for amd64 are still
outstanding, but at least this fixes some panics on amd64.

Sponsored by: Google SoC 2006
Submitted by: rdivacky
Tested by: bsam

18 years agoCorrect typo in comment.
Pawel Jakub Dawidek [Sun, 20 Aug 2006 10:52:44 +0000 (10:52 +0000)]
Correct typo in comment.

18 years agoFix a signedness bug.
Colin Percival [Sun, 20 Aug 2006 10:29:08 +0000 (10:29 +0000)]
Fix a signedness bug.

MFC after: 3 days
Security: Local DoS

18 years agoMake the default "init_path" value breakable, so it fits on the
Ruslan Ermilov [Sun, 20 Aug 2006 09:31:17 +0000 (09:31 +0000)]
Make the default "init_path" value breakable, so it fits on the
screen's width, thus eliminating a groff(1) warning.

Suggested by: marck

18 years agoPrefer strlcpy to strncpy. In one case, this saves us from re-zeroing
Warner Losh [Sun, 20 Aug 2006 06:32:40 +0000 (06:32 +0000)]
Prefer strlcpy to strncpy.  In one case, this saves us from re-zeroing
data that's alreday 0.  In another, it saves us from zeroing data that
will be overwritten again.

18 years agoUse strlcpy in place of strncpy + setting the last character NUL. To
Warner Losh [Sun, 20 Aug 2006 06:31:24 +0000 (06:31 +0000)]
Use strlcpy in place of strncpy + setting the last character NUL.  To
be safe, memset the entire msg to '0'.

18 years agoBump date, forgotten in 1.13
Warner Losh [Sun, 20 Aug 2006 05:56:00 +0000 (05:56 +0000)]
Bump date, forgotten in 1.13

18 years agoAdd a few devices that have been added recently.
Warner Losh [Sun, 20 Aug 2006 05:54:45 +0000 (05:54 +0000)]
Add a few devices that have been added recently.

18 years agoFix typo.
Julian Elischer [Sun, 20 Aug 2006 05:42:58 +0000 (05:42 +0000)]
Fix typo.

18 years agoTell in a comment that the symlinks from /usr/bin are
Yaroslav Tykhiy [Sun, 20 Aug 2006 04:25:20 +0000 (04:25 +0000)]
Tell in a comment that the symlinks from /usr/bin are
for compatibility with other OS types, too.

Pointed out by: gad

18 years agoGet rid of some nested includes.
Alexander Leidinger [Sat, 19 Aug 2006 15:13:01 +0000 (15:13 +0000)]
Get rid of some nested includes.

Sponsored by: Google SoC 2006
Submitted by: rdivacky
Noticed by: jhb

18 years agoMALLOC -> malloc and FREE -> free
Suleiman Souhlal [Sat, 19 Aug 2006 11:54:19 +0000 (11:54 +0000)]
MALLOC -> malloc and FREE -> free

Submitted by: rdivacky
Pointed out by: jhb

18 years agoifdef DEBUG a printf
Suleiman Souhlal [Sat, 19 Aug 2006 11:07:22 +0000 (11:07 +0000)]
ifdef DEBUG a printf

Submitted by: rdivacky

18 years agoInstall pkill(1), aka pgrep(1), to /bin so that rc scripts
Yaroslav Tykhiy [Sat, 19 Aug 2006 08:24:01 +0000 (08:24 +0000)]
Install pkill(1), aka pgrep(1), to /bin so that rc scripts
can use this small and nifty utility.  Create compatibility
symlinks from /usr/bin for the time being to avoid breaking
custom scripts relying on the hardcoded path to the utility.

If pkill(1) takes root, its source should be repocopied some
day to src/bin.

Idea by: des
Discussed with: brooks (in cvs-src and cvs-all)

18 years agoUpdate libsupc++ to include missing files. This was fixed in libstdc++
Alexander Kabaev [Sat, 19 Aug 2006 00:52:54 +0000 (00:52 +0000)]
Update libsupc++ to include missing files. This was fixed in libstdc++
a long time ago, but libsupc++ was left out somehow,

PR: gnu/99702
Submitted by: George Mitchell

18 years agocomply with style police
Julian Elischer [Fri, 18 Aug 2006 22:36:05 +0000 (22:36 +0000)]
comply with style police

Submitted by: ru
MFC after: 1 month

18 years agoCopy powerpc ficl files sysdep files (maybe we need a common one)
Warner Losh [Fri, 18 Aug 2006 21:41:43 +0000 (21:41 +0000)]
Copy powerpc ficl files sysdep files (maybe we need a common one)

18 years agoBuild at91
Warner Losh [Fri, 18 Aug 2006 21:37:27 +0000 (21:37 +0000)]
Build at91

18 years agoSupport compiling as part of world
Warner Losh [Fri, 18 Aug 2006 20:26:54 +0000 (20:26 +0000)]
Support compiling as part of world

18 years agoAdd more nForce4 SMBus 2.0 PCI IDs.
Ruslan Ermilov [Fri, 18 Aug 2006 19:56:40 +0000 (19:56 +0000)]
Add more nForce4 SMBus 2.0 PCI IDs.

18 years agoWordsmithing on the ixgb(4) and mxge(4) descriptions.
Christian Brueffer [Fri, 18 Aug 2006 19:03:28 +0000 (19:03 +0000)]
Wordsmithing on the ixgb(4) and mxge(4) descriptions.

Suggested by: ru (ixgb)

18 years agoAdd more modules, correct alphabetical order.
Christian Brueffer [Fri, 18 Aug 2006 17:48:17 +0000 (17:48 +0000)]
Add more modules, correct alphabetical order.

18 years agoAdd the new linux files to pc98 too.
Alexander Leidinger [Fri, 18 Aug 2006 15:46:38 +0000 (15:46 +0000)]
Add the new linux files to pc98 too.

18 years agoDocument a detail in the present syntax of "ps -o foo=bar". Now
Yaroslav Tykhiy [Fri, 18 Aug 2006 14:12:38 +0000 (14:12 +0000)]
Document a detail in the present syntax of "ps -o foo=bar".  Now
the header title string "bar" extends to the end of the argument
even if it contains commas or spaces, unlike in RELENG_4 or earlier.
The modern syntax agrees with SUSv3.

MFC after: 3 days

18 years agoFix a kernel panic based on receiving an ICMPv6 Packet too Big message.
George V. Neville-Neil [Fri, 18 Aug 2006 14:05:13 +0000 (14:05 +0000)]
Fix a kernel panic based on receiving an ICMPv6 Packet too Big message.

PR: 99779
Submitted by: Jinmei Tatuya
Reviewed by: clement, rwatson
MFC after: 1 week

18 years agobge_cksum_pad() can modify the mbuf, thus call it before bus_dmamap_load().
Gleb Smirnoff [Fri, 18 Aug 2006 13:53:53 +0000 (13:53 +0000)]
bge_cksum_pad() can modify the mbuf, thus call it before bus_dmamap_load().

Submitted by: yongari

18 years agoDon't try to start interfaces that don't exist.
Brooks Davis [Fri, 18 Aug 2006 13:19:45 +0000 (13:19 +0000)]
Don't try to start interfaces that don't exist.

Reported by:    Dominique Goncalves <dominique.goncalves at gmail.com>

18 years agoEliminate header line(s) from ps(1) output instead of skipping over them.
Yaroslav Tykhiy [Fri, 18 Aug 2006 13:07:38 +0000 (13:07 +0000)]
Eliminate header line(s) from ps(1) output instead of skipping over them.

18 years agoThe ps(1) command is unfriendly to scripts by default because
Yaroslav Tykhiy [Fri, 18 Aug 2006 12:10:18 +0000 (12:10 +0000)]
The ps(1) command is unfriendly to scripts by default because
it limits the width of its output to the value of $COLUMNS, or
what TIOCGWINSZ reports, or 79 columns.  We should specify -ww
to ps(1) so that it removes the limit and prints lines in full.
Otherwise very long command pathnames could be mishandled, e.g.,
by _find_processes().

MFC after: 1 week

18 years agoUse our standard section 4 SYNOPSIS layout.
Christian Brueffer [Fri, 18 Aug 2006 10:22:36 +0000 (10:22 +0000)]
Use our standard section 4 SYNOPSIS layout.

MFC after: 2 weeks

18 years agoFollow the lead of mxgb(4) and build the module for ixgb(4).
Christian Brueffer [Fri, 18 Aug 2006 10:20:15 +0000 (10:20 +0000)]
Follow the lead of mxgb(4) and build the module for ixgb(4).

Originally it wasn't enabled since the hardware wasn't commonplace,
but as 10GE hardware is becoming more widely used, building the module
by default should be beneficial.

Approved by: rwatson (mentor)
MFC after: 2 weeks

18 years agokern.ipc.nmbclusters is sysctl, not compile-time option. Change Dv to Va.
Dmitry Morozovsky [Fri, 18 Aug 2006 10:15:01 +0000 (10:15 +0000)]
kern.ipc.nmbclusters is sysctl, not compile-time option. Change Dv to Va.

Touch .Dd.

Pointed out by: ru
MFC after: 1 week

18 years agoUpdate JMicron support to also work with chips where the PATA and SATA
Søren Schmidt [Fri, 18 Aug 2006 09:56:12 +0000 (09:56 +0000)]
Update JMicron support to also work with chips where the PATA and SATA
parts are on individual PCI functions.

HW donated by: JMicron

18 years agoRemove references to NMBCLUSTERS which is obsoleted.
Dmitry Morozovsky [Fri, 18 Aug 2006 08:03:06 +0000 (08:03 +0000)]
Remove references to NMBCLUSTERS which is obsoleted.

PR: 100427
Approved by: maxim
MFC after: 1 week

18 years agoAppened ull to a really large integer constant to fix build on i386
Warner Losh [Fri, 18 Aug 2006 00:01:29 +0000 (00:01 +0000)]
Appened ull to a really large integer constant to fix build on i386

18 years agowhile(0); -> while (0) in multiline macro
Warner Losh [Thu, 17 Aug 2006 23:00:33 +0000 (23:00 +0000)]
while(0); -> while (0) in multiline macro

18 years agowhile (0); -> while (0) in multi-line macros
Warner Losh [Thu, 17 Aug 2006 22:50:33 +0000 (22:50 +0000)]
while (0); -> while (0) in multi-line macros

18 years agoAllow ipfw to forward to a destination that is specified by a table.
Julian Elischer [Thu, 17 Aug 2006 22:49:50 +0000 (22:49 +0000)]
Allow ipfw to forward to a destination that is specified by a table.
for example:
  fwd tablearg ip from any to table(1)
where table 1 has entries of the form:
1.1.1.0/24 10.2.3.4
208.23.2.0/24 router2

This allows trivial implementation of a secondary routing table implemented
in the firewall layer.

I expect more work (under discussion with Glebius) to follow this to clean
up some of the messy parts of ipfw related to tables.

Reviewed by: Glebius
MFC after: 1 month

18 years agoDon't put a ; after while (0)
Warner Losh [Thu, 17 Aug 2006 22:42:56 +0000 (22:42 +0000)]
Don't put a ; after while (0)

Submitted by: jmg

18 years ago- disable some more code when osrelease=2.4.2
Alexander Leidinger [Thu, 17 Aug 2006 21:21:30 +0000 (21:21 +0000)]
- disable some more code when osrelease=2.4.2
- protect td->td_proc->p_pid with the proc lock in linux_getpid
  in the amd64 (= non i386) case [1]

Sponsored by: Google SoC 2006
Submitted by: rdivacky
Noticed by: netchild [1]

18 years agoMove some stuff into headers where they belong.
Alexander Leidinger [Thu, 17 Aug 2006 21:06:48 +0000 (21:06 +0000)]
Move some stuff into headers where they belong.

Sponsored by: Google SoC 2006
Submitted by: rdivacky
Noticed by: jhb, ssouhlal

18 years agoMake it a little clearer that interface-specific flags aren't additional
Brian Somers [Thu, 17 Aug 2006 20:13:24 +0000 (20:13 +0000)]
Make it a little clearer that interface-specific flags aren't additional
to specified dhclient flags.

Mention background_dhclient_iface.

Suggested by: ru