]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
10 years agoMFC r245479:
smh [Wed, 5 Jun 2013 11:46:43 +0000 (11:46 +0000)]
MFC r245479:
Report pools which have a removed l2cache disk under zpool status -x

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

10 years agoMFC r248579:
smh [Wed, 5 Jun 2013 11:42:03 +0000 (11:42 +0000)]
MFC r248579:
Add missing descriptions for ZFS sysctls

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

10 years agoMFC r250206:
smh [Wed, 5 Jun 2013 11:39:22 +0000 (11:39 +0000)]
MFC r250206:
Fix uninitialized warning in mps

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

10 years agoMFC r247426:
smh [Wed, 5 Jun 2013 09:48:12 +0000 (09:48 +0000)]
MFC r247426:
Add hw.mfi.cmd_timeout loader / sysctl tuneable.

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

10 years agoMFC: r251079
rmacklem [Tue, 4 Jun 2013 22:29:19 +0000 (22:29 +0000)]
MFC: r251079
Post-r248567, there were times when the client would return a
truncated directory for some NFS servers. This turned out to
be because the size of a directory reported by an NFS server
can be smaller that the ufs-like directory created from the
RPC XDR in the client. This patch fixes the problem by changing
r248567 so that vnode_pager_setsize() is only done for regular files.

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

10 years agoMFC r251061:
smh [Tue, 4 Jun 2013 16:32:17 +0000 (16:32 +0000)]
MFC r251061:
More 4k quirks for SSD's

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

10 years agoMFC r250792:
smh [Tue, 4 Jun 2013 16:16:43 +0000 (16:16 +0000)]
MFC r250792:
Added output of device QUIRKS for CAM and AHCI devices during boot.

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

10 years agoMFC 249066:
jhb [Tue, 4 Jun 2013 14:38:50 +0000 (14:38 +0000)]
MFC 249066:
Check for SS_NBIO in the socket state field rather than socket buffer
flags.

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

10 years agoEnhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.
smh [Tue, 4 Jun 2013 10:47:44 +0000 (10:47 +0000)]
Enhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support.

Disable CAM BIO queue sorting for non-rotating media by default.

MFC r249939 Added available delete methods discovery during device probe
MFC r249941 Automatically disable BIO queue sorting for non-rotating media
MFC r250033 Correct comment typo's
MFC r250179 Update probe flow so that devices with lbp can also disable disksort
MFC r250180 Fix probe in progress check in dareprobe
MFC r250181 Check for ATA Information VPD before querying for ATA
MFC r250183 Enable CAM SCSI to choice ATA TRIM during autodetection
MFC r250967 Enforce validation on the selected delete method via sysctl

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

10 years agoMFC r251047:
kib [Tue, 4 Jun 2013 05:07:03 +0000 (05:07 +0000)]
MFC r251047:
Avoid a nested frame for getcontext() call in check_deferred_signal().

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

10 years agoMFC r249937:
smh [Mon, 3 Jun 2013 22:06:09 +0000 (22:06 +0000)]
MFC r249937:
Refactored scsi_xpt use of device_has_vpd

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

10 years agoMFC r249934:
smh [Mon, 3 Jun 2013 21:35:04 +0000 (21:35 +0000)]
MFC r249934:
Updated TRIM calculations in CAM ATA to be based off ATA_DSM_* defines

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

10 years agoMFC 248200: Remove fortunes-o from the base system.
jhb [Mon, 3 Jun 2013 17:33:12 +0000 (17:33 +0000)]
MFC 248200: Remove fortunes-o from the base system.

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

10 years agoMFC 248167:
jhb [Mon, 3 Jun 2013 17:07:34 +0000 (17:07 +0000)]
MFC 248167:
Fix the 'C' field for a running thread to match the behavior described
in the manpage by having it display the current CPU (ki_oncpu) rather
than the previously used CPU (ki_lastcpu).  ki_lastcpu is still used for
all other thread states.

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

10 years agoMFC r249933:
smh [Mon, 3 Jun 2013 16:54:56 +0000 (16:54 +0000)]
MFC r249933:
Added the ability to send ATA identify and TRIM commands via SCSI

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

10 years agoMFC r249931:
smh [Mon, 3 Jun 2013 16:50:16 +0000 (16:50 +0000)]
MFC r249931:
Added Dataset Management defines to be used by TRIM

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

10 years agoMFC: r251186
jkim [Mon, 3 Jun 2013 16:46:37 +0000 (16:46 +0000)]
MFC: r251186

