File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -3499,40 +3499,40 @@ pub const SIG = if (is_mips) struct {
34993499 pub const UNBLOCK = 2 ;
35003500 pub const SETMASK = 3 ;
35013501
3502+ // https://github.com/torvalds/linux/blob/ca91b9500108d4cf083a635c2e11c884d5dd20ea/arch/mips/include/uapi/asm/signal.h#L25
35023503 pub const HUP = 1 ;
35033504 pub const INT = 2 ;
35043505 pub const QUIT = 3 ;
35053506 pub const ILL = 4 ;
35063507 pub const TRAP = 5 ;
35073508 pub const ABRT = 6 ;
35083509 pub const IOT = ABRT ;
3509- pub const BUS = 7 ;
3510+ pub const EMT = 7 ;
35103511 pub const FPE = 8 ;
35113512 pub const KILL = 9 ;
3512- pub const USR1 = 10 ;
3513+ pub const BUS = 10 ;
35133514 pub const SEGV = 11 ;
3514- pub const USR2 = 12 ;
3515+ pub const SYS = 12 ;
35153516 pub const PIPE = 13 ;
35163517 pub const ALRM = 14 ;
35173518 pub const TERM = 15 ;
3518- pub const STKFLT = 16 ;
3519- pub const CHLD = 17 ;
3520- pub const CONT = 18 ;
3521- pub const STOP = 19 ;
3522- pub const TSTP = 20 ;
3523- pub const TTIN = 21 ;
3524- pub const TTOU = 22 ;
3525- pub const URG = 23 ;
3526- pub const XCPU = 24 ;
3527- pub const XFSZ = 25 ;
3528- pub const VTALRM = 26 ;
3529- pub const PROF = 27 ;
3530- pub const WINCH = 28 ;
3531- pub const IO = 29 ;
3532- pub const POLL = 29 ;
3533- pub const PWR = 30 ;
3534- pub const SYS = 31 ;
3535- pub const UNUSED = SIG .SYS ;
3519+ pub const USR1 = 16 ;
3520+ pub const USR2 = 17 ;
3521+ pub const CHLD = 18 ;
3522+ pub const PWR = 19 ;
3523+ pub const WINCH = 20 ;
3524+ pub const URG = 21 ;
3525+ pub const IO = 22 ;
3526+ pub const POLL = IO ;
3527+ pub const STOP = 23 ;
3528+ pub const TSTP = 24 ;
3529+ pub const CONT = 25 ;
3530+ pub const TTIN = 26 ;
3531+ pub const TTOU = 27 ;
3532+ pub const VTALRM = 28 ;
3533+ pub const PROF = 29 ;
3534+ pub const XCPU = 30 ;
3535+ pub const XFZ = 31 ;
35363536
35373537 pub const ERR : ? Sigaction.handler_fn = @ptrFromInt (maxInt (usize ));
35383538 pub const DFL : ? Sigaction.handler_fn = @ptrFromInt (0 );
You can’t perform that action at this time.
0 commit comments