Skip to content

Commit fabdb14

Browse files
committed
added ptrace_vm_entry struct
1 parent 2ea1dee commit fabdb14

File tree

1 file changed

+13
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+13
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,19 @@ s! {
116116
pub sc_ngroups: ::c_int,
117117
pub sc_groups: [::gid_t; 1],
118118
}
119+
120+
pub struct ptrace_vm_entry {
121+
pub pve_entry: ::c_int,
122+
pub pve_timestamp: ::c_int,
123+
pub pve_start: ::c_ulong,
124+
pub pve_end: ::c_ulong,
125+
pub pve_offset: ::c_ulong,
126+
pub pve_prot: ::c_uint,
127+
pub pve_pathlen: ::c_uint,
128+
pub pve_fileid: ::c_long,
129+
pub pve_fsid: u32,
130+
pub pve_path: *mut ::c_char,
131+
}
119132
}
120133

121134
s_no_extra_traits! {

0 commit comments

Comments
 (0)