Fix a long standing logic bug introduced in r167814.  The code was added to
get RSDP from loader(8) hint via kenv(2) but the bug nullified the new code
and we always fell back to the previous method, i. e., sysctlbyname(3).

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

10 years agoMFC r249930:
smh [Mon, 3 Jun 2013 16:22:19 +0000 (16:22 +0000)]
MFC r249930:
Added a sysctl to control the maximum size of a delete request

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

10 years agoMFC r249929:
smh [Mon, 3 Jun 2013 16:14:24 +0000 (16:14 +0000)]
MFC r249929:
Removed unneeded tests in dadeletemethodset

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

10 years agoMFC r250868: Remove an extra semicolon from the DOT language output.
jh [Mon, 3 Jun 2013 16:09:23 +0000 (16:09 +0000)]
MFC r250868: Remove an extra semicolon from the DOT language output.

PR: kern/178540

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

10 years agoMFC r248992:
smh [Mon, 3 Jun 2013 16:05:34 +0000 (16:05 +0000)]
MFC r248992:
Added ATA Pass-Through support to CAM

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

10 years agoMFC r248922:
smh [Mon, 3 Jun 2013 15:48:25 +0000 (15:48 +0000)]
MFC r248922:
Add the ability to enable / disable sorting of BIO requests

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

10 years agoMFC r246146:
smh [Mon, 3 Jun 2013 14:33:10 +0000 (14:33 +0000)]
MFC r246146:
Format CDB output as 2 digit hex correcting the length

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

10 years agoMFC r251040:
kib [Mon, 3 Jun 2013 04:58:12 +0000 (04:58 +0000)]
MFC r251040:
Partially apply the capitalization of the heading word of the sequence
and fix typo.

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

10 years agoMFC r251039:
kib [Mon, 3 Jun 2013 04:57:15 +0000 (04:57 +0000)]
MFC r251039:
Use slightly more idiomatic expression to get the address of array.

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

10 years agoMFC r251038:
kib [Mon, 3 Jun 2013 04:55:03 +0000 (04:55 +0000)]
MFC r251038:
Use _MC_IA32_HASFPXSTATE name instead of _MC_HASFPXSTATE.

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

10 years agoMFC r251037:
kib [Mon, 3 Jun 2013 04:52:31 +0000 (04:52 +0000)]
MFC r251037:
The ia32_get_mcontext() does not need to set PCB_FULL_IRET.

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

10 years agoMFC r251035:
kib [Mon, 3 Jun 2013 04:50:21 +0000 (04:50 +0000)]
MFC r251035:
When reporting the fault details, also print %rsp.r251035:
When reporting the fault details, also print %rsp.

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

10 years agoMFC r251033:
kib [Mon, 3 Jun 2013 04:48:09 +0000 (04:48 +0000)]
MFC r251033:
When handling an exception from the attempt from loading the faulting
context on return from the trap handler, re-enable the interrupts on
i386 and amd64.

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

10 years agoMFC: r249203 (partial)
marius [Sat, 1 Jun 2013 13:10:24 +0000 (13:10 +0000)]
MFC: r249203 (partial)

- Make ata_str2mode() static, it's not used outside of ata-all.c.
- Move ata_timeout() to ata-all.c so we don't need to expose both this
  function and ata_cam_end_transaction() but only the former.
- Move ata_cmd2str() from ata-queue.c to ata-all.c.
- Add some missing prototypes.

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

10 years agoMFC r251066:
dim [Fri, 31 May 2013 20:11:07 +0000 (20:11 +0000)]
MFC r251066:

Fix warnings from newer clang versions about constexpr member functions
not being implicitly const in libc++'s <chrono> header.  The warnings
have been introduced because of new language rules recently adopted by
the C++ WG.  More info:

<http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3598.html>

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

10 years agoMFC 246805:
jhb [Fri, 31 May 2013 19:13:22 +0000 (19:13 +0000)]
MFC 246805:
Make VM_NDOMAIN a kernel option so that it can be enabled from a kernel
config file.

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

10 years agoMFC 241611:
jhb [Fri, 31 May 2013 15:19:00 +0000 (15:19 +0000)]
MFC 241611:
Fix aha(4) build with i386 LINT (which includes 'device mca').

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

10 years agoMFC 250219:
jhb [Fri, 31 May 2013 14:36:09 +0000 (14:36 +0000)]
MFC 250219:
Fix two bugs in the current NUMA-aware allocation code:
- vm_phys_alloc_freelist_pages() can be called by vm_page_alloc_freelist()
  to allocate a page from a specific freelist.  In the NUMA case it did not
  properly map the public VM_FREELIST_* constants to the correct backing
  freelists, nor did it try all NUMA domains for allocations from
  VM_FREELIST_DEFAULT.
