diff options
author | David Carlier <devnexen@gmail.com> | 2023-01-18 21:54:24 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2023-01-19 08:52:56 +0000 |
commit | 3350f367074c4adc05c74ecdfd3abccd255ab486 (patch) | |
tree | 162bba94bc646c1aea620024fbf9765749a0a8ad /src/unix/bsd | |
parent | 8958df1a5af377922bc0c06e2828e8c80eb8f997 (diff) | |
download | rust-libc-3350f367074c4adc05c74ecdfd3abccd255ab486.tar.gz |
freebsd 14 add ptrace_sc_remote.
Diffstat (limited to 'src/unix/bsd')
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 2a4fbbf05f..0245cdb643 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -355,6 +355,13 @@ s! { pub pc_limit: ::off_t, } + pub struct ptrace_sc_remote { + pub pscr_ret: ptrace_sc_ret, + pub pscr_syscall: ::c_uint, + pub pscr_nargs: ::c_uint, + pub pscr_args: *mut ::register_t, + } + pub struct cpuset_t { #[cfg(target_pointer_width = "64")] __bits: [::c_long; 4], @@ -2356,6 +2363,7 @@ pub const PT_VM_TIMESTAMP: ::c_int = 40; pub const PT_VM_ENTRY: ::c_int = 41; pub const PT_GETREGSET: ::c_int = 42; pub const PT_SETREGSET: ::c_int = 43; +pub const PT_SC_REMOTE: ::c_int = 44; pub const PT_FIRSTMACH: ::c_int = 64; pub const PTRACE_EXEC: ::c_int = 0x0001; |