summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wörner <git@simon-woerner.de>2020-07-09 17:12:41 +0200
committerSimon Wörner <git@simon-woerner.de>2020-07-10 01:28:40 +0200
commitfabdb14a0c8373d30472167a0576b873ed063f12 (patch)
tree97b4230123d11c6241ea78fc13e3d74cd89c9b16
parent2ea1dee37b2ecc31d6c510a9e5557e75969004f3 (diff)
downloadrust-libc-fabdb14a0c8373d30472167a0576b873ed063f12.tar.gz
added ptrace_vm_entry struct
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/mod.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs
index 35fe554a3a..6b10a95b2b 100644
--- a/src/unix/bsd/freebsdlike/freebsd/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -116,6 +116,19 @@ s! {
pub sc_ngroups: ::c_int,
pub sc_groups: [::gid_t; 1],
}
+
+ pub struct ptrace_vm_entry {
+ pub pve_entry: ::c_int,
+ pub pve_timestamp: ::c_int,
+ pub pve_start: ::c_ulong,
+ pub pve_end: ::c_ulong,
+ pub pve_offset: ::c_ulong,
+ pub pve_prot: ::c_uint,
+ pub pve_pathlen: ::c_uint,
+ pub pve_fileid: ::c_long,
+ pub pve_fsid: u32,
+ pub pve_path: *mut ::c_char,
+ }
}
s_no_extra_traits! {