]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC: Add "nojail" keyword to prevent a spurious error message.
hrs [Fri, 29 Dec 2006 16:01:12 +0000 (16:01 +0000)]
MFC: Add "nojail" keyword to prevent a spurious error message.

Spotted by: Keve Nagy
PR: conf/107083

17 years agoMFC: Fix tab lossage and get rid of redundant whitespace.
ru [Fri, 29 Dec 2006 07:27:06 +0000 (07:27 +0000)]
MFC: Fix tab lossage and get rid of redundant whitespace.

17 years agoMFC: Make the ACPI and OpenFirmware PCI bus drivers subclasses of the
jhb [Thu, 28 Dec 2006 22:20:41 +0000 (22:20 +0000)]
MFC: Make the ACPI and OpenFirmware PCI bus drivers subclasses of the
generic PCI bus driver.

17 years agoMFC: When loading a driver that is a subclass of another driver don't set
jhb [Thu, 28 Dec 2006 22:13:26 +0000 (22:13 +0000)]
MFC: When loading a driver that is a subclass of another driver don't set
the devclass's parent pointer if the two drivers share the same devclass.

17 years agoMFC:
jhb [Thu, 28 Dec 2006 22:09:47 +0000 (22:09 +0000)]
MFC:
- Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the
  various pcib drivers to use their own private devclass_t variables for
  their modules.
- Use the DEFINE_CLASS_0() macro to declare drivers for the various pcib
  drivers while I'm here.

17 years agoMFC: Use pci_find_extcap() in drm(4) and agp(4).
jhb [Thu, 28 Dec 2006 21:54:50 +0000 (21:54 +0000)]
MFC: Use pci_find_extcap() in drm(4) and agp(4).

17 years agoBump __FreeBSD_version for pci_find_extcap().
jhb [Thu, 28 Dec 2006 21:48:42 +0000 (21:48 +0000)]
Bump __FreeBSD_version for pci_find_extcap().

17 years agoMFC: Add the PCI_FIND_EXTCAP() method to the PCI bus interface to lookup
jhb [Thu, 28 Dec 2006 21:40:55 +0000 (21:40 +0000)]
MFC: Add the PCI_FIND_EXTCAP() method to the PCI bus interface to lookup
specific extended capability registers by capability ID.

Requested by: scottl

17 years agoMFC cosmetic fixes to the asf(8) usage line and manpage,
yar [Wed, 27 Dec 2006 06:31:57 +0000 (06:31 +0000)]
MFC cosmetic fixes to the asf(8) usage line and manpage,
thus eliminating the difference from HEAD completely in
this module.

17 years agoMFC:
yar [Wed, 27 Dec 2006 06:22:44 +0000 (06:22 +0000)]
MFC:

  Allow for module-path being a semicolon-separated list of dirs.
  This is consistent with kern.module_path sysctl and also compensates
  for the unconventional syntax of asf(8) where the last of multiple
  arguments is the output file, which prevents us from using the
  traditional Unix syntax "foo file ..." to specify multiple module
  dirs.

asf.c rev. 1.12
asf.8 rev. 1.11

17 years agoMFC revisions 1.35-1.37.
dds [Tue, 26 Dec 2006 20:09:40 +0000 (20:09 +0000)]
MFC revisions 1.35-1.37.
Correct handling of format strings with escaped % specifications.
Prevent buffer overflow when forcibly terminating an escape character.

17 years agoMFC: 1.7
marius [Tue, 26 Dec 2006 09:45:19 +0000 (09:45 +0000)]
MFC: 1.7

Fix a typo in __fpu_ftox() that caused long double to long (and long long)
conversion of negative numbers to always result in -1.
While at it, rearrange the nearby comment so it fits in 80 chars per line,
like the rest of this file does.

PR: 107130

17 years agoMFC revisions 1.68-1.71 of bsdtar.c, 1.25 of bsdtar.h:
cperciva [Tue, 26 Dec 2006 05:27:49 +0000 (05:27 +0000)]
MFC revisions 1.68-1.71 of bsdtar.c, 1.25 of bsdtar.h:
* Remove nonexistant -F option from getopts string.
* Correct the names of some options.
* Check for -U and --strip-components options in inappropriate contexts.

