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 2929task :
3030 name : nightly x86_64-unknown-freebsd-14
3131 freebsd_instance :
32- image : freebsd-14-0-current-amd64-v20220902
32+ image : freebsd-14-0-current-amd64-v20230114
3333 setup_script :
3434 - pkg install -y curl
3535 - 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) {
21882188
21892189 // Added in FreeBSD 14.
21902190 "PT_COREDUMP" | "PC_ALL" | "PC_COMPRESS" | "PT_GETREGSET" | "PT_SETREGSET"
2191+ | "PT_SC_REMOTE"
21912192 if Some ( 14 ) > freebsd_ver =>
21922193 {
21932194 true
@@ -2275,6 +2276,8 @@ fn test_freebsd(target: &str) {
22752276
22762277 // `ptrace_coredump` introduced in FreeBSD 14.
22772278 "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 ,
22782281
22792282 // `sockcred2` is not available in FreeBSD 12.
22802283 "sockcred2" if Some ( 13 ) > freebsd_ver => true ,
Original file line number Diff line number Diff line change @@ -970,6 +970,7 @@ PT_LWP_EVENTS
970970PT_READ_D
971971PT_READ_I
972972PT_RESUME
973+ PT_SC_REMOTE
973974PT_SETDBREGS
974975PT_SETFPREGS
975976PT_SETREGS
@@ -1833,6 +1834,7 @@ pthread_spinlock_t
18331834ptrace
18341835ptrace_io_desc
18351836ptrace_lwpinfo
1837+ ptrace_sc_remote
18361838ptrace_sc_ret
18371839ptrace_vm_entry
18381840ptsname_r
Original file line number Diff line number Diff line change @@ -355,6 +355,13 @@ s! {
355355 pub pc_limit: :: off_t,
356356 }
357357
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+
358365 pub struct cpuset_t {
359366 #[ cfg( target_pointer_width = "64" ) ]
360367 __bits: [ :: c_long; 4 ] ,
@@ -2356,6 +2363,7 @@ pub const PT_VM_TIMESTAMP: ::c_int = 40;
23562363pub const PT_VM_ENTRY : :: c_int = 41 ;
23572364pub const PT_GETREGSET : :: c_int = 42 ;
23582365pub const PT_SETREGSET : :: c_int = 43 ;
2366+ pub const PT_SC_REMOTE : :: c_int = 44 ;
23592367pub const PT_FIRSTMACH : :: c_int = 64 ;
23602368
23612369pub const PTRACE_EXEC : :: c_int = 0x0001 ;
You can’t perform that action at this time.
0 commit comments