File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 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;
35263526pub const AT_EXECFN : c_ulong = 31 ;
35273527pub const AT_MINSIGSTKSZ : c_ulong = 51 ;
35283528
3529+ // siginfo.h
3530+ pub const SI_DETHREAD : c_int = -7 ;
3531+ pub const TRAP_PERF : c_int = 6 ;
3532+
35293533// Most `*_SUPER_MAGIC` constants are defined at the `linux_like` level; the
35303534// following are only available on newer Linux versions than the versions
35313535// 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;
58105810const _IOC_NRBITS: u32 = 8 ;
58115811const _IOC_TYPEBITS: u32 = 8 ;
58125812
5813+ // siginfo.h
5814+ pub const SI_DETHREAD : c_int = -7 ;
5815+ pub const TRAP_PERF : c_int = 6 ;
5816+
58135817// https://github.com/search?q=repo%3Atorvalds%2Flinux+%22%23define+_IOC_NONE%22&type=code
58145818cfg_if ! {
58155819 if #[ cfg( any(
Original file line number Diff line number Diff line change @@ -1297,7 +1297,6 @@ pub const SI_MESGQ: c_int = -3;
12971297pub const SI_ASYNCIO : c_int = -4 ;
12981298pub const SI_SIGIO : c_int = -5 ;
12991299pub const SI_TKILL : c_int = -6 ;
1300- pub const SI_DETHREAD : c_int = -7 ;
13011300pub const SI_ASYNCNL : c_int = -60 ;
13021301
13031302// si_code values for SIGBUS signal
@@ -1314,7 +1313,6 @@ pub const TRAP_TRACE: c_int = 2;
13141313pub const TRAP_BRANCH : c_int = 3 ;
13151314pub const TRAP_HWBKPT : c_int = 4 ;
13161315pub const TRAP_UNK : c_int = 5 ;
1317- pub const TRAP_PERF : c_int = 6 ;
13181316
13191317// si_code values for SIGCHLD signal
13201318pub const CLD_EXITED : c_int = 1 ;
You can’t perform that action at this time.
0 commit comments