17 years agoMFC: arcmsr(4) 1.20.00.13, libc resolver from BIND 9.3.3.
bmah [Sun, 24 Dec 2006 22:54:25 +0000 (22:54 +0000)]
MFC:  arcmsr(4) 1.20.00.13, libc resolver from BIND 9.3.3.

17 years agoMFC:
ariff [Sun, 24 Dec 2006 05:44:10 +0000 (05:44 +0000)]
MFC:

Add inverted amplifier sense quirk for HP Compaq nx4300 and few
NEC VersaPro.

PR: kern/106104, kern/104715
Submitted by: Shun-ichi Kobayashi <koba@mbox.kudpc.kyoto-u.ac.jp>
              KAWATA Masahiko <kawata@mta.biglobe.ne.jp>

Add support for Nvidia Nforce MCP04 AC97 controller.

PR: kern/106829
Submitted by: Frédéric Petit <fredantispam@free.fr>

17 years agoMFC 1.171-1.173- check in xpt_init for result of xpt_bus_register.
mjacob [Sun, 24 Dec 2006 03:23:43 +0000 (03:23 +0000)]
MFC 1.171-1.173- check in xpt_init for result of xpt_bus_register.

17 years agoMFC 1.16: clarify shortcut return
sam [Sun, 24 Dec 2006 00:15:55 +0000 (00:15 +0000)]
MFC 1.16: clarify shortcut return

17 years agoMFC 1.13: add fls
sam [Sun, 24 Dec 2006 00:09:56 +0000 (00:09 +0000)]
MFC 1.13: add fls

17 years agoMFC 1.24: mark struct ether_header packed for arm
sam [Sun, 24 Dec 2006 00:08:46 +0000 (00:08 +0000)]
MFC 1.24: mark struct ether_header packed for arm

While here bring along similar changes to pack struct ether_addr
and do compile-time asserts that structures are the expected sizes.

17 years agoMFC wpa_passphrase
sam [Sat, 23 Dec 2006 22:44:47 +0000 (22:44 +0000)]
MFC wpa_passphrase

17 years agoMFC 1.67: honor nolockd flag in root mount options
sam [Sat, 23 Dec 2006 22:40:56 +0000 (22:40 +0000)]
MFC 1.67: honor nolockd flag in root mount options

17 years agoMFC 1.12: add missing bits for crypto support
sam [Sat, 23 Dec 2006 21:46:56 +0000 (21:46 +0000)]
MFC 1.12: add missing bits for crypto support

17 years agoMFC: Add support for the second (RT2561/RT2561S) and third
fjoe [Sat, 23 Dec 2006 07:14:42 +0000 (07:14 +0000)]
MFC: Add support for the second (RT2561/RT2561S) and third
(RT2661 MIMO XR) generations of 802.11abg chipsets from Ralink Technology.

17 years agoMFC rev 1.111:
erwin [Fri, 22 Dec 2006 10:59:55 +0000 (10:59 +0000)]
MFC rev 1.111:
  - Add geography and spanish ports categories
  - Use "related to" instead of "relating to" consistently [1]

  Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
  Reviewed by:    simon

17 years agoMFC: Merge BIND9 9.3.3 into main chunk.
ume [Fri, 22 Dec 2006 07:33:20 +0000 (07:33 +0000)]
MFC: Merge BIND9 9.3.3 into main chunk.

include/arpa/nameser_compat.h: 1.6
lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2
lib/libc/inet/inet_net_ntop.c: 1.3
lib/libc/isc/eventlib_p.h: 1.4
lib/libc/resolv/mtctxres.c: 1.3
lib/libc/resolv/res_init.c: 1.4
lib/libc/resolv/res_send.c: 1.5

17 years agoPartially back out revs 1.134 and 1.50 of if_bge.c and if_bgereg.h,
scottl [Thu, 21 Dec 2006 21:53:54 +0000 (21:53 +0000)]
Partially back out revs 1.134 and 1.50 of if_bge.c and if_bgereg.h,
respectively.  A lot more is needed to support these chips than just PCI
IDs, and the code added to 7-CURRENT isn't ready for FreeBSD 6 yet.