- vm_phys_alloc_pages() did not pin the thread and each call to
  vm_phys_alloc_freelist_pages() fetched the current domain to choose
  which freelist to use.  If a thread migrated domains during the loop
  in vm_phys_alloc_pages() it could skip one of the freelists.  If the
  other freelists were out of memory then it is possible that
  vm_phys_alloc_pages() would fail to allocate a page even though pages
  were available resulting in a panic in vm_page_alloc().

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

10 years agoMFC r250966:
kib [Fri, 31 May 2013 11:41:01 +0000 (11:41 +0000)]
MFC r250966:
Fix the data corruption on the swap-backed md. Assign the rv variable a
success code if the pager was not asked for the page.

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

10 years agoMFC r249035:
delphij [Thu, 30 May 2013 22:01:06 +0000 (22:01 +0000)]
MFC r249035:

Replace access to /dev/random with the kernel pseudo-random number
source sysctl(KERN_ARND) and remove the fallback code.

Obtained from: OpenBSD

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

10 years agoMFC r241031 (des):
delphij [Thu, 30 May 2013 21:56:53 +0000 (21:56 +0000)]
MFC r241031 (des):

Slight stylification.

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

10 years agoMFC 241492, 241588, 241589, 241590, 241592, 241593, 241603, 241605
scottl [Thu, 30 May 2013 21:54:48 +0000 (21:54 +0000)]
MFC 241492, 241588, 241589, 241590, 241592, 241593, 241603, 241605

Modernize and lock the aha, ahb, adv, adw, bt, and dpt drivers.

Submitted by: jhb
Obtained from: Netflix

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

10 years agoMFC r250050:
delphij [Thu, 30 May 2013 21:49:43 +0000 (21:49 +0000)]
MFC r250050:

Add missing braces.

Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly

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

10 years agoMFC r250718:
delphij [Thu, 30 May 2013 20:46:56 +0000 (20:46 +0000)]
MFC r250718:

Constify string pointers.

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

10 years agoMFC r250666:
delphij [Thu, 30 May 2013 20:45:57 +0000 (20:45 +0000)]
MFC r250666:

Constify parameters, no functional or binary change.

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

10 years agoMFC: less v458.
delphij [Thu, 30 May 2013 20:40:16 +0000 (20:40 +0000)]
MFC: less v458.

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

10 years agoMFC 249567: mdoc: remove superfluous paragraph macro.
jhb [Thu, 30 May 2013 20:09:21 +0000 (20:09 +0000)]
MFC 249567: mdoc: remove superfluous paragraph macro.

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

10 years agoMFC 246417,247116,248584:
jhb [Thu, 30 May 2013 19:14:34 +0000 (19:14 +0000)]
MFC 246417,247116,248584:
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.

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

10 years agoMFC r248504:
scottl [Thu, 30 May 2013 17:17:22 +0000 (17:17 +0000)]
MFC r248504:

Add a convenience macro bread_gb() to wrap a call to
breadn_flags(). Comparing with bread(), it adds an argument to pass
the flags to getblk().

The API implementation of bread() and friends is different in FreeBSD 9,
so this merge is a little more complicated than the original commit.

Submitted by: kib, FF
Obtained from: Netflix

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

10 years agoMFC r248282, in a modified fashion. From the original changelog:
scottl [Thu, 30 May 2013 16:51:48 +0000 (16:51 +0000)]
MFC r248282, in a modified fashion.  From the original changelog:

Add currently unused flag argument to the cluster_read(),
cluster_write() and cluster_wbuild() functions.  The flags to be
allowed are a subset of the GB_* flags for getblk().

This merge adds a cluster_*_gb() API variant instead of changing the ABI
with an added argument to the existing API.  Most API consumers that were
changed in the original rev have been left un-changed in this merge to
reduce churn.  The mergeinfo is recorded though for future merging
convenience.  This is effectively a no-op for the moment.

Submitted by: kib, FF
Obtained from: Netflix

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

10 years agoPull in OpenSSH 6.2p2 from head.
des [Thu, 30 May 2013 12:25:58 +0000 (12:25 +0000)]
Pull in OpenSSH 6.2p2 from head.

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

10 years agoMFH (r248617): retire the mislabeled ENABLE_SUID_SSH knob.
des [Thu, 30 May 2013 12:25:37 +0000 (12:25 +0000)]
MFH (r248617): retire the mislabeled ENABLE_SUID_SSH knob.

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

