aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2010-02-11 18:00:53 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2010-02-11 18:00:53 +0000
commit162110273c6a2a57c6f19369d5796e6116da0c8a (patch)
tree7298ba5a8437ae1ba25bbfce17a6e8e0104aa851 /sys/sys/ptrace.h
parentf634c395271c3d9e900a393933de28d0932b77c8 (diff)
downloadsrc-162110273c6a2a57c6f19369d5796e6116da0c8a.tar.gz
src-162110273c6a2a57c6f19369d5796e6116da0c8a.zip
o Add support for COMPAT_IA32.
o Incorporate review comments: - Properly reference and lock the map - Take into account that the VM map can change inbetween requests - Add the fileid and fsid attributes Credits: kib@ Reviewed by: kib@
Notes
Notes: svn path=/head/; revision=203783
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 0d35cac78cd6..e3653b657d1a 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -104,13 +104,16 @@ struct ptrace_lwpinfo {
/* Argument structure for PT_VM_ENTRY. */
struct ptrace_vm_entry {
- void *pve_cookie; /* Token used to iterate. */
- u_long pve_start; /* Start VA of range. */
- u_long pve_end; /* End VA of range (incl). */
- u_long pve_offset; /* Offset in backing object. */
- u_int pve_prot; /* Protection of memory range. */
- u_int pve_pathlen; /* Size of path. */
- char *pve_path; /* Path name of object. */
+ int pve_entry; /* Entry number used for iteration. */
+ int pve_timestamp; /* Generation number of VM map. */
+ u_long pve_start; /* Start VA of range. */
+ u_long pve_end; /* End VA of range (incl). */
+ u_long pve_offset; /* Offset in backing object. */
+ u_int pve_prot; /* Protection of memory range. */
+ u_int pve_pathlen; /* Size of path. */
+ long pve_fileid; /* File ID. */
+ uint32_t pve_fsid; /* File system ID. */
+ char *pve_path; /* Path name of object. */
};
#ifdef _KERNEL