File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3526,6 +3526,10 @@ pub const AT_RSEQ_ALIGN: c_ulong = 28;
3526
3526
pub const AT_EXECFN : c_ulong = 31 ;
3527
3527
pub const AT_MINSIGSTKSZ : c_ulong = 51 ;
3528
3528
3529
+ // siginfo.h
3530
+ pub const SI_DETHREAD : c_int = -7 ;
3531
+ pub const TRAP_PERF : c_int = 6 ;
3532
+
3529
3533
// Most `*_SUPER_MAGIC` constants are defined at the `linux_like` level; the
3530
3534
// following are only available on newer Linux versions than the versions
3531
3535
// currently used in CI in some configurations, so we define them here.
Original file line number Diff line number Diff line change @@ -5810,6 +5810,10 @@ pub const EPIOCGPARAMS: Ioctl = 0x80088a02;
5810
5810
const _IOC_NRBITS: u32 = 8 ;
5811
5811
const _IOC_TYPEBITS: u32 = 8 ;
5812
5812
5813
+ // siginfo.h
5814
+ pub const SI_DETHREAD : c_int = -7 ;
5815
+ pub const TRAP_PERF : c_int = 6 ;
5816
+
5813
5817
// https://github.com/search?q=repo%3Atorvalds%2Flinux+%22%23define+_IOC_NONE%22&type=code
5814
5818
cfg_if ! {
5815
5819
if #[ cfg( any(
Original file line number Diff line number Diff line change @@ -1297,7 +1297,6 @@ pub const SI_MESGQ: c_int = -3;
1297
1297
pub const SI_ASYNCIO : c_int = -4 ;
1298
1298
pub const SI_SIGIO : c_int = -5 ;
1299
1299
pub const SI_TKILL : c_int = -6 ;
1300
- pub const SI_DETHREAD : c_int = -7 ;
1301
1300
pub const SI_ASYNCNL : c_int = -60 ;
1302
1301
1303
1302
// si_code values for SIGBUS signal
@@ -1314,7 +1313,6 @@ pub const TRAP_TRACE: c_int = 2;
1314
1313
pub const TRAP_BRANCH : c_int = 3 ;
1315
1314
pub const TRAP_HWBKPT : c_int = 4 ;
1316
1315
pub const TRAP_UNK : c_int = 5 ;
1317
- pub const TRAP_PERF : c_int = 6 ;
1318
1316
1319
1317
// si_code values for SIGCHLD signal
1320
1318
pub const CLD_EXITED : c_int = 1 ;
You can’t perform that action at this time.
0 commit comments