Approved by: re

17 years agoMFC 1.10: avoid some divide by zero cases in calculating geometry.
mjacob [Thu, 21 Dec 2006 19:51:53 +0000 (19:51 +0000)]
MFC 1.10: avoid some divide by zero cases in calculating geometry.

17 years agoMFC Rev. 1.267
mbr [Thu, 21 Dec 2006 16:24:22 +0000 (16:24 +0000)]
MFC Rev. 1.267

Retest tp->t_session because Giant might have been temporarily dropped
while waiting for proctree_lock, allowing for an intervening tty_close()
that cleared tp->t_session.

Submitted by: tegge

17 years agoMFC if_rl.c, 1.166 to RELENG_6.
yongari [Thu, 21 Dec 2006 12:57:06 +0000 (12:57 +0000)]
MFC if_rl.c, 1.166 to RELENG_6.
  Don't assume IF_LLADDR returns aligned memory address.
  Because accessing ID registers in rtl81x9 needs 32bit register access
  and RL_IDR6/RL_IDR7 registers are reservered registers bzero() is
  needed before copying ethernet address.
  This fixes unaligned memory accesses panic in sparc64.

17 years agoMFC 1.13 (by ps):
delphij [Thu, 21 Dec 2006 08:03:03 +0000 (08:03 +0000)]
MFC 1.13 (by ps):

