]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r207079
thompsa [Thu, 29 Apr 2010 22:48:19 +0000 (22:48 +0000)]
MFC r207079

 Properly name the sxlocks, mutexes and condvars.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207402 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207078
thompsa [Thu, 29 Apr 2010 22:47:01 +0000 (22:47 +0000)]
MFC r207078

 Use SX_DUPOK rather than making the string unique.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207400 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207077
thompsa [Thu, 29 Apr 2010 22:44:04 +0000 (22:44 +0000)]
MFC r207077

 Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
 the illusion of a tunable setting but was always turned on regardless.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207399 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207020, r207027, r207072.
thompsa [Thu, 29 Apr 2010 22:40:12 +0000 (22:40 +0000)]
MFC r207020, r207027, r207072.

 Change usb devd events from fake attach to a notify. The ugen device is not a
 proper device_t so it faked the devctl event to appear like one, this is now a
 notify which allows more information to be passed.

 We notify for both the device attach/detach and for each usb interface. A devd
 rule can now match on the interface properties, including composite devices
 which may have a uvideo interface and also usound and possibly uhid too.

 An example to match a umass device with a scsi subclass and BBB protocol would be

 notify 100 {
  match "system"          "USB";
  match "subsystem"       "INTERFACE";
  match "type"            "ATTACH";
  match "intclass"        "0x08";
  match "intsubclass"     "0x06";
  match "intprotocol"     "0x50";
  action ...
 };

 The old attach devctl event has been retained for the moment to make merging to
 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex
 change needed.

 Document the new USB notification types.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207397 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205932.
mjacob [Thu, 29 Apr 2010 19:11:25 +0000 (19:11 +0000)]
This is an MFC of 205932.
nit: xpt_bus_deregister has to be called with the sim lock held.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205847
mjacob [Thu, 29 Apr 2010 19:06:43 +0000 (19:06 +0000)]
This is an MFC of 205847

Change how multipath labels are created and managed. This makes it easier
to support various storage boxes which really aren't active-active.

We only write the label on the *first* provider. For all other providers
we just "add" the disk. This also allows for an "add" verb.

A usage implication is that you should specificy the currently active
storage path as the first provider.

Note that this does not add RDAC-like functionality, but better allows for
autovolumefailover configurations (additional checkins elsewhere will support
this).

git-svn-id: svn://svn.freebsd.org/base/stable/8@207384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205938:
delphij [Thu, 29 Apr 2010 00:28:34 +0000 (00:28 +0000)]
MFC r205938:

Sync with OpenBSD:
 - avoid coredump when there's only one token on a line;
 - Use calloc();
 - Remove a line inherited from example mdoc.

Obtained from:  OpenBSD

git-svn-id: svn://svn.freebsd.org/base/stable/8@207351 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoOnly enable MAGIC WOL by default, MCAST causes
jfv [Wed, 28 Apr 2010 18:28:08 +0000 (18:28 +0000)]
Only enable MAGIC WOL by default, MCAST causes
systems to just wakeup immediately in many
environments.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207332 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206617:
rpaulo [Wed, 28 Apr 2010 15:15:06 +0000 (15:15 +0000)]
MFC r206617:
  Make this code a little more portable by wrapping the mtx calls
  into macros.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207328 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207008:
kib [Wed, 28 Apr 2010 10:03:54 +0000 (10:03 +0000)]
MFC r207008:
Provide compat32 shims for kinfo_proc sysctl.

MFC r207016:
Fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207317 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207007:
kib [Wed, 28 Apr 2010 09:59:28 +0000 (09:59 +0000)]
MFC r207007:
Extract the code to copy-out struct rusage32 from struct rusage
into the new function.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206637:
delphij [Wed, 28 Apr 2010 00:49:24 +0000 (00:49 +0000)]
MFC r206637:

When an underlying ioctl(2) handler returns an error, our ioctl(2)
interface considers that it hits a fatal error, and will not copyout
the request structure back for _IOW and _IOWR ioctls, keeping them
untouched.

The previous implementation of the SIOCGIFDESCR ioctl intends to
feed the buffer length back to userland.  However, if we return
an error, the feedback would be defeated and ifconfig(8) would
trap into an infinite loop.

This commit changes SIOCGIFDESCR to set buffer field to NULL to
indicate the previous ENAMETOOLONG case.

Reported by: bschmidt

git-svn-id: svn://svn.freebsd.org/base/stable/8@207304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r204418 from head (original commit by antoine)
gavin [Tue, 27 Apr 2010 20:51:50 +0000 (20:51 +0000)]
Merge r204418 from head (original commit by antoine)

  Add files moved in r203976 and r207292 to ObsoleteFiles.inc

Requested by: Alex Kozlov <spam rm-rf.kiev.ua>
Merge OK'd by: antoine

