]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283924
authorvangyzen <vangyzen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Oct 2015 14:36:41 +0000 (14:36 +0000)
committervangyzen <vangyzen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Oct 2015 14:36:41 +0000 (14:36 +0000)
commitbfccb623628401de9eaba3f77a5630771ca7309e
tree50f81cbd9709385229eb7c8ec9c23fe0614e7b02
parent4a8a28da5d041f2e5c43c23acae951f7879a2074
MFC r283924

Provide vnode in memory map info for files on tmpfs

When providing memory map information to userland, populate the vnode pointer
for tmpfs files.  Set the memory mapping to appear as a vnode type, to match
FreeBSD 9 behavior.

This fixes the use of tmpfs files with the dtrace pid provider,
procstat -v, procfs, linprocfs, pmc (pmcstat), and ptrace (PT_VM_ENTRY).

Submitted by:   Eric Badger <eric@badgerio.us> (initial revision)
Obtained from:  Dell Inc.
PR:             198431

git-svn-id: svn://svn.freebsd.org/base/stable/10@288499 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/linprocfs/linprocfs.c
sys/dev/hwpmc/hwpmc_mod.c
sys/fs/procfs/procfs_map.c
sys/kern/kern_proc.c
sys/kern/sys_process.c
sys/vm/vm_object.c
sys/vm/vm_object.h