Merge "Update for new kernel 5.11 headers."

This commit is contained in:
Christopher Ferris 2021-02-19 19:47:44 +00:00 committed by Gerrit Code Review
commit d57652f15b
1 changed files with 3 additions and 1 deletions

View File

@ -391,8 +391,10 @@ const char* get_sigcode(const siginfo_t* si) {
case SIGSYS:
switch (si->si_code) {
case SYS_SECCOMP: return "SYS_SECCOMP";
case SYS_USER_DISPATCH:
return "SYS_USER_DISPATCH";
}
static_assert(NSIGSYS == SYS_SECCOMP, "missing SYS_* si_code");
static_assert(NSIGSYS == SYS_USER_DISPATCH, "missing SYS_* si_code");
break;
case SIGTRAP:
switch (si->si_code) {