From fabdb14a0c8373d30472167a0576b873ed063f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=B6rner?= <git@simon-woerner.de> Date: Thu, 9 Jul 2020 17:12:41 +0200 Subject: [PATCH] added ptrace_vm_entry struct --- src/unix/bsd/freebsdlike/freebsd/mod.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 35fe554a..6b10a95b 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! { -- GitLab