File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 29
29
task :
30
30
name : nightly x86_64-unknown-freebsd-14
31
31
freebsd_instance :
32
- image : freebsd-14-0-current-amd64-v20220902
32
+ image : freebsd-14-0-current-amd64-v20230114
33
33
setup_script :
34
34
- pkg install -y curl
35
35
- curl https://sh.rustup.rs -sSf --output rustup.sh
Original file line number Diff line number Diff line change @@ -2188,6 +2188,7 @@ fn test_freebsd(target: &str) {
2188
2188
2189
2189
// Added in FreeBSD 14.
2190
2190
"PT_COREDUMP" | "PC_ALL" | "PC_COMPRESS" | "PT_GETREGSET" | "PT_SETREGSET"
2191
+ | "PT_SC_REMOTE"
2191
2192
if Some ( 14 ) > freebsd_ver =>
2192
2193
{
2193
2194
true
@@ -2275,6 +2276,8 @@ fn test_freebsd(target: &str) {
2275
2276
2276
2277
// `ptrace_coredump` introduced in FreeBSD 14.
2277
2278
"ptrace_coredump" if Some ( 14 ) > freebsd_ver => true ,
2279
+ // `ptrace_sc_remote` introduced in FreeBSD 14.
2280
+ "ptrace_sc_remote" if Some ( 14 ) > freebsd_ver => true ,
2278
2281
2279
2282
// `sockcred2` is not available in FreeBSD 12.
2280
2283
"sockcred2" if Some ( 13 ) > freebsd_ver => true ,
Original file line number Diff line number Diff line change @@ -970,6 +970,7 @@ PT_LWP_EVENTS
970
970
PT_READ_D
971
971
PT_READ_I
972
972
PT_RESUME
973
+ PT_SC_REMOTE
973
974
PT_SETDBREGS
974
975
PT_SETFPREGS
975
976
PT_SETREGS
@@ -1833,6 +1834,7 @@ pthread_spinlock_t
1833
1834
ptrace
1834
1835
ptrace_io_desc
1835
1836
ptrace_lwpinfo
1837
+ ptrace_sc_remote
1836
1838
ptrace_sc_ret
1837
1839
ptrace_vm_entry
1838
1840
ptsname_r
Original file line number Diff line number Diff line change @@ -355,6 +355,13 @@ s! {
355
355
pub pc_limit: :: off_t,
356
356
}
357
357
358
+ pub struct ptrace_sc_remote {
359
+ pub pscr_ret: ptrace_sc_ret,
360
+ pub pscr_syscall: :: c_uint,
361
+ pub pscr_nargs: :: c_uint,
362
+ pub pscr_args: * mut :: register_t,
363
+ }
364
+
358
365
pub struct cpuset_t {
359
366
#[ cfg( target_pointer_width = "64" ) ]
360
367
__bits: [ :: c_long; 4 ] ,
@@ -2356,6 +2363,7 @@ pub const PT_VM_TIMESTAMP: ::c_int = 40;
2356
2363
pub const PT_VM_ENTRY : :: c_int = 41 ;
2357
2364
pub const PT_GETREGSET : :: c_int = 42 ;
2358
2365
pub const PT_SETREGSET : :: c_int = 43 ;
2366
+ pub const PT_SC_REMOTE : :: c_int = 44 ;
2359
2367
pub const PT_FIRSTMACH : :: c_int = 64 ;
2360
2368
2361
2369
pub const PTRACE_EXEC : :: c_int = 0x0001 ;
You can’t perform that action at this time.
0 commit comments