File tree 3 files changed +8
-2
lines changed
src/unix/bsd/freebsdlike/freebsd
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 44
44
task :
45
45
name : nightly x86_64-unknown-freebsd-14
46
46
freebsd_instance :
47
- image : freebsd-14-0-current-amd64-v20220113
47
+ image : freebsd-14-0-current-amd64-v20220203
48
48
setup_script :
49
49
- pkg install -y curl
50
50
- curl https://sh.rustup.rs -sSf --output rustup.sh
Original file line number Diff line number Diff line change @@ -2155,7 +2155,11 @@ fn test_freebsd(target: &str) {
2155
2155
"MNT_UNTRUSTED" | "MNT_VERIFIED" if Some ( 12 ) > freebsd_ver => true ,
2156
2156
2157
2157
// Added in FreeBSD 14.
2158
- "PT_COREDUMP" | "PC_ALL" | "PC_COMPRESS" if Some ( 14 ) > freebsd_ver => true ,
2158
+ "PT_COREDUMP" | "PC_ALL" | "PC_COMPRESS" | "PT_GETREGSET" | "PT_SETREGSET"
2159
+ if Some ( 14 ) > freebsd_ver =>
2160
+ {
2161
+ true
2162
+ }
2159
2163
2160
2164
// Added in FreeBSD 14.
2161
2165
"F_KINFO" => true , // FIXME: depends how frequent freebsd 14 is updated on CI, this addition went this week only.
Original file line number Diff line number Diff line change @@ -2317,6 +2317,8 @@ pub const PT_GETDBREGS: ::c_int = 37;
2317
2317
pub const PT_SETDBREGS : :: c_int = 38 ;
2318
2318
pub const PT_VM_TIMESTAMP : :: c_int = 40 ;
2319
2319
pub const PT_VM_ENTRY : :: c_int = 41 ;
2320
+ pub const PT_GETREGSET : :: c_int = 42 ;
2321
+ pub const PT_SETREGSET : :: c_int = 43 ;
2320
2322
pub const PT_FIRSTMACH : :: c_int = 64 ;
2321
2323
2322
2324
pub const PTRACE_EXEC : :: c_int = 0x0001 ;
You can’t perform that action at this time.
0 commit comments