git-svn-id: svn://svn.freebsd.org/base/stable/8@207294 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMerge r203692 from head:
gavin [Tue, 27 Apr 2010 20:18:54 +0000 (20:18 +0000)]
Merge r203692 from head:

  Kernel modules for these drivers are installed on all platforms, so
  install the man pages on all platforms too.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207292 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 206662: Cleanup if_media handling in mxge(4)
gallatin [Tue, 27 Apr 2010 15:38:58 +0000 (15:38 +0000)]
MFC 206662: Cleanup if_media handling in mxge(4)

git-svn-id: svn://svn.freebsd.org/base/stable/8@207279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 206452:
bms [Tue, 27 Apr 2010 13:50:15 +0000 (13:50 +0000)]
MFC 206452:
  Fix a few issues related to the legacy 4.4 BSD multicast APIs.

  IPv4 addresses can and do change during normal operation. Testing by
  pfSense developers exposed an issue where OpenOSPFD was using the IPv4
  address to leave the OSPF link-scope multicast groups on a dynamic
  OpenVPN tun interface, rather than using RFC 3678 with the interface
  index, which won't be raced when the interface's addresses change.

  In inp_join_group():
   If we are already a member of an ASM group, and IP_ADD_MEMBERSHIP or
   MCAST_JOIN_GROUP ioctls are re-issued, return EADDRINUSE as per the
   legacy 4.4BSD multicast API. This bends RFC 3678 slightly, but does
   not violate POLA for apps using the old API.
   It also stops us falling through to kicking IGMP state transactions
   in what is otherwise a no-op case.
   [This has already been dealt with in HEAD, but make it explicit before
    we MFC the change to 8.]

  In inp_leave_group():
   Fix a bogus conditional.
   Move the ifp null check to ioctls MCAST_LEAVE* in the switch..case
   where it actually belongs.
   If an interface was specified, by primary IPv4 address, for ioctl
   IP_DROP_MEMBERSHIP or MCAST_LEAVE_GROUP (an ASM full leave operation),
   then and only then should we look up the ifp from the IPv4 address in
   mreqs.imr_interface.
   If not, we fall through to imo_match_group() as before, but only in
   the IP_DROP_MEMBERSHIP case.

  With these changes, the legacy 4.4BSD multicast API idempotence should
  be mostly preserved in the SSM enabled IPv4 stack.

  [Note: this is not a straight svn merge as head and 8 differ slightly]

Found by: ermal (with pfSense)

git-svn-id: svn://svn.freebsd.org/base/stable/8@207274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC 206454:
bms [Tue, 27 Apr 2010 13:27:51 +0000 (13:27 +0000)]
MFC 206454:
  When embedding the scope ID in MLDv1 output, check if the scope of the address
  being embedded is in fact link-local, before attempting to embed it.

  Note that this operation is a side-effect of trying to avoid recursion on
  the IN6 scope lock.

PR: 144560
Submitted by: Petr Lampa

git-svn-id: svn://svn.freebsd.org/base/stable/8@207273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206992:
kib [Tue, 27 Apr 2010 10:50:09 +0000 (10:50 +0000)]
MFC r206992:
As was done in r155238 for i386 and in r155239 for amd64, clear the carry
flag for ia32 binary executed on amd64 host in get_mcontext().

git-svn-id: svn://svn.freebsd.org/base/stable/8@207271 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206547:
kib [Tue, 27 Apr 2010 10:47:54 +0000 (10:47 +0000)]
MFC r206547:
Handle a case in kern_openat() when vn_open() change file type from
DTYPE_VNODE.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207270 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206880
rmacklem [Tue, 27 Apr 2010 01:00:22 +0000 (01:00 +0000)]
MFC: r206880
For the experimental NFS client doing an NFSv4 mount,
set the NFSCLFLAGS_RECVRINPROG while doing recovery from an expired
lease in a manner similar to r206818 for server reboot recovery.
This will prevent the function that acquires stateids for I/O
operations from acquiring out of date stateids during recovery.
Also, fix up mutex locking on the nfsc_flags field.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r204773
jkim [Mon, 26 Apr 2010 20:55:03 +0000 (20:55 +0000)]
MFC: r204773
Merge ACPICA 20100304.

MFC: r204874
Update module Makefile for ACPICA 20100304.

MFC: r204877
Allow ACPI module build on amd64.  Although we strongly recommend building
it into kernel, there is no need to prevent it from building at all.

MFC: r204916
- Allow users to enable dumping Debug objects without ACPI debugger.
Setting the new sysctl MIB "debug.acpi.enable_debug_objects" to a non-zero
value enables us to print Debug object when something is written to it.
- Allow users to disable interpreter slack mode.  Setting the new tunable
"debug.acpi.interpreter_slack" to zero disables some workarounds for common
BIOS mistakes and enables strict ACPI implementations by the specification.

