From f7430b706530994d5ac16e32eee3570360320b0c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 27 Mar 2015 22:51:51 +0000 Subject: Update siginfo_t constants * xlat/sigbus_codes.in: Add BUS_MCEERR_AR and BUS_MCEERR_AO, add default values. * xlat/sigtrap_codes.in: Add TRAP_BRANCH and TRAP_HWBKPT, add default values. * xlat/sigsegv_codes.in: Add SEGV_BNDERR, add default values. * xlat/sigchld_codes.in: Add default values. * xlat/sigemt_codes.in: Likewise. * xlat/sigfpe_codes.in: Likewise. * xlat/sigill_codes.in: Likewise. * xlat/siginfo_codes.in: Likewise. * xlat/sigpoll_codes.in: Likewise. * xlat/sigsys_codes.in: Likewise. --- xlat/sigbus_codes.in | 8 +++++--- xlat/sigchld_codes.in | 12 ++++++------ xlat/sigemt_codes.in | 2 +- xlat/sigfpe_codes.in | 16 ++++++++-------- xlat/sigill_codes.in | 16 ++++++++-------- xlat/siginfo_codes.in | 20 ++++++++++---------- xlat/sigpoll_codes.in | 12 ++++++------ xlat/sigsegv_codes.in | 5 +++-- xlat/sigsys_codes.in | 2 +- xlat/sigtrap_codes.in | 6 ++++-- 10 files changed, 52 insertions(+), 47 deletions(-) diff --git a/xlat/sigbus_codes.in b/xlat/sigbus_codes.in index 8d8a048f..1bce25f2 100644 --- a/xlat/sigbus_codes.in +++ b/xlat/sigbus_codes.in @@ -1,3 +1,5 @@ -BUS_ADRALN -BUS_ADRERR -BUS_OBJERR +BUS_ADRALN 1 +BUS_ADRERR 2 +BUS_OBJERR 3 +BUS_MCEERR_AR 4 +BUS_MCEERR_AO 5 diff --git a/xlat/sigchld_codes.in b/xlat/sigchld_codes.in index 40c93ce0..202bec44 100644 --- a/xlat/sigchld_codes.in +++ b/xlat/sigchld_codes.in @@ -1,6 +1,6 @@ -CLD_EXITED -CLD_KILLED -CLD_DUMPED -CLD_TRAPPED -CLD_STOPPED -CLD_CONTINUED +CLD_EXITED 1 +CLD_KILLED 2 +CLD_DUMPED 3 +CLD_TRAPPED 4 +CLD_STOPPED 5 +CLD_CONTINUED 6 diff --git a/xlat/sigemt_codes.in b/xlat/sigemt_codes.in index 63fe3a3a..eb875616 100644 --- a/xlat/sigemt_codes.in +++ b/xlat/sigemt_codes.in @@ -1 +1 @@ -EMT_TAGOVF +EMT_TAGOVF 1 diff --git a/xlat/sigfpe_codes.in b/xlat/sigfpe_codes.in index ab86b261..4ef0667a 100644 --- a/xlat/sigfpe_codes.in +++ b/xlat/sigfpe_codes.in @@ -1,8 +1,8 @@ -FPE_INTDIV -FPE_INTOVF -FPE_FLTDIV -FPE_FLTOVF -FPE_FLTUND -FPE_FLTRES -FPE_FLTINV -FPE_FLTSUB +FPE_INTDIV 1 +FPE_INTOVF 2 +FPE_FLTDIV 3 +FPE_FLTOVF 4 +FPE_FLTUND 5 +FPE_FLTRES 6 +FPE_FLTINV 7 +FPE_FLTSUB 8 diff --git a/xlat/sigill_codes.in b/xlat/sigill_codes.in index 6fb994e5..ca111ec8 100644 --- a/xlat/sigill_codes.in +++ b/xlat/sigill_codes.in @@ -1,8 +1,8 @@ -ILL_ILLOPC -ILL_ILLOPN -ILL_ILLADR -ILL_ILLTRP -ILL_PRVOPC -ILL_PRVREG -ILL_COPROC -ILL_BADSTK +ILL_ILLOPC 1 +ILL_ILLOPN 2 +ILL_ILLADR 3 +ILL_ILLTRP 4 +ILL_PRVOPC 5 +ILL_PRVREG 6 +ILL_COPROC 7 +ILL_BADSTK 8 diff --git a/xlat/siginfo_codes.in b/xlat/siginfo_codes.in index 115d3ab6..a57c370c 100644 --- a/xlat/siginfo_codes.in +++ b/xlat/siginfo_codes.in @@ -1,12 +1,12 @@ -SI_KERNEL -SI_USER -SI_QUEUE -SI_TIMER -SI_MESGQ -SI_ASYNCIO -SI_SIGIO -SI_TKILL -SI_DETHREAD -SI_ASYNCNL +SI_USER 0 +SI_KERNEL 0x80 +SI_QUEUE -1 +SI_TIMER -2 +SI_MESGQ -3 +SI_ASYNCIO -4 +SI_SIGIO -5 +SI_TKILL -6 +SI_DETHREAD -7 +SI_ASYNCNL -60 SI_NOINFO SI_LWP diff --git a/xlat/sigpoll_codes.in b/xlat/sigpoll_codes.in index f778fc60..00c2a1b7 100644 --- a/xlat/sigpoll_codes.in +++ b/xlat/sigpoll_codes.in @@ -1,6 +1,6 @@ -POLL_IN -POLL_OUT -POLL_MSG -POLL_ERR -POLL_PRI -POLL_HUP +POLL_IN 1 +POLL_OUT 2 +POLL_MSG 3 +POLL_ERR 4 +POLL_PRI 5 +POLL_HUP 6 diff --git a/xlat/sigsegv_codes.in b/xlat/sigsegv_codes.in index bdf3d7e4..9117bc2b 100644 --- a/xlat/sigsegv_codes.in +++ b/xlat/sigsegv_codes.in @@ -1,2 +1,3 @@ -SEGV_MAPERR -SEGV_ACCERR +SEGV_MAPERR 1 +SEGV_ACCERR 2 +SEGV_BNDERR 3 diff --git a/xlat/sigsys_codes.in b/xlat/sigsys_codes.in index 7eaa40a8..a8c48916 100644 --- a/xlat/sigsys_codes.in +++ b/xlat/sigsys_codes.in @@ -1 +1 @@ -SYS_SECCOMP +SYS_SECCOMP 1 diff --git a/xlat/sigtrap_codes.in b/xlat/sigtrap_codes.in index 41474fe6..078aec87 100644 --- a/xlat/sigtrap_codes.in +++ b/xlat/sigtrap_codes.in @@ -1,2 +1,4 @@ -TRAP_BRKPT -TRAP_TRACE +TRAP_BRKPT 1 +TRAP_TRACE 2 +TRAP_BRANCH 3 +TRAP_HWBKPT 4 -- cgit v1.2.3