Add E200, E200i, P400, and P400i storage controllers to
supported list.  Remove the E400 since it is not a real
product.

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Wed, 20 Dec 2006 22:02:46 +0000 (22:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC rev. 1.94:
kib [Wed, 20 Dec 2006 14:05:41 +0000 (14:05 +0000)]
MFC rev. 1.94:
Support __start_<section> and __end_<section> special symbols.

Requested by: grehan

17 years agoMFC rev. 1.80: We should return the name in cp, not printf it.
yar [Wed, 20 Dec 2006 12:47:50 +0000 (12:47 +0000)]
MFC rev. 1.80: We should return the name in cp, not printf it.

17 years agoMFC rev. 1.18:
yar [Wed, 20 Dec 2006 12:29:40 +0000 (12:29 +0000)]
MFC rev. 1.18:

  Improve cleartmp in a number of aspects:

  + Use rc.subr(8) features properly.
  + Do the whole job of obliterating /tmp contents in find(1).
  + Leave lost+found and quota.{user,group} in /tmp only if root-owned.
  + Make the overall structure clearer by first removing the X dirs
    (perhaps along with the rest of /tmp) and then re-creating them.
  + Use "find -exec rm -rf {} +" for efficiency: each rm instance gets
    a chance to kill as much files in /tmp as ARG_MAX permits.

17 years agoMFC rev. 1.13:
yar [Wed, 20 Dec 2006 12:24:32 +0000 (12:24 +0000)]
MFC rev. 1.13:

De-uglify messages from the ipfw script.

17 years agoMFC rev. 1.4:
yar [Wed, 20 Dec 2006 12:23:57 +0000 (12:23 +0000)]
MFC rev. 1.4:

  Use more rc.subr(8) features.
  Skip useless work when ${natd_interface} is unset.
  Double quote user-supplied vars unless there is a reason not to.

17 years agoMFC fixes to comments and messages to reduce diff against HEAD.
yar [Wed, 20 Dec 2006 12:04:00 +0000 (12:04 +0000)]
MFC fixes to comments and messages to reduce diff against HEAD.

17 years agoMFC rev. 1.65, 1.66:
yar [Wed, 20 Dec 2006 11:55:16 +0000 (11:55 +0000)]
MFC rev. 1.65, 1.66:

- Avoid ps(1) output truncation to 80 columns.
- Eliminate header line(s) from ps(1) output instead of skipping over them.

17 years agoMFC rev. 1.9: Use load_kld().
yar [Wed, 20 Dec 2006 11:45:40 +0000 (11:45 +0000)]
MFC rev. 1.9: Use load_kld().

17 years agoMFC load_kld().
yar [Wed, 20 Dec 2006 11:43:04 +0000 (11:43 +0000)]
MFC load_kld().

Prodded by: delphij, emax

17 years agoMFC: 1.17: Unbreak column(1) by jumping to the next column
ru [Wed, 20 Dec 2006 11:28:35 +0000 (11:28 +0000)]
MFC: 1.17: Unbreak column(1) by jumping to the next column
instead of always skipping it.

17 years agoMFC rev. 1.197: X-Micro Flash Disk quirk.
maxim [Tue, 19 Dec 2006 19:19:16 +0000 (19:19 +0000)]
MFC rev. 1.197: X-Micro Flash Disk quirk.

17 years agoMFC rev. 1.50: fix 8.3 capitalization.
maxim [Tue, 19 Dec 2006 19:15:44 +0000 (19:15 +0000)]
MFC rev. 1.50: fix 8.3 capitalization.

17 years agoMFC version 1.6 of each Makfile, fixing man page markup.
dougb [Tue, 19 Dec 2006 18:28:03 +0000 (18:28 +0000)]
MFC version 1.6 of each Makfile, fixing man page markup.

17 years agoMFC 1.160: Add more mount options to ext2_ops, so that vfs_filteropts()
rodrigc [Tue, 19 Dec 2006 01:36:43 +0000 (01:36 +0000)]
MFC 1.160: Add more mount options to ext2_ops, so that vfs_filteropts()
will accept options like "noatime" for ext2fs.

PR: 105483
Noticed by: Dr. Markus Waldeck <waldeck gmx de>

17 years agoMFC: 1.91
rodrigc [Tue, 19 Dec 2006 01:17:58 +0000 (01:17 +0000)]
MFC: 1.91

Ignore SIGPIPE, instead of terminating process.

PR: 81230
Submitted by: Dmitrij Tejblum <tejblum yandex-team ru>

17 years agoMFC: sbin/ggate/ggated/ggated.c 1.8,1.9
pjd [Mon, 18 Dec 2006 11:25:02 +0000 (11:25 +0000)]
MFC: sbin/ggate/ggated/ggated.c 1.8,1.9
sbin/ggate/shared/ggate.c 1.7,1.8
sbin/ggate/shared/ggate.h 1.4,1.5

Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctl
returns u_int.

Reported by: Javier Martín Rueda <jmrueda@diatel.upm.es>
PR: amd64/91799

17 years agoMFC the xpt_print function.
mjacob [Sat, 16 Dec 2006 07:05:54 +0000 (07:05 +0000)]
MFC the xpt_print function.

17 years agoRELENG_6 (5, 4) change to recognize 6 port NetMos
mjacob [Fri, 15 Dec 2006 22:31:37 +0000 (22:31 +0000)]
RELENG_6 (5, 4) change to recognize 6 port NetMos

PR: 58953
Submitted by: Milan Obuch
Reviewed by: marcel

17 years agoDirectly commit a compatibility shim for -current.
imp [Fri, 15 Dec 2006 21:33:23 +0000 (21:33 +0000)]
Directly commit a compatibility shim for -current.
bus_get_dma_tag(dev) in stable is spelled NULL presently.  Until such
time as we MFC this functionailty (which may be never), provide this
alternate spelling to aide in back-porting -current drivers.  When the
functionality is merged, this can be retired.

17 years agoMFC support for Linux-compatible -f flag.
kientzle [Fri, 15 Dec 2006 03:27:50 +0000 (03:27 +0000)]
MFC support for Linux-compatible -f flag.

17 years agoMFC revisions 1.74 (module depedencies) && 1.71 (spin until a request
mjacob [Thu, 14 Dec 2006 22:00:53 +0000 (22:00 +0000)]
MFC revisions 1.74 (module depedencies) && 1.71 (spin until a request
struct is available in the ioctl path)

17 years agoMFC: Bring the arcmsr driver up to the vendor 1.20.00.013 version.
scottl [Thu, 14 Dec 2006 17:55:12 +0000 (17:55 +0000)]
MFC: Bring the arcmsr driver up to the vendor 1.20.00.013 version.

Submitted by: Erich Chen

17 years agoUpdate release note: BIND 9.3.3.
bmah [Thu, 14 Dec 2006 17:02:36 +0000 (17:02 +0000)]
Update release note:  BIND 9.3.3.

17 years agoMFC: rev. 1.34
brueffer [Thu, 14 Dec 2006 13:44:41 +0000 (13:44 +0000)]
MFC: rev. 1.34

Document IBM ServeRAID 8k support.

17 years agoMFC: rev. 1.109 + 1.110
erwin [Thu, 14 Dec 2006 09:04:13 +0000 (09:04 +0000)]
MFC: rev. 1.109 + 1.110
  - Update the list of ports categories. [1]
  - Fix typo. [2]

  PR:           85367 [1]
  Submitted by: linimon [1],
                ceri, matteo [2]
  Reviewed by:  ceri, simon [1],
                cperciva [2]

17 years agoMFC revision 1.60 (by scottl):
delphij [Thu, 14 Dec 2006 06:57:05 +0000 (06:57 +0000)]
MFC revision 1.60 (by scottl):
Add PCI Id for ServeRAID 8k.

Submitted by: Danny Braniss
Ok'ed by: scottl

17 years agoMFC: 1.155 (without vfs_mount_error()):
rodrigc [Thu, 14 Dec 2006 04:48:17 +0000 (04:48 +0000)]
MFC: 1.155 (without vfs_mount_error()):
- Fix MNT_UPDATE for msdosfs, do not allow "export" requests if
  MSDOSFS_LARGEFS flag is set.

PR: kern/105412

17 years agoBack out rev 1.439.2.16 - it is on purpose that GENERIC doesn't support SMP
obrien [Thu, 14 Dec 2006 04:06:59 +0000 (04:06 +0000)]
Back out rev 1.439.2.16 - it is on purpose that GENERIC doesn't support SMP
in 6.x vs 7-CURRENT (which has been SMP since Nov. 2003).

17 years agoTurn on SMP in the default kernel.
obrien [Thu, 14 Dec 2006 03:57:34 +0000 (03:57 +0000)]
Turn on SMP in the default kernel.
Most FreeBSD/amd64 machines are either multi-socket and/or multi-core.

17 years agoMFC: All of those added MODULE_DEPEND clauses to make CAM and the
mjacob [Thu, 14 Dec 2006 02:57:07 +0000 (02:57 +0000)]
MFC: All of those added MODULE_DEPEND clauses to make CAM and the
actual hardware busses get pulled in if they're modules

PRs: 106536, 106543

17 years agoMFC: rev. 1.421
erwin [Wed, 13 Dec 2006 13:10:21 +0000 (13:10 +0000)]
MFC: rev. 1.421
  Add a new turkish mirror

  Submitted by:   Evren Yurtesen <yurtesen@ispro.net>
  Reviewed by:    simon

17 years agoMFC rev. 1.10: confstr(3) returns 0 on error.
maxim [Wed, 13 Dec 2006 12:30:44 +0000 (12:30 +0000)]
MFC rev. 1.10: confstr(3) returns 0 on error.

17 years agoMFC rev. 1.231: fix typo.
maxim [Wed, 13 Dec 2006 12:28:55 +0000 (12:28 +0000)]
MFC rev. 1.231: fix typo.

17 years agoMFC rev. 1.42: /stand/sysinstall -> /usr/sbin/sysinstall.
maxim [Wed, 13 Dec 2006 12:27:08 +0000 (12:27 +0000)]
MFC rev. 1.42: /stand/sysinstall -> /usr/sbin/sysinstall.

17 years agoMFC rev. 1.14: confstr(3) returns zero on errors, not -1.
maxim [Wed, 13 Dec 2006 12:25:31 +0000 (12:25 +0000)]
MFC rev. 1.14: confstr(3) returns zero on errors, not -1.

17 years agoMFC: sync with the version in -current, in detail:
luigi [Wed, 13 Dec 2006 10:19:37 +0000 (10:19 +0000)]
MFC: sync with the version in -current, in detail:

  - put some common code in a function handle_remount();
  - add better checks on non-existing directories to prevent error
    messages at run time;
  - introduce a function log() to help debugging diskless booting
    when things don't work;
  - modify the parsing of diskless_remount so you can add mount_nfs
    options after the pathname. You could use 'remount' to do something
    similar, but this way is more convenient because you don't have to
    hardwire the server name in the command.
  - document the above.

17 years agoMFC upgrade to version 9.3.3
dougb [Wed, 13 Dec 2006 09:47:02 +0000 (09:47 +0000)]
MFC upgrade to version 9.3.3

Approved by: re (kensmith)

17 years agoAvoid preempting in maybe_preempt_in_ksegrp() as code in maybe_preempt()
davidxu [Wed, 13 Dec 2006 09:26:02 +0000 (09:26 +0000)]
Avoid preempting in maybe_preempt_in_ksegrp() as code in maybe_preempt()
did, mainly, if a thread is in inhibited state, don't preempt it since
it will yield cpu, while here, synchoronize variable name with
maybe_preempt().

Tested by: Dmitriy Kirhlarov <dimma@higis.ru>
PR: kern/105464

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Wed, 13 Dec 2006 02:37:49 +0000 (02:37 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC: Use callout mechanism instead of timeout()/untimeout().
ume [Tue, 12 Dec 2006 19:41:41 +0000 (19:41 +0000)]
MFC: Use callout mechanism instead of timeout()/untimeout().

sys/net/if_ppp.c: 1.119
sys/net/if_pppvar.h: 1.26
sys/net/ppp_tty.c: 1.72

17 years agoMFC: Add a quirk for devices recognized as usb keyboards not to be hooked by
flz [Tue, 12 Dec 2006 15:44:13 +0000 (15:44 +0000)]
MFC: Add a quirk for devices recognized as usb keyboards not to be hooked by
  ukbd(4).

      src/sys/dev/usb/usbdevs: rev 1.283 -> 1.284
      src/sys/dev/usb/usb_quirks.c: rev 1.56 -> 1.57
      src/sys/dev/usb/ukbd.c: rev 1.58 -> 1.59
      src/sys/dev/usb/usb_quirks.h: rev 1.22 -> 1.23

PR: usb/105669
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>

17 years agoMFC (1.2: add missing ldexpf()).
bde [Tue, 12 Dec 2006 04:42:36 +0000 (04:42 +0000)]
MFC (1.2: add missing ldexpf()).

Previous history of ldexpf()'s existence in FreeBSD:

2005/03/07 s_scalbnf.c 1.8: first implemented (for all arches)
           i387 s_scalbnf.S 1.1: i386 MD implementation at same time
2005/04/16 amd64 s_scalbnf.S 1.1: missing here, and thus missing for amd64
2005/09/12 amd64 s_scalbnf.S 1.2: fixed in -current
2005/12/06 e_scalbnf.c 1.10: misimplemented for all arches (accidentally has
                             no effect except for amd64)
2006/07/05 e_scalbnf.c 1.11: backed out misimplementation
2006/07/05 e_scalbnf.c 1.12: attempt to fix log message in 1.11

The log message in e_scalbnf.c 1.12 still got the main detail wrong.
1.10 actually succeeded in misimplementing ldexpf() for amd64 only,
since for amd64 only there is no strong reference to hide the broken
weak reference.  For most arches, there is a strong reference in
s_scalbnf.c; for i386, there is a strong reference in s_scalbnf.S; for
amd64 there is supposed to be a strong reference in s_scalbnf.S but
it was missing.

So the problem mainly affected all versions of RELENG_6 on amd64.  -current
has ldexpf() and versions before 6.0 aren't supposed to have it.

Debugging completed by: Kael Fischer, Steve Kargl

17 years agoMFC of v1.134:
kensmith [Sun, 10 Dec 2006 19:47:31 +0000 (19:47 +0000)]
MFC of v1.134:
> revision 1.134
> date: 2006/03/05 17:52:32;  author: phk;  state: Exp;  lines: +4 -2
> When we get an unknown ATAPI comand, try it even if it is not listed,
> in all likelyhood just passing it through will work.

This fix allows for burning CDs/DVDs on USB drives which would be nice
for 6.2...

Original work by: phk
Requested by: phk
Reviewed by: iedowse

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Sun, 10 Dec 2006 07:09:59 +0000 (07:09 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC: return EINVAL if thread was detached.
davidxu [Sun, 10 Dec 2006 02:01:51 +0000 (02:01 +0000)]
MFC: return EINVAL if thread was detached.

17 years agoMFC rev. 1.419 + 1.420
erwin [Sat, 9 Dec 2006 15:45:53 +0000 (15:45 +0000)]
MFC rev. 1.419 + 1.420

  - Add israeli mirror IPv4 and IPv6 [1]
  - Add an IPv6 main site now both ISC and TDC have IPv6

  Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
  Reviewed by:    simon

17 years agoMFC rev1.189: Add several new committers' birthdates
gabor [Sat, 9 Dec 2006 15:36:16 +0000 (15:36 +0000)]
MFC rev1.189: Add several new committers' birthdates

Approved by: erwin (mentor)

17 years agoMFen 1.73.2.35 -> 1.73.2.36
delphij [Fri, 8 Dec 2006 18:27:57 +0000 (18:27 +0000)]
MFen 1.73.2.35 -> 1.73.2.36

17 years agoMFC: Disable IPv6 configuration for interfaces in pccard_ether_start().
hrs [Fri, 8 Dec 2006 15:52:25 +0000 (15:52 +0000)]
MFC: Disable IPv6 configuration for interfaces in pccard_ether_start().

 After a change of devd.conf, devd(8) handles NIC attach/detach event
 by using /etc/pccard_ether with the interface name as the argument.
 This model does not work properly with IPv6 configuration because the
 implementation of IPv6 stateless auto-configuration in the FreeBSD
 rc.d scripts depends on whether there are any explicit configurations
 for interfaces or not.  It works this way: if no manual configuration,
 it will perform auto-configuration, but otherwise no
 auto-configuration will be performed.  So, this behavior can only be
 determined by all of the interfaces on a system, not a single one.
 For this reason, the network6_interface_setup() function called from
 the pccard_ether_start() does not work with a single interface name.
 And what is worse, this combination of devd.conf and
 pccard_ether_start() caused a bad side-effect that when
 ipv6_enable=YES, all of interfaces marked as DOWN would be UP
 unconditionally (and router solicitation was sent) just after devd(8)
 was invoked.  This should be fixed in a more sophisticated way.

17 years agoMFC:
hrs [Fri, 8 Dec 2006 06:40:34 +0000 (06:40 +0000)]
MFC:
 Add a link-local address to the lo0 even when ipv6_enable="NO".

 A kernel with INET6 always has ::1 on lo0, so in the case of
 ipv6_enable="NO" the lo0 can have ::1 with no link-local address.
 This is a violation of the IPv6 specification.  As a workaround
 for this situation, fe80::1 is added in rc.d/auto_linklocal when
 lo0 has no link-local address.

17 years agoMFC: Ignore breakpoint instructions in vm86 mode.
jhb [Thu, 7 Dec 2006 22:26:51 +0000 (22:26 +0000)]
MFC: Ignore breakpoint instructions in vm86 mode.

17 years agoMFC: Fix an off by one error in struct nve_tx_desc's frags[] array.
jhb [Thu, 7 Dec 2006 22:26:18 +0000 (22:26 +0000)]
MFC: Fix an off by one error in struct nve_tx_desc's frags[] array.

17 years agoMFC: Handle an end of ULONG_MAX properly in rman_manage_region().
jhb [Thu, 7 Dec 2006 22:25:50 +0000 (22:25 +0000)]
MFC: Handle an end of ULONG_MAX properly in rman_manage_region().

17 years agoNew errata: SA-06:25.kmem.
bmah [Wed, 6 Dec 2006 20:55:27 +0000 (20:55 +0000)]
New errata:  SA-06:25.kmem.

17 years agoMFC all relevant changes since beginning of 2006:
sobomax [Wed, 6 Dec 2006 20:12:13 +0000 (20:12 +0000)]
MFC all relevant changes since beginning of 2006:

- Correct spelling of 3DNow!;
- Add two new CPUID bits for AMD CPUs, i. e., SVM and extended APIC register;
- Add another Intel CPU feature flag, xTPR (Send Task Priority Messages);
- Remove bogus white-space diff to current.

17 years agoMFC: rev. 1.90 if_bridge.c
syrinx [Wed, 6 Dec 2006 20:03:16 +0000 (20:03 +0000)]
MFC: rev. 1.90 if_bridge.c

Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user
provided buffer length before trying to use it.

Approved by:    bz (mentor)

17 years agoMFC: SA-06:25.kmem.
bmah [Wed, 6 Dec 2006 19:55:31 +0000 (19:55 +0000)]
MFC:  SA-06:25.kmem.

17 years agoMFC: document that NCQ is not yet supported.
wilko [Wed, 6 Dec 2006 19:05:12 +0000 (19:05 +0000)]
MFC: document that NCQ is not yet supported.
PR: kern/106343

17 years agoMFC revs. 1.8, 1.9: Xr netconfig(5).
maxim [Wed, 6 Dec 2006 13:44:46 +0000 (13:44 +0000)]
MFC revs. 1.8, 1.9: Xr netconfig(5).

17 years agoCorrect a signedness bug which allowed members of the operator
cperciva [Wed, 6 Dec 2006 09:13:51 +0000 (09:13 +0000)]
Correct a signedness bug which allowed members of the operator
group to read kernel memory.

Security: FreeBSD-SA-06:25.kmem

17 years agoMFC :
mohans [Tue, 5 Dec 2006 18:41:35 +0000 (18:41 +0000)]
MFC :
Fix to readdir+ reply handling. When inserting an entry into the namecache,
initialize the nfsnode's ctime. Otherwise a subsequent lookup purges the
just entered namecache entry.
Approved by: re

17 years agoOops, alpha is still alive on RELENG_6.
ru [Tue, 5 Dec 2006 13:56:46 +0000 (13:56 +0000)]
Oops, alpha is still alive on RELENG_6.

17 years agoMFC: Support cross-building by just specifying TARGET.
ru [Mon, 4 Dec 2006 18:44:07 +0000 (18:44 +0000)]
MFC: Support cross-building by just specifying TARGET.

Requested by: sam

17 years agoMFC: rp.c 1.69, 1.71, 1.72; rp_isa.c 1.8; rp_pci.c 1.12; rpreg.h 1.8;
marius [Mon, 4 Dec 2006 12:26:52 +0000 (12:26 +0000)]
MFC: rp.c 1.69, 1.71, 1.72; rp_isa.c 1.8; rp_pci.c 1.12; rpreg.h 1.8;
     rpvar.h 1.9, 1.10

- We know it is called rpclose() so call it directly.
- Fix -Wundef from compiling the amd64 LINT.
- Make rp(4) 64-bit- and endian-clean as well as work on strict alignment
  archs.
- Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle())
  use bus_{read,write}*(). Unlike in 7.0-CURRENT, this has no other benefit
  than diff reduction with HEAD.

17 years agoMFC: 1.15: Add missing `;;' in the example shell code snippet.
ru [Mon, 4 Dec 2006 11:11:59 +0000 (11:11 +0000)]
MFC: 1.15: Add missing `;;' in the example shell code snippet.

PR: i386/106113

17 years agoMFC: sys/kern/vfs_subr.c 1.682
pjd [Mon, 4 Dec 2006 08:45:52 +0000 (08:45 +0000)]
MFC: sys/kern/vfs_subr.c 1.682

Add 'show vnode <addr>' DDB command.

Requested by: kib

17 years agoMFC:
mlaier [Mon, 4 Dec 2006 00:51:14 +0000 (00:51 +0000)]
MFC:
  ALTQify ep(4).

  Tested and Requested by: Andy Brook

17 years agoMFC 1.33:
luigi [Sun, 3 Dec 2006 19:01:42 +0000 (19:01 +0000)]
MFC 1.33:
use standard mode instead of 500 for /sbin/init

17 years agoMFC: rev. 1.8 from OpenBSD, rev. 1.91:
mlaier [Sun, 3 Dec 2006 18:32:51 +0000 (18:32 +0000)]
MFC: rev. 1.8 from OpenBSD, rev. 1.91:
  fix servicecurve check; no point in checking the same sc three times, it
  was obviously intended to check all three. has been wrong since the
  beginning, 4 years... noticed by Earl Lapus <earl.lapus@gmail.com>, Vasil
  Dimov <vd@FreeBSD.org> mailed me then, ok mcbride