MFC: r204920
Since the interpreter slack mode is a tunable now, enable a local hack only
when it is set.  Note the default behaviour does not change by this change.

MFC: r204965
Fix white spaces.

MFC: r206117
Merge ACPICA 20100331 (and four additional upstream patches).

git-svn-id: svn://svn.freebsd.org/base/stable/8@207250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206384
jkim [Mon, 26 Apr 2010 19:19:29 +0000 (19:19 +0000)]
MFC: r206384

Allocate memory for VBE info block with malloc(9), not as static local.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207245 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r207071:
yongari [Mon, 26 Apr 2010 18:07:55 +0000 (18:07 +0000)]
MFC r207071:
  Intialize interrupt moderation control register. The magic value
  was chosen by lots of trial and errors. The chosen value shows
  good interrupt moderation without additional latency.
  Without this change, controller can generate more than 140k
  interrupts per second under high network load.

  Submitted by: xclin <xclin <> cs dot nctu dot edu dot tw >

git-svn-id: svn://svn.freebsd.org/base/stable/8@207238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206876:
yongari [Mon, 26 Apr 2010 18:02:12 +0000 (18:02 +0000)]
MFC r206876:
  With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify
  drivers to take into account for the change. Basically CSUM_TSO
  should be checked before checking CSUM_TCP.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207236 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206672:
yongari [Mon, 26 Apr 2010 17:54:49 +0000 (17:54 +0000)]
MFC r206672:
  Fix include path.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207234 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206631:
yongari [Mon, 26 Apr 2010 17:30:41 +0000 (17:30 +0000)]
MFC r206631:
  Add sge(4) man page and hook up sge(4) to the build.
  Also add Xr to appropriate man pages.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207232 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206628:
yongari [Mon, 26 Apr 2010 17:27:08 +0000 (17:27 +0000)]
MFC r206628:
  Add sge(4) to the list of supported network interface.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r198443 (by antoine):
delphij [Mon, 26 Apr 2010 17:24:10 +0000 (17:24 +0000)]
MFC r198443 (by antoine):

Add more obsolete man pages.

Requested by: Alex Kozlov
Ok'ed by: antoine

git-svn-id: svn://svn.freebsd.org/base/stable/8@207229 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206625:
yongari [Mon, 26 Apr 2010 17:03:56 +0000 (17:03 +0000)]
MFC r206625:
  Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet.
  This driver was written by Alexander Pohoyda and greatly enhanced
  by Nikolay Denev. I don't have these hardwares but this driver was
  tested by Nikolay Denev and xclin.

  Because SiS didn't release data sheet for this controller, programming
  information came from Linux driver and OpenSolaris. Unlike other open
  source driver for SiS190/191, sge(4) takes full advantage of TX/RX
  checksum offloading and does not require additional copy operation in
  RX handler.
  The controller seems to have advanced offloading features like VLAN
  hardware tag insertion/stripping, TCP segmentation offload(TSO) as
  well as jumbo frame support but these features are not available
  yet. Special thanks to xclin <xclin<> cs dot nctu dot edu dot tw>
  who sent fix for receiving VLAN oversized frames.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207227 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206859:
jh [Mon, 26 Apr 2010 16:20:18 +0000 (16:20 +0000)]
MFC r206859:

Fix ddb(4) "show geom addr" command when INVARIANTS is enabled. Don't
assert that the topology lock is held when g_valid_obj() is called from
debugger.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200130 (partly): /usr/share/examples/etc/rc.firewall6 was
ume [Mon, 26 Apr 2010 15:01:14 +0000 (15:01 +0000)]
MFC r200130 (partly): /usr/share/examples/etc/rc.firewall6 was
also obsoleted.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206915
imp [Sun, 25 Apr 2010 19:21:19 +0000 (19:21 +0000)]
MFC r206915

  Bump minor version of config to reflect the new option remapping
  feature.  The kernel makefiles have specifically not been bumped
  because nothing uses this new feature and doing so forces everybody to
  recompile for no good reason.  This chnage will be MFC'd where the
  kernel version numbers for amd64 and ia64 will be bumped, since those
  are the only two that have use the option remapping feature.  Once
  merged, this will give a better error message to folks that are using
  buildkernel without buildworld or kernel-toolchain to update their
  kernels.

  MFC after: 3 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@207200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206916
imp [Sun, 25 Apr 2010 19:13:08 +0000 (19:13 +0000)]
MFC r206916

  Make sure that we free the passed in data message if we don't actually
  insert it onto the queue.  Also, fix a mtx leak if someone turns off
  devctl while we're processing a messages.

  MFC after: 5 days

