]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoMFC: rev. 1.1.1.7 (Check for a failure return from cplus_demangle_type)
obrien [Tue, 29 Jan 2008 16:21:54 +0000 (16:21 +0000)]
MFC: rev. 1.1.1.7 (Check for a failure return from cplus_demangle_type)

16 years ago- MFC file 4.23
rafan [Tue, 29 Jan 2008 10:36:39 +0000 (10:36 +0000)]
- MFC file 4.23

Discussed with: obrien

16 years agoMFC a more limited set of changes that make sense for this branch:
dougb [Tue, 29 Jan 2008 00:33:16 +0000 (00:33 +0000)]
MFC a more limited set of changes that make sense for this branch:

1. GC the nfslocking script, which has been superseded by lockd and statd
2. Add security warning to rc.d/jail
3. Add stop_cmd=':' to those rc.d scripts that do not start services,
but did not already have a stop_cmd.

16 years agoMFC rev. 1.26-1.27
mav [Mon, 28 Jan 2008 19:46:17 +0000 (19:46 +0000)]
MFC rev. 1.26-1.27
Remove one very strange unneded if.
Fix memory leak when export hook is not connected.

16 years agoMFC:
mtm [Mon, 28 Jan 2008 18:55:57 +0000 (18:55 +0000)]
MFC:
Rev. 1.6 made it impossible to use rc.d/kerberos with the krb5 port.
Re-implement the change so that the script once again works with
the krb5 port.

Submitted by: kensmith (slightly modified)

16 years agoMFC: Only reset driver state when a hardware error is detected.
gallatin [Mon, 28 Jan 2008 16:03:13 +0000 (16:03 +0000)]
MFC: Only reset driver state when a hardware error is detected.

16 years agoMFC the purely cosmetic changes, including removal of $NetBSD$ Ids,
dougb [Mon, 28 Jan 2008 08:22:33 +0000 (08:22 +0000)]
MFC the purely cosmetic changes, including removal of $NetBSD$ Ids,
a few spurious #'s, an empty REQUIRE, and a never-used KEYWORD.

16 years agoMFC removal of the redundant ike script. We don't have this in the base,
dougb [Mon, 28 Jan 2008 08:13:20 +0000 (08:13 +0000)]
MFC removal of the redundant ike script. We don't have this in the base,
and the ports versions have their own.

16 years agoMFC 1.20, removal of unnecessary whitespace.
dougb [Mon, 28 Jan 2008 08:08:38 +0000 (08:08 +0000)]
MFC 1.20, removal of unnecessary whitespace.

16 years agoMFC version 1.19, better handling of amd_map_program and move of
dougb [Mon, 28 Jan 2008 08:06:17 +0000 (08:06 +0000)]
MFC version 1.19, better handling of amd_map_program and move of
the pid to command_args.

16 years agoGC this file, which was brought over from NetBSD but never used by us.
dougb [Mon, 28 Jan 2008 08:01:59 +0000 (08:01 +0000)]
GC this file, which was brought over from NetBSD but never used by us.

16 years agoMFC: ver. 1.82-1.83
mtm [Mon, 28 Jan 2008 07:37:08 +0000 (07:37 +0000)]
MFC: ver. 1.82-1.83
Fix an error in bit shifting logic for network addresses. The route
command would add incorrect routing entries if network numbers weren't
fully "spelled" out according to their class. For example:
  # route add 128.0/16   (works)
  # route add 128/16     (doesn't work)
  # route add 193.0.0/24 (works)
  # route add 193/24     (doesn't work)

Also, rework the way a netmask is deduced from network number if
it [netmask] is not specified.

Submitted by: Nuno Antunes <nuno.antunes@gmail.com> (mostly)

16 years agoMFC: rev. 1.42
mtm [Sun, 27 Jan 2008 22:16:03 +0000 (22:16 +0000)]
MFC: rev. 1.42
Clarify in what formats the grouplist for the '-G' switch
may be accepted.

Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>