10 years agoRevert my previous merge. There's a variable name difference between head
markj [Wed, 29 May 2013 22:30:29 +0000 (22:30 +0000)]
Revert my previous merge. There's a variable name difference between head
and stable (dirfd vs. dir_fd) and I managed to get it wrong again when I
did the MFC, even after I tested.

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

10 years agoMFC r250545:
markj [Wed, 29 May 2013 21:07:24 +0000 (21:07 +0000)]
MFC r250545:
  Some filesystems (NFS in particular) do not fill out the d_type field when
  returning directory entries through readdir(3). In this case we need to
  obtain the file type ourselves; otherwise newsyslog -t will not be able to
  find archived log files and will fail to both delete old log files and to
  do interval-based rotations properly.

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

10 years agoMFC r250508:
mav [Wed, 29 May 2013 04:17:05 +0000 (04:17 +0000)]
MFC r250508:
Disable sending Early R_OK on SiI3726/SiI3826 port multipliers.
With "cached read" HDD testing and multiple ports busy on a SATA
host controller, 3726/3826 PMP will very rarely drop a deferred
R_OK that was intended for the host. Symptom will be all 5 drives
under test will timeout, get reset, and recover.

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

10 years agoMFC r250819:
mav [Wed, 29 May 2013 04:12:53 +0000 (04:12 +0000)]
MFC r250819:
Fix vdc->Secondary_Element_Count metadata field access from 16 to 8 bit.
In some cases it could cause kernel panic during failed drive replacement.

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

10 years agoMFC r250900:
mav [Wed, 29 May 2013 04:09:32 +0000 (04:09 +0000)]
MFC r250900:
Fix NULL-dereference kernel panic in case of mps_attach() failure.

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

10 years agoMFH r250595:
bdrewery [Wed, 29 May 2013 00:18:12 +0000 (00:18 +0000)]
MFH r250595:
  The HPN patch added a new BUG bit for SSH_BUG_LARGEWINDOW
  and the update to 6.1 added SSH_BUG_DYNAMIC_RPORT with the
  same value.

  Fix the HPN SSH_BUG_LARGEWINDOW bit so it is unique.

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

10 years agoMFC: r249234
marius [Tue, 28 May 2013 23:43:11 +0000 (23:43 +0000)]
MFC: r249234

Add some missing newlines and static declarations.

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

10 years agoMFC: r249199
marius [Tue, 28 May 2013 23:33:03 +0000 (23:33 +0000)]
MFC: r249199

Unbreak ATA_NO_48BIT_DMA with ATA_CAM by treating 48-bit DMA as an
optional property with PATA transport.

Reviewed by: mav

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

10 years agoMFC: r247570, r247591
marius [Tue, 28 May 2013 20:58:57 +0000 (20:58 +0000)]
MFC: r247570, r247591

- Make tables, device ID strings etc const. This includes #ifdef'ing 0
  aac_command_status_table, which is actually unused since r111532.
  While at it, make aac_if a pointer to the now const interface tables
  instead of copying them over to the softc (this alone already reduces the
  size of aac.ko on amd64 by ~1 KiB).
- Remove redundant softc members.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.
- Remove redundant bzero(9)'ing of the softc.
- Use pci_enable_busmaster(9) instead of duplicating it.
- Remove redundant checking for PCIM_CMD_MEMEN (resource allocation will
  just fail).
- Canonicalize the error messages in case of resource allocation failures.
- Add support for using MSI instead of INTx, controllable via the tunable
  hw.aac.enable_msi (defaulting to on).

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

10 years agoMFC: r245926, r245931
marius [Tue, 28 May 2013 20:53:26 +0000 (20:53 +0000)]
MFC: r245926, r245931

- Improve some comments.
- Make bge_lookup_{rev,vendor}() static.
- Factor out chip identification rather than duplicating the code.
- Sanitize bge_probe() a bit (don't hardcode buffer sizes, allow
  bge_lookup_vendor() to return NULL so the excessive panic() can
  be removed there, etc.) and return BUS_PROBE_DEFAULT rather than
  hardcoding 0.
- According to the Linux tg3 driver, BCM57791 and BCM57795 aren't
  capable of Gigabit Ethernet.
- Check the return value of taskqueue_start_threads().
- Mention NetLink controllers in the fallback description, too.

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