git-svn-id: svn://svn.freebsd.org/base/stable/8@207198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206994:
fabient [Sun, 25 Apr 2010 16:16:43 +0000 (16:16 +0000)]
MFC r206994:
Apply threshold filter to root node in calltree view.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207192 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206818
rmacklem [Sun, 25 Apr 2010 01:56:31 +0000 (01:56 +0000)]
MFC: r206818
Avoid extraneous recovery cycles in the experimental NFS client
when an NFSv4 server reboots, by doing two things.
1 - Make the function that acquires a stateid for I/O operations
    block until recovery is complete, so that it doesn't acquire
    out of date stateids.
2 - Only allow a recovery once every 1/2 of a lease duration, since
    the NFSv4 server must provide a recovery grace period of at
    least a lease duration. This should avoid recoveries caused
    by an out of date stateid that was acquired for an I/O op.
    just before a recovery cycle started.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207180 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 204050.
mjacob [Sat, 24 Apr 2010 23:20:51 +0000 (23:20 +0000)]
This is an MFC of 204050.

Don't try and re-use a handle, even if the firmware tells you that's what is logged in.

PR:             kern/144026

git-svn-id: svn://svn.freebsd.org/base/stable/8@207175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205252.
mjacob [Sat, 24 Apr 2010 23:10:13 +0000 (23:10 +0000)]
This is an MFC of 205252.

We actually can generate a host number.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207173 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205236
mjacob [Sat, 24 Apr 2010 23:05:56 +0000 (23:05 +0000)]
This is an MFC of 205236

Put gone device timer into a structure tag that can hold more than 32 seconds. Oops.

Untangle some of the confusion about what role means when it's in the FCPARAM/SDPARAM
or isp_fc/isp_spi structures. This fixed a problem about seeing targets appear if you've
turned off autologin and find them, or rather don't, via camcontrol rescan.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206482, r206879:
attilio [Sat, 24 Apr 2010 00:53:41 +0000 (00:53 +0000)]
MFC r206482, r206879:
- Introduce a blessed list for sxlocks that prevents the deadlkres to
  panic on those ones. Populate this list with getblk and so_snd_sx and
  so_rcv_sx.
- Fix ticks counter wrap-up

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@207138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206421:
attilio [Sat, 24 Apr 2010 00:49:19 +0000 (00:49 +0000)]
MFC r206421:
Default the machdep.lapic_allclocks to be enabled in order to cope with
broken atrtc.
Now if you want more correct stats on profhz and stathz it may be
disabled by setting to 0.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@207137 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r197848: Clarify quoting of word in ${v=word} in sh(1).
jilles [Fri, 23 Apr 2010 19:26:03 +0000 (19:26 +0000)]
MFC r197848: Clarify quoting of word in ${v=word} in sh(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@207132 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206711: fnmatch: Fix bad FNM_PERIOD disabling
jilles [Fri, 23 Apr 2010 18:01:19 +0000 (18:01 +0000)]
MFC r206711: fnmatch: Fix bad FNM_PERIOD disabling
if an asterisk has been seen.

Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD)

PR: 116074

git-svn-id: svn://svn.freebsd.org/base/stable/8@207129 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206710: Add some tests for fnmatch(3).
jilles [Fri, 23 Apr 2010 17:52:36 +0000 (17:52 +0000)]
MFC r206710: Add some tests for fnmatch(3).

git-svn-id: svn://svn.freebsd.org/base/stable/8@207128 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205847, 204071 and 196580
mjacob [Fri, 23 Apr 2010 16:49:18 +0000 (16:49 +0000)]
This is an MFC of 205847, 204071 and 196580

------
Change how multipath labels are created and managed. This makes it easier
to support various storage boxes which really aren't active-active.

We only write the label on the *first* provider. For all other providers
we just "add" the disk. This also allows for an "add" verb.

A usage implication is that you should specificy the currently active
storage path as the first provider.

Note that this does not add RDAC-like functionality, but better allows for
autovolumefailover configurations (additional checkins elsewhere will support
this).

------------------------------------------------------------------------

- Style fixes.
- Prefer strlcpy() over strncpy().

------------------------------------------------------------------------

There's no need for checking result of M_WAITOK allocation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207126 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFC of 205412.
mjacob [Fri, 23 Apr 2010 16:26:10 +0000 (16:26 +0000)]
This is an MFC of 205412.

Add 'rotate' and 'getactive' verbs to provide some control and information
about what the currently active path is.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207124 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoThis is an MFS of 205412.
mjacob [Fri, 23 Apr 2010 16:20:45 +0000 (16:20 +0000)]
This is an MFS of 205412.

Add 'rotate' and 'getactive' verbs to provide some control and information
about what the currently active path is.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206996: indent.pro example: actually install the sample file
avg [Fri, 23 Apr 2010 15:24:56 +0000 (15:24 +0000)]
MFC r206996: indent.pro example: actually install the sample file

