Skip to content

Commit 4a8cb10

Browse files
committed
Try to add the other codes
1 parent 72ee1d0 commit 4a8cb10

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libc-test/semver/linux.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2880,6 +2880,8 @@ SIOCSRARP
28802880
SIOCWANDEV
28812881
SIOGIFINDEX
28822882
SI_ASYNCIO
2883+
SI_ASYNCNL
2884+
SI_DETHREAD
28832885
SI_KERNEL
28842886
SI_LOAD_SHIFT
28852887
SI_MESGQ
@@ -3371,6 +3373,7 @@ TP_STATUS_WRONG_FORMAT
33713373
TRAP_BRANCH
33723374
TRAP_BRKPT
33733375
TRAP_HWBKPT
3376+
TRAP_PERF
33743377
TRAP_TRACE
33753378
TRAP_UNK
33763379
TUNATTACHFILTER

src/unix/linux_like/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,8 @@ pub const SI_MESGQ: c_int = -3;
12971297
pub const SI_ASYNCIO: c_int = -4;
12981298
pub const SI_SIGIO: c_int = -5;
12991299
pub const SI_TKILL: c_int = -6;
1300+
pub const SI_DETHREAD: c_int = -7;
1301+
pub const SI_ASYNCNL: c_int = -60;
13001302

13011303
// si_code values for SIGBUS signal
13021304
pub const BUS_ADRALN: c_int = 1;
@@ -1312,6 +1314,7 @@ pub const TRAP_TRACE: c_int = 2;
13121314
pub const TRAP_BRANCH: c_int = 3;
13131315
pub const TRAP_HWBKPT: c_int = 4;
13141316
pub const TRAP_UNK: c_int = 5;
1317+
pub const TRAP_PERF: c_int = 6;
13151318

13161319
// si_code values for SIGCHLD signal
13171320
pub const CLD_EXITED: c_int = 1;

0 commit comments

Comments
 (0)