10 years agoMFC 247332:
jhb [Tue, 28 May 2013 18:13:08 +0000 (18:13 +0000)]
MFC 247332:
Add a quirk to disable this driver for certain older laptops with an ICH2
southbridge and an Intel 82815_MC host bridge where the host bridge's
revision is less than 5

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

10 years agoRegenerate.
kib [Tue, 28 May 2013 05:52:03 +0000 (05:52 +0000)]
Regenerate.

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

10 years agoMFC r250853:
kib [Tue, 28 May 2013 05:51:00 +0000 (05:51 +0000)]
MFC r250853:
Fix the wait6(2) on 32bit architectures and for the compat32, by using
the right type for the argument in syscalls.master.  Also fix the
posix_fallocate(2) and posix_fadvise(2) compat32 syscalls on the
architectures which require padding of the 64bit argument.

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

10 years agoMFC r250851:
kib [Tue, 28 May 2013 05:36:18 +0000 (05:36 +0000)]
MFC r250851:
Fix the hardware watchpoints on SMP amd64.

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

10 years agoMFC r250850:
kib [Tue, 28 May 2013 05:25:10 +0000 (05:25 +0000)]
MFC r250850:
Add amd64-specific ddb command 'show phys2dmap'.

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

10 years agoMFC r250849:
kib [Tue, 28 May 2013 05:22:45 +0000 (05:22 +0000)]
MFC r250849:
Add ddb command 'show pginfo'.

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

10 years agoMFC of 250708:
mckusick [Mon, 27 May 2013 22:18:04 +0000 (22:18 +0000)]
MFC of 250708:

Clean up trailing whitespace.

Submitted by: Andy Kosela

MFC of 250710:

When running the -m option to generate a newfs(8) command suitable for
recreating the filesystem, check for and output the -i, -k, and -l
options if appropriate.

Note the remaining deficiencies of the -m option in the dumpfs(8)
manual page. Specifically that newfs(8) options -E, -R, -S, and -T
options are not handled and that -p is not useful so is omitted.
Also document that newfs(8) options -n and -r are neither checked
for nor output but should be. The -r flag is needed if the filesystem
uses gjournal(8).

PR:           bin/163992
Reported by:  Dieter <freebsd@sopwith.solgatos.com>
Submitted by: Andy Kosela <akosela@andykosela.com>

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

10 years agoPreparation for MFC revs r248291 and r249741:
marck [Mon, 27 May 2013 13:49:55 +0000 (13:49 +0000)]
Preparation for MFC revs r248291 and r249741:

Add 'list' command, for now the exact equivalent of 'status',
so users of the latter could change their scripts.

This is direct commit to stable, and is temporary.

Requested by: Pete French <petefrench@ingresso.co.uk>
Approved by: trociny
2B cleaned after: 6 weeks

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

10 years agoMFC r250968:
jamie [Mon, 27 May 2013 03:09:26 +0000 (03:09 +0000)]
MFC r250968:

  Mention the "nojailvnet" keyword.

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

10 years agoMFC r250405:
trociny [Sun, 26 May 2013 18:54:05 +0000 (18:54 +0000)]
MFC r250405:

Move snmp_hast manual to section 3, where all other manual pages for
bsnmp modules are located.