git-svn-id: svn://svn.freebsd.org/base/stable/8@207119 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206690
rmacklem [Fri, 23 Apr 2010 00:34:59 +0000 (00:34 +0000)]
MFC: r206690
Add mutex lock calls to 2 cases in the experimental NFS client's
renew thread where they were missing.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207086 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: r206688
rmacklem [Fri, 23 Apr 2010 00:12:23 +0000 (00:12 +0000)]
MFC: r206688
The experimental NFS client was not filling in recovery credentials
for opens done locally in the client when a delegation for the file
was held. This could cause the client to crash in crsetgroups() when
recovering from a server crash/reboot. This patch fills in the
recovery credentials for this case, in order to avoid the client crash.
Also, add KASSERT()s to the credential copy functions, to catch any
other cases where the credentials aren't filled in correctly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206842:
nwhitehorn [Thu, 22 Apr 2010 14:11:59 +0000 (14:11 +0000)]
MFC r206842:

Fix brokenness in top on big-endian 32-bit systems introduced when
changing format_k2 to take a long long. Because itoa is defined as a K&R
C function, without prototyping its arguments, format_k2 passed a 64-bit
value, but itoa() received only the first word, showing '0' in all memory
fields.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207064 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206687: indent(1): don't treat bare '_t' as a type name with -ta
avg [Thu, 22 Apr 2010 13:16:18 +0000 (13:16 +0000)]
MFC r206687: indent(1): don't treat bare '_t' as a type name with -ta

git-svn-id: svn://svn.freebsd.org/base/stable/8@207063 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206650: g_io_check: respond to zero pp->mediasize with ENXIO
avg [Thu, 22 Apr 2010 12:24:59 +0000 (12:24 +0000)]
MFC r206650: g_io_check: respond to zero pp->mediasize with ENXIO

git-svn-id: svn://svn.freebsd.org/base/stable/8@207061 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206648,206651: scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set
avg [Thu, 22 Apr 2010 11:46:42 +0000 (11:46 +0000)]
MFC r206648,206651: scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set
d_sectorsize and d_mediasize

PR: kern/138789

git-svn-id: svn://svn.freebsd.org/base/stable/8@207059 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206563:
yongari [Thu, 22 Apr 2010 01:39:45 +0000 (01:39 +0000)]
MFC r206563:
  Add Agere ET1011 PHY which is found on Belkin F5D5055 USB
  controller. Unlike Agere ET1011C, Agere ET1011 does not seem to
  need special DSP programming to workaround silicon bug.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoRemove a file that is not supposed to be part of -STABLE branch.
delphij [Thu, 22 Apr 2010 00:29:36 +0000 (00:29 +0000)]
Remove a file that is not supposed to be part of -STABLE branch.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207042 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC: netcat 4.7.
delphij [Thu, 22 Apr 2010 00:28:49 +0000 (00:28 +0000)]
MFC: netcat 4.7.

git-svn-id: svn://svn.freebsd.org/base/stable/8@207040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206488:
bz [Wed, 21 Apr 2010 20:00:13 +0000 (20:00 +0000)]
MFC r206488:

  Take a reference to make sure that the interface cannot go away during
  if_clone_destroy() in case parallel threads try to.

PR: kern/116837
Submitted by: Mikolaj Golub (to.my.trociny gmail.com)

git-svn-id: svn://svn.freebsd.org/base/stable/8@207015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206486:
bz [Wed, 21 Apr 2010 19:55:43 +0000 (19:55 +0000)]
MFC r206486:

  Check that the interface is on the list of cloned interfaces before trying
  to remove it to avoid panics in case of two threads trying to remove it in
  parallel.

PR:       kern/116837
Submitted by: Takahiro Kurosawa (takahiro.kurosawa gmail.com) (orig version)

git-svn-id: svn://svn.freebsd.org/base/stable/8@207014 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206481:
bz [Wed, 21 Apr 2010 19:51:22 +0000 (19:51 +0000)]
MFC r206481:

  Plug reference leaks in the link-layer code ("new-arp") that previously
  prevented the link-layer entry from being freed.

  In both in.c and in6.c (though that code path seems to be basically dead)
  plug a reference leak in case of a pending callout being drained.

  In if_ether.c consistently add a reference before resetting the callout
  and in case we canceled a pending one remove the reference for that.
  In the final case in arptimer, before freeing the expired entry, remove
  the reference again and explicitly call callout_stop() to clear the active
  flag.

  In nd6.c:nd6_free() we are only ever called from the callout function and
  thus need to remove the reference there as well before calling into
  llentry_free().

  In if_llatbl.c when freeing the entire tables make sure that in case we
  cancel a pending callout to remove the reference as well.

  Reviewed by:          qingli (earlier version)
  MFC after:            10 days
  Problem observed, patch tested by: simon on ipv6gw.f.o,
                        Christian Kratzer (ck cksoft.de),
                        Evgenii Davidov (dado korolev-net.ru)
