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 @@ -2182,6 +2182,7 @@ fn test_freebsd(target: &str) {
2182
2182
2183
2183
// Added in FreeBSD 14.
2184
2184
"PT_COREDUMP" | "PC_ALL" | "PC_COMPRESS" | "PT_GETREGSET" | "PT_SETREGSET"
2185
+ | "PT_SC_REMOTE"
2185
2186
if Some ( 14 ) > freebsd_ver =>
2186
2187
{
2187
2188
true
@@ -2269,6 +2270,8 @@ fn test_freebsd(target: &str) {
2269
2270
2270
2271
// `ptrace_coredump` introduced in FreeBSD 14.
2271
2272
"ptrace_coredump" if Some ( 14 ) > freebsd_ver => true ,
2273
+ // `ptrace_sc_remote` introduced in FreeBSD 14.
2274
+ "ptrace_sc_remote" if Some ( 14 ) > freebsd_ver => true ,
2272
2275
2273
2276
// `sockcred2` is not available in FreeBSD 12.
2274
2277
"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