16 years agoMFC: 1.36
marius [Sun, 27 Jan 2008 17:43:30 +0000 (17:43 +0000)]
MFC: 1.36

Add missing locking for SBus controllers.

16 years agoMFC: A new configuration variable, daily_status_mail_rejects_shorten, allows
dds [Sun, 27 Jan 2008 08:07:15 +0000 (08:07 +0000)]
MFC: A new configuration variable, daily_status_mail_rejects_shorten, allows
the rejected mail reports to tally the rejects per blacklist without
providing details about individual sender hosts.  The default configuration
keeps the reports in their original form.

16 years agoMFC revisions 1.47-1.50.
dds [Sun, 27 Jan 2008 07:38:39 +0000 (07:38 +0000)]
MFC revisions 1.47-1.50.

- Follow POSIX specification when moving a directory to an existing
  directory across devices.

- Improve consistency and remove some style bugs of earlier versions.

This version passes all tests of tools/regression/bin/mv/regress.sh 1.6

PR: bin/118367

16 years agoMFC: 1.4
marius [Sun, 27 Jan 2008 01:00:28 +0000 (01:00 +0000)]
MFC: 1.4

- Remove MIIF_NOISOLATE.
- Fix spelling in a comment.

16 years agoMFC revision 1.7
delphij [Sat, 26 Jan 2008 21:59:10 +0000 (21:59 +0000)]
MFC revision 1.7
date: 2008/01/12 00:11:26;  author: delphij;  state: Exp;  lines: +4 -4
 - Handle the case where interface from "middle" is missing by
   more carefully inspecting the return value from sysctl(3). [1]
 - Use calloc instead of malloc+memset of zero.

Submitted by: Alexander Chernikov <admin su29 net> [1]
PR: bin/119581
MFC after: 2 weeks

16 years agoMFC 1.343: Add support for ATA chipsets that have NULL'd BAR's for legacy
jhb [Sat, 26 Jan 2008 17:09:46 +0000 (17:09 +0000)]
MFC 1.343: Add support for ATA chipsets that have NULL'd BAR's for legacy
ports.

16 years agoMFC: 1.19
keramida [Sat, 26 Jan 2008 11:37:54 +0000 (11:37 +0000)]
MFC: 1.19

Update usage & SYNOPSIS and clarify that input files are not removed.
Sort getopt option handling of -p too, while here.

The changes are adapted from a patch by Ruslan Ermilov, posted as
followup to docs/33852.

PR:             docs/33852
Submitted by:   Gary W. Swearingen <swear@blarg.net>

16 years agoMFC: rev. 1.110
mtm [Sat, 26 Jan 2008 07:08:48 +0000 (07:08 +0000)]
MFC: rev. 1.110
----------------------------------------------------------------------------
Instead of manually freeing the packet options structure (and not even doing
a good job of it) in the copypktopts() function, just call ip6_clearpktopts()
directly. Otherwise, the callers of this function would end up freeing the
memory twice.

Reviewed by: jinmei
PR:          kern/116360
----------------------------------------------------------------------------