PR: kern/144564
Configurations still affected: with options FLOWTABLE

git-svn-id: svn://svn.freebsd.org/base/stable/8@207013 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206470:
bz [Wed, 21 Apr 2010 19:48:40 +0000 (19:48 +0000)]
MFC r206470:

  In if_detach_internal() we cannot hold the af_data lock over the
  dom_ifdetach() calls as they might sleep for callout_drain().
  Do as we do in if_attachdomain1() [r121470] and handle
  if_afdata_initialized earlier and call dom_ifdetach() unlocked.

  Discussed with:       rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@207012 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206469:
bz [Wed, 21 Apr 2010 19:47:19 +0000 (19:47 +0000)]
MFC r206469:

  In if_detach_internal() only try to do the detach run if if_attachdomain1()
  has actually succeeded to initialize and attach.  There is a theoretical
  possibility to drop out early in if_attachdomain1() leaving the array
  uninitialized if we cannot get the lock.

  Discussed with:       rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@207011 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205345:
bz [Wed, 21 Apr 2010 19:45:41 +0000 (19:45 +0000)]
MFC r205345:

  Split eventhandler_register() into an internal part and a wrapper function
  that provides the allocated and setup eventhandler entry.

  Add a new wrapper for VIMAGE that allocates extra space to hold the
  callback function and argument in addition to an extra wrapper function.
  While the wrapper function goes as normal callback function the
  argument points to the extra space allocated holding the original func
  and arg that the wrapper function can then call.

  Provide an iterator function for the virtual network stack (vnet) that
  will call the callback function for each network stack.

  Provide a new set of macros for VNET that in the non-VIMAGE case will
  just call eventhandler_register() while in the VIMAGE case it will use
  vimage_eventhandler_register() passing in the extra iterator function
  but will only register once rather than per-vnet.
  We need a special macro in case we are interested in the tag returned
  as we must check for curvnet and can neither simply assign the
  return value, nor not change it in the non-vnet0 case without that.

  Discussed with:       jhb
  Reviewed by:  zec (earlier version), jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@207010 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206549:
kib [Wed, 21 Apr 2010 11:09:13 +0000 (11:09 +0000)]
MFC r206549:
Align the declaration for sa_sigaction with POSIX.

MFC r206649:
Still reference struct __sigaction with clarification when this form
of argument declaration is needed.

MFC r206802:
Revert r206649. Simplify the presented declaration of struct sigaction.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206990 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFH OpenSSH 5.4p1
des [Wed, 21 Apr 2010 06:33:10 +0000 (06:33 +0000)]
MFH OpenSSH 5.4p1

git-svn-id: svn://svn.freebsd.org/base/stable/8@206984 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205874: make sockstat -6 output more readable for long ipv6
maxim [Wed, 21 Apr 2010 05:39:51 +0000 (05:39 +0000)]
MFC r205874: make sockstat -6 output more readable for long ipv6
addresses.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206983 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205873: remove duplication, improve wording.
maxim [Wed, 21 Apr 2010 05:38:16 +0000 (05:38 +0000)]
MFC r205873: remove duplication, improve wording.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205672: fix typo.
maxim [Wed, 21 Apr 2010 05:36:53 +0000 (05:36 +0000)]
MFC r205672: fix typo.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206981 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205671: trim leading w/space.
maxim [Wed, 21 Apr 2010 05:35:06 +0000 (05:35 +0000)]
MFC r205671: trim leading w/space.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206980 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoremove svn:mergeinfo properties committed during my MFCs.
weongyo [Wed, 21 Apr 2010 00:26:41 +0000 (00:26 +0000)]
remove svn:mergeinfo properties committed during my MFCs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206971 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205141:
weongyo [Wed, 21 Apr 2010 00:23:23 +0000 (00:23 +0000)]
MFC r205141:
  enables S/W beacon miss handler.

  Reported by: imp

git-svn-id: svn://svn.freebsd.org/base/stable/8@206970 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205003:
weongyo [Wed, 21 Apr 2010 00:22:16 +0000 (00:22 +0000)]
MFC r205003:
  Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug
  and non-debug cases

MFC r204992:
  fixes a compile error if INVARIANTS is disabled.

  Pointy hat to: me
  Submitted by: Michael Butler <imb at protected-networks dot net>

MFC r204983:
  Fix build breakage introduced in r204922.

MFC r204923:
  uses KOBJMETHOD_END macro to indicate the end of method table.

  Submitted by: yongari