Section 3 (Library Functions) looks wrong for this manual page, which
contains only module description, that is why initially it was located
to section 8 (System Manager's Manual).  On the other hand manual
pages for all other bsnmpd modules are already located in the section
3, and having all pages in one section looks more consistent.  Also,
currently, similarly to manuals for other modules, snmp_hast manual
contains LIBRARY section, which is not good style for section 8.

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

10 years agoMFC r250380:
trociny [Sun, 26 May 2013 18:38:46 +0000 (18:38 +0000)]
MFC r250380:

Register OID for HAST module.

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

10 years agoMFC r250379, r250503:
trociny [Sun, 26 May 2013 18:35:52 +0000 (18:35 +0000)]
MFC r250379, r250503:

HAST module for bsnmpd(1).

Reviewed by: harti, pjd

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

10 years agor250503
trociny [Sun, 26 May 2013 18:28:36 +0000 (18:28 +0000)]
r250503

Get rid of libl dependency.  We needed it only to provide yywrap.  But
yywrap is not necessary when parsing a single hast.conf file.

Suggested by: kib
Reviewed by: pjd

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

10 years agoMFC r250147:
trociny [Sun, 26 May 2013 18:26:29 +0000 (18:26 +0000)]
MFC r250147:

procstat_getpathname: for kvm method, instead of returning the error
that the method is not supported, return an empty string.

This looks more handy for callers like procstat(1), which will not
abort after the failed call and still output some useful information.

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

10 years agoMFH (r243149): fix indentation
des [Sun, 26 May 2013 16:48:51 +0000 (16:48 +0000)]
MFH (r243149): fix indentation
MFH (r249431): use CONNECT to proxy HTTPS over HTTP

PR: bin/80176

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

10 years agoMFC r250992:
jlh [Sun, 26 May 2013 14:40:23 +0000 (14:40 +0000)]
MFC r250992:
    Rework the comment I initially wrote when SHLIB_LDSCRIPT was introduced.
    The build system is really intricate and I had a hard time to remind the
    whole picture even when reading my own words.  This one will hopefully
    be better.

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

10 years agoMFC r249591:
jlh [Sun, 26 May 2013 14:35:35 +0000 (14:35 +0000)]
MFC r249591:
    Document jail_<jname>_parameters option.

    The description explains why we should not configure "path",
    "host.hostname", "command", "ip4.addr" and ip6.addr" parameters with
    this, but rather use the historical rc.conf(5) options.

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

10 years agoMFC: r250580
rmacklem [Sun, 26 May 2013 12:36:56 +0000 (12:36 +0000)]
MFC: r250580
Add support for the eofflag to nfs_readdir() in the new NFS
client so that it works under a unionfs mount.

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

10 years agoMFC r250566:
pfg [Sun, 26 May 2013 03:48:40 +0000 (03:48 +0000)]
MFC r250566:

Add support for "d" floating-point suffix, as defined by draft N1312
of TR 24732. Emit pedantic warning if the feature is being used.

Obtained from: OpenBSD

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

10 years agoMFC r250763 and r250765:
hselasky [Sat, 25 May 2013 17:16:31 +0000 (17:16 +0000)]
MFC r250763 and r250765:
Fix some USB audio device issues.

PR: usb/178722

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

10 years agoMFC r250533:
eadler [Sat, 25 May 2013 15:17:58 +0000 (15:17 +0000)]
MFC r250533:
Unconditionally install 210.backup-aliases as many MTAs other than
sendmail support the use of /etc/aliases.

PR: conf/176098

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

10 years agoMFC r250505:
kib [Sat, 25 May 2013 11:05:00 +0000 (11:05 +0000)]
MFC r250505:
- Fix nullfs vnode reference leak in nullfs_reclaim_lowervp().  The
  null_hashget() obtains the reference on the nullfs vnode, which must
  be dropped.

- Fix a wart which existed from the introduction of the nullfs
  caching, do not unlock lower vnode in the nullfs_reclaim_lowervp().
  It should be innocent, but now it is also formally safe.  Inform the
  nullfs_reclaim() about this using the NULLV_NOUNLOCK flag set on
  nullfs inode.

- Add a callback to the upper filesystems for the lower vnode
  unlinking. When inactivating a nullfs vnode, check if the lower
  vnode was unlinked, indicated by nullfs flag NULLV_DROP or VV_NOSYNC
  on the lower vnode, and reclaim upper vnode if so.  This allows
  nullfs to purge cached vnodes for the unlinked lower vnode, avoiding
  excessive caching.

MFC r250852:
Do not leak the NULLV_NOUNLOCK flag from the nullfs_unlink_lowervp(),
for the case when the nullfs vnode is not reclaimed.  Otherwise, later
reclamation would not unlock the lower vnode.

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

10 years agoMFC r250443: Check the return value of sbuf_finish().
jh [Sat, 25 May 2013 09:47:33 +0000 (09:47 +0000)]
MFC r250443: Check the return value of sbuf_finish().

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

10 years agoMFC r248593: Allow O_CLOEXEC in posix_openpt() flags.
jilles [Fri, 24 May 2013 18:59:44 +0000 (18:59 +0000)]
MFC r248593: Allow O_CLOEXEC in posix_openpt() flags.

PR: kern/162374

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

10 years agoMFC r250741:
kib [Fri, 24 May 2013 09:33:55 +0000 (09:33 +0000)]
MFC r250741:
Decode new HT 3.00 and 3.10 capabilities.

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

10 years agoMFC r250740:
kib [Fri, 24 May 2013 09:30:10 +0000 (09:30 +0000)]
MFC r250740:
Add new capability types encodings from HyperTransport I/O Link
Specification revisions 3.00 and 3.10.

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

10 years agoRevert r250948, it was merged too soon.
scottl [Fri, 24 May 2013 06:13:36 +0000 (06:13 +0000)]
Revert r250948, it was merged too soon.

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

10 years agoMFC 248501:
scottl [Thu, 23 May 2013 22:48:40 +0000 (22:48 +0000)]
MFC 248501:

Assert that a ccb passed to cam_periph_mapmem() for XPT_SCSI_IO and
XPT_ATA_IO holds virtual buffer address.

Submitted by: kib
Obtained from: Netflix

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

10 years agoMFC r248283:
scottl [Thu, 23 May 2013 22:45:58 +0000 (22:45 +0000)]
MFC r248283:

Some style fixes

Submitted by: kib
Obtained from: Netflix

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

10 years agoMFC r250823:
pfg [Thu, 23 May 2013 16:39:42 +0000 (16:39 +0000)]
MFC r250823:

grep: change some int types.

Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

Obtained from: NetBSD

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

10 years agoCorrect typo s/with/wish.
schweikh [Thu, 23 May 2013 15:41:09 +0000 (15:41 +0000)]
Correct typo s/with/wish.
Spaces to tabs at SOL while I'm here.

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

10 years agoMFC: r249628, r249742
oleg [Thu, 23 May 2013 11:29:28 +0000 (11:29 +0000)]
MFC: r249628, r249742

- recover missing arp_ifinit() call.
- plug static llentry leak (ipv4 & ipv6 were affected).

PR: kern/172985

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

10 years agoMFC r250804:
jamie [Wed, 22 May 2013 18:26:12 +0000 (18:26 +0000)]
MFC r250804:

  Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't
  apply to most jails but do apply to vnet jails.  This includes adding
  a new sysctl "security.jail.vnet" to identify vnet jails.

PR: conf/149050
Submitted by: mdodd

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

10 years agoMFC r248830, r250027, r250409
scottl [Wed, 22 May 2013 10:37:28 +0000 (10:37 +0000)]
MFC r248830, r250027, r250409

Submitted by: gibbs, andre, kib
Obtained from: Netflix

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

10 years agoMFC r250327
scottl [Wed, 22 May 2013 08:44:21 +0000 (08:44 +0000)]
MFC r250327

Add a sysctl vfs.read_min to complement the exiting vfs.read_max.  It
defaults to 1, meaning that it's off.

When read-ahead is enabled on a file, the vfs cluster code deliberately
breaks a read into 2 I/O transactions; one to satisfy the actual read,
and one to perform read-ahead.  This makes sense in low-latency
circumstances, but often produces unbalanced i/o transactions that
penalize disks.  By setting vfs.read_min, we can tell the algorithm to
fetch a larger transaction that what we asked for, achieving the same
effect as the read-ahead but without the doubled, unbalanced transaction
and the slightly lower latency.  This significantly helps our workloads
with video streaming.

Submitted by:   emax
Reviewed by:    kib
Obtained from:  Netflix

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

10 years agoMFH revisions 242743 to 243202:
grog [Wed, 22 May 2013 07:52:41 +0000 (07:52 +0000)]
MFH revisions 242743 to 243202:

Make parameters to -c and -k options optional.  If no parameters are
supplied, print information for all keywords.

Improve output of -c option, in particular in conjunction with -k
option.

Complete man page.

Add comment on standards conformity.

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

10 years agoMFC r250374:
delphij [Wed, 22 May 2013 00:31:33 +0000 (00:31 +0000)]
MFC r250374:

According to the documentation, on Linux, cancel_delayed_work() does not
do drain (flush_workqueue() in Linux terms) but instead returns true if
the work was removed before it is run, or false otherwise.

Simulate this by removing the taskqueue_drain() and return the value
derived from taskqueue_cancel()'s return value.

This would solve a witness warning caused by calling taskqueue_drain()
with a non-sleepable lock held, like:

taskqueue_drain with the following non-sleepable locks held:
exclusive rw lle (lle) r = 0 (0xfffffe001450b410) locked @
/usr/src/sys/netinet/in.c:1484
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffff848d4f7690
kdb_backtrace() at kdb_backtrace+0x39/frame 0xffffff848d4f7740
witness_warn() at witness_warn+0x4a8/frame 0xffffff848d4f7800
taskqueue_drain() at taskqueue_drain+0x3a/frame 0xffffff848d4f7840
set_timeout() at set_timeout+0x4a/frame 0xffffff848d4f7860
netevent_callback() at netevent_callback+0x16/frame 0xffffff848d4f7870
arpintr() at arpintr+0x9b5/frame 0xffffff848d4f7930

This do not affect kernel without OFED compiled in.

Reported by: Garrett Cooper <yaneurabeya gmail com>

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

10 years agoMFC r249687, r249704, r250511:
trociny [Tue, 21 May 2013 19:06:17 +0000 (19:06 +0000)]
MFC r249687, r249704, r250511:

r249687, r249704:

Sync gcore(1) with the recent changes in kernel code aimed at adding
procstat notes to a process core file.

Suggested by: jhb

r250511 (antoine):

Add some missing DPADD.

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

10 years agoMFC r249668, r249669, r249671, r249673, r249675, r249678, r249680, r249683,
trociny [Tue, 21 May 2013 19:05:27 +0000 (19:05 +0000)]
MFC r249668, r249669, r249671, r249673, r249675, r249678, r249680, r249683,
    r249685, r249686:

r249668:

Use procstat_getprocs(3) for retrieving thread information instead of
direct sysctl calls.

r249669:

Use more generic procstat_getvmmap(3) for retrieving VM layout of a process.

r249671:

Use procstat_getgroups(3) for retrieving groups information instead of
direct sysctl.

r249673:

Use procstat_getumask(3) for retrieving umaks information instead of
direct sysctl.

r249675:

Use procstat_getrlimit(3) for retrieving rlimit information instead of
direct sysctl calls.

r249678:

Use libprocstat(3) when retrieving binary information for a process.

r249680:

Use libprocstat(3) to retrieve process command line arguments and
environment variables.

r249683:

Use libprocstat(3) to retrieve ELF auxiliary vector.

r249685:

Use procstat_getkstack(3) for retrieving process kernel stacks
instead of direct sysctl calls.

r249686:

Make use of newly added libprocstat(3) ability to extract procstat
info from a process core file.

So now one can run procstat(1) on a process core e.g. to get a list of
files opened by a process when it crashed:

root@lisa:/ # procstat -f /root/vi.core
  PID COMM               FD T V FLAGS     REF  OFFSET PRO NAME
  658 vi               text v r r--------   -       - -   /usr/bin/vi
  658 vi               ctty v c rw-------   -       - -   /dev/pts/0
  658 vi                cwd v d r--------   -       - -   /root
  658 vi               root v d r--------   -       - -   /
  658 vi                  0 v c rw-------  11    3208 -   /dev/pts/0
  658 vi                  1 v c rw-------  11    3208 -   /dev/pts/0
  658 vi                  2 v c rw-------  11    3208 -   /dev/pts/0
  658 vi                  3 v r r----n-l-   1       0 -   /tmp/vi.0AYKz3Lps7
  658 vi                  4 v r rw-------   1       0 -   /var/tmp/vi.recover/vi.GaGYsz
  658 vi                  5 v r rw-------   1       0 -   -

PR: kern/173723
Suggested by: jhb

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

10 years agoMFC r249666, r249667, r249670, r249672, r249674, r249676, r249677, r249679,
trociny [Tue, 21 May 2013 19:04:16 +0000 (19:04 +0000)]
MFC r249666, r249667, r249670, r249672, r249674, r249676, r249677, r249679,
    r249681, r249684, r249688, r249711, r249731, r250146

r249666, r249682:

Make libprocstat(3) extract procstat notes from a process core file.

PR: kern/173723
Suggested by: jhb
Glanced by: kib

r249667:

Add procstat_getvmmap function to get VM layout of a process.

r249670:

Add procstat_getgroups function to retrieve process groups.

r249672:

Add procstat_getumask function to retrieve a process umask.

r249674:

Add procstat_getrlimit function to retrieve a process resource limits info.

r249676:

Add procstat_getpathname function to retrieve a process executable.

r249677:

Add procstat_getosrel function to retrieve a process osrel info.

r249679:

Extend libprocstat with functions to retrieve process command line
arguments and environment variables.

Suggested by: stas
Reviewed by: jhb and stas (initial version)

r249681:

Add procstat_getauxv function to retrieve a process auxiliary vector.

r249684:

Add procstat_getkstack function to dump kernel stacks of a process.

r249688:

Bump date.

r249711 (joel):

mdoc: end function context properly.

r249731:

Embed revision id in the library.

r250146:

KVM method support for procstat_getgroups, procstat_getumask,
procstat_getrlimit, and procstat_getosrel.

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

10 years agoMFC r248458:
hselasky [Tue, 21 May 2013 06:10:26 +0000 (06:10 +0000)]
MFC r248458:
Add new USB ID.

PR: usb/177013

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

10 years agoMFC r248499:
hselasky [Tue, 21 May 2013 06:06:52 +0000 (06:06 +0000)]
MFC r248499:
Add new USB ID.

PR: usb/177105

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