16 years agoMFC: 1.430
mnag [Fri, 25 Jan 2008 01:53:08 +0000 (01:53 +0000)]
MFC: 1.430

  - Add new NTP servers provided by NIC.br (http://www.ntp.br)
  - Remove nonfunctional servers

  PR:             119884
  Approved by:    simon

16 years agoMFC: Add support for booting from GPT-labeled disks from the BIOS. This
jhb [Thu, 24 Jan 2008 22:23:22 +0000 (22:23 +0000)]
MFC: Add support for booting from GPT-labeled disks from the BIOS.  This
includes /boot/pmbr, /boot/gptboot, and 'gpt boot'.

16 years agoMFC: Expose smoothed RTT and RTT variance measurements to userland via
jhb [Thu, 24 Jan 2008 21:37:18 +0000 (21:37 +0000)]
MFC: Expose smoothed RTT and RTT variance measurements to userland via
socket option TCP_INFO.

16 years agoMFC file 4.21
rafan [Thu, 24 Jan 2008 15:47:31 +0000 (15:47 +0000)]
MFC file 4.21

16 years agoMFC:
trhodes [Thu, 24 Jan 2008 09:46:05 +0000 (09:46 +0000)]
MFC:
: ru          2006-03-15 11:17:31 UTC
:
:   FreeBSD src repository
:
:   Modified files:
:     usr.sbin/ntp         Makefile
:     usr.sbin/ntp/doc     Makefile
:   Log:
:   If we don't want HTML docs, we might still want manpages.
:   If we don't want manpages, we might still want HTML docs.
:
:   Revision  Changes    Path
:   1.12      +0 -3      src/usr.sbin/ntp/Makefile
:   1.12      +2 -0      src/usr.sbin/ntp/doc/Makefile

PR: 118261

16 years agoPrevious commit included changes which are invalid for RELENG_6.
des [Thu, 24 Jan 2008 08:20:25 +0000 (08:20 +0000)]
Previous commit included changes which are invalid for RELENG_6.

16 years agoMFC: document environment variables.
des [Thu, 24 Jan 2008 08:17:50 +0000 (08:17 +0000)]
MFC: document environment variables.

16 years agoMFC: namespace pollution cleanup, NO_PROXY support
des [Thu, 24 Jan 2008 08:17:17 +0000 (08:17 +0000)]
MFC: namespace pollution cleanup, NO_PROXY support

16 years agoMFC: rev. 1.65
brueffer [Thu, 24 Jan 2008 05:48:55 +0000 (05:48 +0000)]
MFC: rev. 1.65

Document the 'maintainer' target.

16 years agoMFC:
kensmith [Wed, 23 Jan 2008 20:19:18 +0000 (20:19 +0000)]
MFC:
Add fsck_4.2bsd and fsck_ufs as hard links to fsck_ffs in /stand on
the MFS image so that (for example) "fsck /dev/ad0s1a" will work.
Without this you needed (for example) "fsck -t ffs /dev/ad0s1a" (or
needed to run fsck_ffs instead of fsck).

Versions being MFCed:

        1.62    src/release/amd64/boot_crunch.conf
        1.62    src/release/i386/boot_crunch.conf
        1.12    src/release/ia64/boot_crunch.conf
        1.63    src/release/pc98/boot_crunch.conf
        1.5     src/release/powerpc/boot_crunch.conf
        1.9     src/release/sparc64/boot_crunch.conf
        1.2     src/release/sun4v/boot_crunch.conf

16 years agoMFC v1.12:
kensmith [Wed, 23 Jan 2008 20:05:22 +0000 (20:05 +0000)]
MFC v1.12:
Update EDITOR and PAGER environment variables so they are correct for
the CDROM fixit environment.

Noticed by:     gallatin

16 years agoMFC: Don't cache the new-bus name of a PCI device in the PCI conf
jhb [Wed, 23 Jan 2008 18:05:34 +0000 (18:05 +0000)]
MFC: Don't cache the new-bus name of a PCI device in the PCI conf
structure.

16 years agoMFC: Fix some minor issues such as using read/modify/write for updating
jhb [Wed, 23 Jan 2008 18:03:15 +0000 (18:03 +0000)]
MFC: Fix some minor issues such as using read/modify/write for updating
the configuration register and add a header file to hold HPET register
constants.

16 years agoMFC: Update openpty(3) manpage for the recent pty fixes and remove some
jhb [Wed, 23 Jan 2008 17:59:27 +0000 (17:59 +0000)]
MFC: Update openpty(3) manpage for the recent pty fixes and remove some
now-unused macros from grantpt.c.

16 years agoMFC rev 1.71
mav [Wed, 23 Jan 2008 12:17:34 +0000 (12:17 +0000)]
MFC rev 1.71
Fix bundle xmit octets stats for packet-split operation mode.

16 years agoMFC: 1.194
jkim [Tue, 22 Jan 2008 17:13:40 +0000 (17:13 +0000)]
MFC: 1.194

Remove BCM5704S specific tunable (hw.bge.fake_autoneg) and
auto-detect the condition.

PR: kern/118308

16 years agoMFC: 1.201
jkim [Mon, 21 Jan 2008 18:04:41 +0000 (18:04 +0000)]
MFC: 1.201

Fix mbuf pool watermark configuration.

16 years agoMFC:
brueffer [Sun, 20 Jan 2008 21:55:27 +0000 (21:55 +0000)]
MFC:

Manpage for the coretemp(4) driver.

PR: 119837
Submitted by: Dylan Cochran <a134qaed@gmail.com>

16 years agoRevert 1.7.2.1: vlan(4) does use mbuf_tags(9) in RELENG_6.
maxim [Sun, 20 Jan 2008 16:31:39 +0000 (16:31 +0000)]
Revert 1.7.2.1: vlan(4) does use mbuf_tags(9) in RELENG_6.

Noticed by: Alexander V. Chernikov

16 years agoForced commit to note that revision 1.24.2.8 was appropriate for
bmah [Sun, 20 Jan 2008 06:00:02 +0000 (06:00 +0000)]
Forced commit to note that revision 1.24.2.8 was appropriate for
a post-6.3 world.

16 years agoTrim release notes for a post 6.3 world.
bmah [Sun, 20 Jan 2008 05:58:17 +0000 (05:58 +0000)]
Trim release notes for a post 6.3 world.

16 years agoUpdate entities for a post-6.2 world.
bmah [Sun, 20 Jan 2008 05:57:39 +0000 (05:57 +0000)]
Update entities for a post-6.2 world.

16 years agoMFC revs. 1.116-1.118: OpenBSD 4.2, NetBSD 4.0, FreeBSD 6.3.
maxim [Sat, 19 Jan 2008 18:07:07 +0000 (18:07 +0000)]
MFC revs. 1.116-1.118: OpenBSD 4.2, NetBSD 4.0, FreeBSD 6.3.

16 years agoMFC rev. 1.85: wait/nowait column for ONC services.
maxim [Sat, 19 Jan 2008 18:02:11 +0000 (18:02 +0000)]
MFC rev. 1.85: wait/nowait column for ONC services.

16 years agoMFC rev. 1.90 ntfs_vfsops.c and revs. 1.22, 1.23 mount_ntfs.8: mask
maxim [Sat, 19 Jan 2008 17:54:11 +0000 (17:54 +0000)]
MFC rev. 1.90 ntfs_vfsops.c and revs. 1.22, 1.23 mount_ntfs.8: mask
maximum file permissions with ACCESSPERMS.

16 years agoMFC rev. 1.53 rc.firewall and rev. 1.18 rc.firewall6: fix bibliography.
maxim [Sat, 19 Jan 2008 17:40:27 +0000 (17:40 +0000)]
MFC rev. 1.53 rc.firewall and rev. 1.18 rc.firewall6: fix bibliography.

16 years agoMFC revs. 1.8, 1.9: do not claim vlan(4) uses mbuf_tags(9).
maxim [Sat, 19 Jan 2008 17:33:02 +0000 (17:33 +0000)]
MFC revs. 1.8, 1.9: do not claim vlan(4) uses mbuf_tags(9).

16 years agoMFC rev 1.37: fix an output. MFC revs. 1.38, 1.39: plug a memory leak.
maxim [Sat, 19 Jan 2008 17:27:43 +0000 (17:27 +0000)]
MFC rev 1.37: fix an output.  MFC revs. 1.38, 1.39: plug a memory leak.

16 years agoMFC rev. 1.322 rc.conf, rev. 1.332 rc.conf.5: TCP_DROP_SYNFIN has gone.
maxim [Sat, 19 Jan 2008 17:18:57 +0000 (17:18 +0000)]
MFC rev. 1.322 rc.conf, rev. 1.332 rc.conf.5: TCP_DROP_SYNFIN has gone.

16 years agoMFC: Split the intr_table_lock into an sx lock used for most things, and a
jhb [Sat, 19 Jan 2008 15:38:13 +0000 (15:38 +0000)]
MFC: Split the intr_table_lock into an sx lock used for most things, and a
spin lock to protect intrcnt_index.  Originally I had this as a spin lock
so interrupt code could use it to lookup sources.  However, we don't
actually do that because it would add a lot of overhead to interrupts,
and if we ever do support removing interrupt sources, we can use other
means to safely do so w/o locking in the interrupt handling code.

This fixes a LOR in the most recent MSI MFC and was a part of the original
commit to HEAD that included the changes in the most recent MSI MFC.

16 years ago6.3-RELEASE is announced to time to have RELENG_6 say it's 6.3-STABLE.
kensmith [Fri, 18 Jan 2008 20:27:24 +0000 (20:27 +0000)]
6.3-RELEASE is announced to time to have RELENG_6 say it's 6.3-STABLE.

16 years agoMFC: Force consistent use of the mountpoint's credentials when connecting
jhb [Thu, 17 Jan 2008 21:04:51 +0000 (21:04 +0000)]
MFC: Force consistent use of the mountpoint's credentials when connecting
to the NFS server by temporarily changing the current thread's credentials
to that of the mountpoint while establishing the connection.

16 years agoMFC rev 1.14:
cognet [Wed, 16 Jan 2008 22:45:03 +0000 (22:45 +0000)]
MFC rev 1.14:
Back when I committed the arm port, I've been asked to move
memcpy/memset/memcmp and friends from libkern/arm to arm/arm/support.S, and so
I did, but in the process, I didn't add the appropriate copyrights.
This is a major oversight from me, and I apology to the NetBSD people for it.

Approved by: re (mux)

16 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Wed, 16 Jan 2008 18:47:08 +0000 (18:47 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

16 years agoMFC: Correct first release for msleep_spin().
jhb [Tue, 15 Jan 2008 20:39:39 +0000 (20:39 +0000)]
MFC: Correct first release for msleep_spin().

16 years agoMFC: Sync up to rev 1.49 of sleep.9.
jhb [Tue, 15 Jan 2008 20:38:17 +0000 (20:38 +0000)]
MFC: Sync up to rev 1.49 of sleep.9.

16 years agoMFC: Update to firmware version 1.4.29 from 1.4.25
gallatin [Tue, 15 Jan 2008 15:39:36 +0000 (15:39 +0000)]
MFC: Update to firmware version 1.4.29 from 1.4.25

16 years agoFix issues which allow snooping on ptys. [08:01]
cperciva [Mon, 14 Jan 2008 22:56:05 +0000 (22:56 +0000)]
Fix issues which allow snooping on ptys. [08:01]

Fix an off-by-one error in inet_network(3). [08:02]

Security: FreeBSD-SA-08:01.pty
Security: FreeBSD-SA-08:02.libc

16 years agoAdd the various packages we've ejected from the CD sets through
kensmith [Mon, 14 Jan 2008 17:41:09 +0000 (17:41 +0000)]
Add the various packages we've ejected from the CD sets through
recent years back on disc3.

16 years agoMFC the change from 1.27, removal of zones from the empty zone list that
dougb [Sun, 13 Jan 2008 20:51:09 +0000 (20:51 +0000)]
MFC the change from 1.27, removal of zones from the empty zone list that
may theoretically be allocated some day.

Approved by: re (kensmith)

16 years agoMFC: Lock the vnode interlock while reading v_usecount to update
jhb [Sat, 12 Jan 2008 00:17:50 +0000 (00:17 +0000)]
MFC: Lock the vnode interlock while reading v_usecount to update
si_usecount in a cdev in devfs_reclaim().

16 years agoFlip the switch to enable MSI by default on 6.x. This will not be MFC'd
jhb [Thu, 10 Jan 2008 21:17:12 +0000 (21:17 +0000)]
Flip the switch to enable MSI by default on 6.x.  This will not be MFC'd
into 6.3.

16 years agoMFC: More properly handle links who only have 1 valid IRQ in their bitmask.
jhb [Wed, 9 Jan 2008 18:02:27 +0000 (18:02 +0000)]
MFC: More properly handle links who only have 1 valid IRQ in their bitmask.

16 years agoMFC rev. 1.392:
kib [Wed, 9 Jan 2008 16:08:39 +0000 (16:08 +0000)]
MFC rev. 1.392:
In the vm_map_stack(), check for the specified stack region wraparound.

16 years agoMFC rev. 1.89, 1.90:
kib [Wed, 9 Jan 2008 16:07:32 +0000 (16:07 +0000)]
MFC rev. 1.89, 1.90:
Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.

16 years agoMFC route.c@1.125 and route.h@1.68:
mux [Wed, 9 Jan 2008 15:38:49 +0000 (15:38 +0000)]
MFC route.c@1.125 and route.h@1.68:
  Add a workaround for a deadlock between the rt_setgate() and rt_check()
  functions.  It is easily triggered by running routed, and, I expect, by
  running any other daemon that uses routing sockets.

16 years agoMFC important fixes by sos@:
delphij [Wed, 9 Jan 2008 08:55:51 +0000 (08:55 +0000)]
MFC important fixes by sos@:
Implement a workaround of the datacorruption problem on ServerWorks
HT1000 chipsets.  The HT1000 DMA engine seems to not always like 64K
transfers and sometimes barfs data all over memory leading to instant
chrash and burn.

Also fix 48bit adressing issues, apparently newer chips needs 16bit
writes and not the usual fifo thing.

HW donated by: Travis Mikalson at TerraNovaNet
Original work: sos

16 years agoMFC r1.5:
gabor [Tue, 8 Jan 2008 15:37:39 +0000 (15:37 +0000)]
MFC r1.5:
- This driver will first appear in FreeBSD 6.3, not 7.0

16 years agoMFC: Fix a typo in regards to the ENOENT error.
jhb [Mon, 7 Jan 2008 21:29:57 +0000 (21:29 +0000)]
MFC: Fix a typo in regards to the ENOENT error.

16 years agoMFC: Use devclass_get_count() instead of devclass_get_maxunit().
jhb [Mon, 7 Jan 2008 21:27:25 +0000 (21:27 +0000)]
MFC: Use devclass_get_count() instead of devclass_get_maxunit().

16 years agoMFC r1.10:
gabor [Mon, 7 Jan 2008 14:53:38 +0000 (14:53 +0000)]
MFC r1.10:
- ipmi(4) appeared in FreeBSD 6.2, not in 6.3

16 years agoMFC: rev 1.4: forward compatability with cvs-1.12 repository
peter [Mon, 7 Jan 2008 09:08:53 +0000 (09:08 +0000)]
MFC: rev 1.4: forward compatability with cvs-1.12 repository

Approved by: re (kensmith)

16 years agoMFC of tzdata2007k.
edwin [Sun, 6 Jan 2008 07:36:08 +0000 (07:36 +0000)]
MFC of tzdata2007k.

Approved by: re (ken smith)

16 years agoUpdate iso3166 with the data from Newsletter VI-1 2007-09-21:
edwin [Sun, 6 Jan 2008 07:25:43 +0000 (07:25 +0000)]
Update iso3166 with the data from Newsletter VI-1 2007-09-21:
Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF).

MFC of rev 1.17

Approved by: re (ken smith)

16 years agoMFC
gabor [Fri, 4 Jan 2008 13:32:32 +0000 (13:32 +0000)]
MFC
r1.62:
- Document icase variable of make search, which can be used to control
  case-sensitivity
r1.63:
- Document PORT_DBDIR
r1.64:
- Remove incomplete sentence fragment

16 years agoMFC r1.7
gabor [Fri, 4 Jan 2008 13:02:42 +0000 (13:02 +0000)]
MFC r1.7
- This driver has already appeared in 6.2

16 years agoMFC r1.4
gabor [Fri, 4 Jan 2008 13:02:04 +0000 (13:02 +0000)]
MFC r1.4
- This driver will first appear in 6.3, not 7.0

16 years agoMFC r1.13
gabor [Fri, 4 Jan 2008 13:01:38 +0000 (13:01 +0000)]
MFC r1.13
- This driver will first appear in 6.3, not 7.0

16 years agoMFC r1.3
gabor [Fri, 4 Jan 2008 13:01:04 +0000 (13:01 +0000)]
MFC r1.3
- This driver will first appear in 6.3, not 7.0

16 years agoMFC r1.8
gabor [Fri, 4 Jan 2008 13:00:16 +0000 (13:00 +0000)]
MFC r1.8
- This driver will first appear in 6.3, not 7.0

16 years agoMFC r1.9
gabor [Fri, 4 Jan 2008 12:59:56 +0000 (12:59 +0000)]
MFC r1.9
- This driver will first appear in 6.3, not 7.0

16 years agoMFC r1.2
gabor [Fri, 4 Jan 2008 12:59:34 +0000 (12:59 +0000)]
MFC r1.2
- This driver will first appear in 6.3, not 7.0

16 years agoMFC: rev. 1.76: 'netstat -A -p tcp' prints the Tcpcb pointer in the 1st col
obrien [Fri, 4 Jan 2008 03:21:21 +0000 (03:21 +0000)]
MFC: rev. 1.76: 'netstat -A -p tcp' prints the Tcpcb pointer in the 1st col

16 years agoMFC: rev 1.149: Fix a broken DIAGNOSTICS/INVARIANTS check to handle a
obrien [Tue, 1 Jan 2008 03:01:03 +0000 (03:01 +0000)]
MFC: rev 1.149: Fix a broken DIAGNOSTICS/INVARIANTS check to handle a
     block range that spans two block maps.

16 years agoMFC: Happy new year 2008!
delphij [Mon, 31 Dec 2007 22:12:07 +0000 (22:12 +0000)]
MFC: Happy new year 2008!

16 years agoMFC rev. 1.87
mav [Sat, 29 Dec 2007 17:38:24 +0000 (17:38 +0000)]
MFC rev. 1.87
Fix incorrectly placed bracket in pppoe_find_svc().

16 years agoMFC rev. 1.22
mav [Sat, 29 Dec 2007 17:35:32 +0000 (17:35 +0000)]
MFC rev. 1.22
Increase control channel xmit queue to 128 packets.
Previous value 16 was too small for real LAC as temporal activity
spike cound easily overflow queue demanding tunnel disconnection due
to possible state inconsistency.

16 years agoMFC r1.8
thompsa [Sat, 29 Dec 2007 17:29:11 +0000 (17:29 +0000)]
MFC r1.8
  Fix a panic where if the mbuf was consumed by the filter for requeueing
  (dummynet), ipsec_filter() would return the empty error code and the ipsec
  code would continue to forward/deference the null mbuf.

Approved by: re (gnn)

16 years agoMFC v1.117:
kensmith [Sat, 29 Dec 2007 06:20:30 +0000 (06:20 +0000)]
MFC v1.117:
> Plug a memory leak.  Once any given package (e.g. perl) was installed
> we would leak a saved screen for every other package we tried to install
> that listed perl as one of its dependencies.  When installing things
> like gnome and kde that wound up being a LOT of leaked memory.

While here clean up some whitespace nits that are differences between
this branch and the others.

16 years agoMFC v1.78 and v1.79:
kensmith [Sat, 29 Dec 2007 06:19:18 +0000 (06:19 +0000)]
MFC v1.78 and v1.79:
Remove process limits for datasize and stacksize which are unlimited
during a "normal login" (thanks to /etc/login.conf) but not when
sysinstall is running as part of an installation.  Fixups for error
messages and a comment that became untrue.

16 years agoMFC: Update to 2008.
imp [Wed, 26 Dec 2007 16:49:12 +0000 (16:49 +0000)]
MFC: Update to 2008.

Approved by: re@ (kensmith)

16 years agoMFC: properly handle BZ_STREAM_END/Z_STREAM_END.
sobomax [Wed, 26 Dec 2007 10:34:27 +0000 (10:34 +0000)]
MFC: properly handle BZ_STREAM_END/Z_STREAM_END.

16 years agoMFC v1.116:
kensmith [Mon, 24 Dec 2007 06:42:35 +0000 (06:42 +0000)]
MFC v1.116:
> For the INDEX file to be used on disc1 of the 7.0-RELEASE the longest
> "build dependencies" field is 5,108 characters which overflows the
> length of the junk buffer by a teeny bit.  This whole section needs
> much more error checking but for now just completely ignore stuff
> we have no interest in instead of copying it to someplace we don't
> use in the process.

Approved by:    re (bmah)

16 years agoMFC version 1.55, safety belt for the (unlikely) disappearance of
dougb [Mon, 24 Dec 2007 05:50:46 +0000 (05:50 +0000)]
MFC version 1.55, safety belt for the (unlikely) disappearance of
the temproot before a -r run.

16 years agoMFC: 1.8
marius [Sun, 23 Dec 2007 11:28:59 +0000 (11:28 +0000)]
MFC: 1.8

In openprom_ioctl() ensure appropriate permissions and that data isn't
NULL and doesn't point to a NULL pointer before dereferencing it.

16 years agoMerge in_pcb.c:1.198 from HEAD to RELENG_6:
rwatson [Sat, 22 Dec 2007 20:06:54 +0000 (20:06 +0000)]
Merge in_pcb.c:1.198 from HEAD to RELENG_6:

  When IPSEC fails to allocate policy state for an inpcb, and MAC is in use,
  free the MAC label on the inpcb before freeing the inpcb.

  Submitted by:   tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by: re (kensmith)

16 years agoMerge mac_posix_sem.c:1.12 from HEAD to RELENG_6:
rwatson [Sat, 22 Dec 2007 15:08:09 +0000 (15:08 +0000)]
Merge mac_posix_sem.c:1.12 from HEAD to RELENG_6:

  Fix a MAC label leak for POSIX semaphores, in which per-policy labels
  would be properly disposed of, but the global label structure for the
  semaphore wouldn't be freed.

  Reported by:    tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by: re (kensmith)

16 years agoMerge in6_pcb.c:1.86 from HEAD to RELENG_6:
rwatson [Sat, 22 Dec 2007 15:06:51 +0000 (15:06 +0000)]
Merge in6_pcb.c:1.86 from HEAD to RELENG_6:

  Fix leaking MAC labels for IPv6 inpcbs by adding missing MAC label
  destroy call; this transpired because the inpcb alloc path for IPv4/IPv6
  is the same code, but IPv6 has a separate free path.  The results was
  that as new IPv6 TCP connections were created, kernel memory would
  gradually leak.

  Reported by:    tanyong <tanyong at ercist dot iscas dot ac dot cn>,
                  zhouzhouyi

Approved by: re (kensmith)

16 years agoMFC r1.25
thompsa [Fri, 21 Dec 2007 05:34:35 +0000 (05:34 +0000)]
MFC r1.25
  - Use the macro to check the port status has it will also test if its
    administratively down (!IFF_UP)
  - Use the same parameters to lagg_link_active() to get the backup port as in
    the output path, this didnt actually matter in practice as sc_primary is
    always the first on the port list.

Approved by:    re (kensmith)