MFC r204922:
  o uses bus accessor macros to read values from ivar so no more values
    are referenced directly from ivar pointer.  It's to do like what other
    buses do. [1]
  o changes exported prototypes.  It doesn't use struct siba_* structures
    anymore that instead of it it uses only device_t.
  o removes duplicate code and debug messages.
  o style(9)

  Pointed out by:        imp [1]

git-svn-id: svn://svn.freebsd.org/base/stable/8@206969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204662:
weongyo [Wed, 21 Apr 2010 00:15:58 +0000 (00:15 +0000)]
MFC r204662:
  Hook up the bwn driver.

  Pointed by: nwhitehorn

git-svn-id: svn://svn.freebsd.org/base/stable/8@206968 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204657:
weongyo [Wed, 21 Apr 2010 00:13:44 +0000 (00:13 +0000)]
MFC r204657:
  fixes an attached-at-boot issue that bwn(4) using device_identify
  interface didn't be attached automatically at boot time so changes a
  approach to attach children based on leveraging some newbus niceties.

  Submitted by: nwhitehorn

git-svn-id: svn://svn.freebsd.org/base/stable/8@206967 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204542:
weongyo [Wed, 21 Apr 2010 00:06:39 +0000 (00:06 +0000)]
MFC r204542:
  calculates the integer square root if a positive integer X is larger
  than 256 instead of using sqrt_table.

  Reported by: Joe Marcus Clarke <marcus at freebsd dot org>

git-svn-id: svn://svn.freebsd.org/base/stable/8@206965 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204437:
weongyo [Wed, 21 Apr 2010 00:05:22 +0000 (00:05 +0000)]
MFC r204437:
  fixes a bug to load firmware images for LP PHY. For LP PHY always,
  `lp_' string is contained in its full image names.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204436:
weongyo [Wed, 21 Apr 2010 00:02:48 +0000 (00:02 +0000)]
MFC r204436:
  supports the adhoc demo mode that it's tested on modified aircrack-ng
  suite and worked.

  Submitted by: Paul B Mahol <onemda at gmail dot com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@206963 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204385:
weongyo [Wed, 21 Apr 2010 00:01:38 +0000 (00:01 +0000)]
MFC  r204385:
  don't need to check BWN_RX_PHYST0_SHORTPRMBL flag because it's already
  handled in later.

  Reported from: imp, nwhitehorn

git-svn-id: svn://svn.freebsd.org/base/stable/8@206962 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204343:
weongyo [Tue, 20 Apr 2010 23:59:02 +0000 (23:59 +0000)]
MFC  r204343:
  Updates what firmware module should be used for LP (low power) PHY
  users and bumps date.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206961 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC assembler version of match functions for amd64 and i386(*).
delphij [Tue, 20 Apr 2010 22:57:05 +0000 (22:57 +0000)]
MFC assembler version of match functions for amd64 and i386(*).

This gives approximately 15% improvement on compression case.

(*) i386 assembler version is enabled ONLY when MACHINE_CPU have
'i686' which is not default on FreeBSD/i386.  One can specify
for instance CPUTYPE=pentium4 in /etc/make.conf to get this
feature.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204328:
weongyo [Tue, 20 Apr 2010 22:55:07 +0000 (22:55 +0000)]
MFC r204328:
  Add bwn(4) driver.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206951 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.
jilles [Tue, 20 Apr 2010 22:52:28 +0000 (22:52 +0000)]
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.

These may be NFS mounted, and we should not touch them unless we are going
to do something useful with the information.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205472:
delphij [Tue, 20 Apr 2010 22:52:13 +0000 (22:52 +0000)]
MFC r205472:

Enable mmap for minigzip(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@206949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206387:
delphij [Tue, 20 Apr 2010 22:47:24 +0000 (22:47 +0000)]
MFC r206387:

Diff reduction against NetBSD and add myself to AUTHORS section of the
manual page as I wrote the unpack functionality.  No actual executable
code change verified with md5(1).

git-svn-id: svn://svn.freebsd.org/base/stable/8@206948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r200943: sh: Remove setting variables from dotcmd/exportcmd.
jilles [Tue, 20 Apr 2010 22:32:34 +0000 (22:32 +0000)]
MFC r200943: sh: Remove setting variables from dotcmd/exportcmd.

It is already done by evalcommand(), unless special-ness has been removed,
in which case variable assignments should not persist. (These are currently
always special builtins, but this may change later: command builtin,
command substitution.)

This also fixes a memory leak when calling . with variable assignments.

Example:
  valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'

git-svn-id: svn://svn.freebsd.org/base/stable/8@206944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r199282: sh: Allow a newline before "in" in a for command,
jilles [Tue, 20 Apr 2010 22:20:31 +0000 (22:20 +0000)]
MFC r199282: sh: Allow a newline before "in" in a for command,
as required by POSIX.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203945:
weongyo [Tue, 20 Apr 2010 22:00:56 +0000 (22:00 +0000)]
MFC r203945:
  adds bwn(4) driver man page which missed to be merged.

MFC r204327:
  Connect bwn.4 to the build.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206940 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204326:
weongyo [Tue, 20 Apr 2010 21:55:44 +0000 (21:55 +0000)]
MFC r204326:
  Add bwn(4) driver to the build.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206939 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204257:
weongyo [Tue, 20 Apr 2010 21:52:54 +0000 (21:52 +0000)]
MFC r204257:
  o adds sysctl variables to show device statistics.
  o records RTS success/fail statistics.

  Pointed by:   imp

git-svn-id: svn://svn.freebsd.org/base/stable/8@206938 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204256:
weongyo [Tue, 20 Apr 2010 21:51:45 +0000 (21:51 +0000)]
MFC r204256:
  fixes a compile error; invalid type argument of '->'.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206937 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204242:
weongyo [Tue, 20 Apr 2010 21:48:48 +0000 (21:48 +0000)]
MFC r204242:
  Fix compilation problems with INVARIANTS.

  # also limit RX decryption attempted messages to 50

  Reviewed by:  weongyo

Approved by: imp (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204081:
weongyo [Tue, 20 Apr 2010 21:41:43 +0000 (21:41 +0000)]
MFC r204081:
  o print msgs with length if the frame is too short to pass to
    net80211.
  o print key index for debugging if the frame is attempted to decrypt
    for WEP, AES or TKIP though currently HW decryption isn't supported.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206934 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203945:
weongyo [Tue, 20 Apr 2010 21:40:09 +0000 (21:40 +0000)]
MFC r203945:
  adds bwn(4) driver for supporting Broadcom BCM43xx chipsets.

    o uses v4 firmware instead of v3.  A port will be committed to
      create the bwn firmware module.
    o supports B/G and LP(low power) PHYs.
    o supports 32 / 64 bits DMA operations.
    o tested on big / little endian machines so should work on all
      architectures.

  It'd not connected to the build until the firmware port is committed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203944:
weongyo [Tue, 20 Apr 2010 21:37:47 +0000 (21:37 +0000)]
MFC r203944:
  supports SPROM rev8 informations properly which are used to support
  low-power PHY of bwn(4) and LDO voltage adjustments.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206932 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203320:
weongyo [Tue, 20 Apr 2010 21:35:48 +0000 (21:35 +0000)]
MFC r203320:
  Hook up the siba_bwn module to the build.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206931 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r206551 (forgotten in previous commit): fix builds with ktr
luigi [Tue, 20 Apr 2010 21:33:14 +0000 (21:33 +0000)]
MFC r206551 (forgotten in previous commit): fix builds with ktr

git-svn-id: svn://svn.freebsd.org/base/stable/8@206929 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r203319:
weongyo [Tue, 20 Apr 2010 21:29:53 +0000 (21:29 +0000)]
MFC r203319:
  Adds siba_bwn module which is used with bwn(4).  Main purpose of this
  module is to distinguish parts of Silicon Backplane and of Broadcom
  Wireless.

git-svn-id: svn://svn.freebsd.org/base/stable/8@206928 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r201978:
weongyo [Tue, 20 Apr 2010 21:24:32 +0000 (21:24 +0000)]
MFC r201978:
  Merge from projects/mips to head by hand:

  Merge the siba bus device.  This was moved from mips to dev because
  siba bus can be in other architectures, like ARM.

MFC r202056:
  Move this to the right location.  Grump.

MFC r202057:
  This was somehow copied to the wrong place :(.  Remove the spare copy.

Approved by: imp

git-svn-id: svn://svn.freebsd.org/base/stable/8@206927 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205118:
brucec [Tue, 20 Apr 2010 20:24:00 +0000 (20:24 +0000)]
MFC r205118:

Free the memory allocated via strdup.

PR: bin/113881
Submitted by: Alexander Drozdov (dzal_mail at mtu-net.ru)
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206913 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r205119 and r206056:
brucec [Tue, 20 Apr 2010 20:19:19 +0000 (20:19 +0000)]
MFC r205119 and r206056:

Prevent the SIZE field being corrupted when a process allocates more than
2TB.

PR: bin/129706
Submitted by: brucec
Approved by:  rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206911 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

14 years agoMFC r204820:
brucec [Tue, 20 Apr 2010 18:46:00 +0000 (18:46 +0000)]
MFC r204820:

Install /etc/termcap.small .

PR: conf/78419
Submitted by: Eygene A.Ryabinkin <rea at mbslab.kiae.ru>
Approved by: rrs (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@206908 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f