Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95b026f9 authored by Christopher Ferris's avatar Christopher Ferris
Browse files

Update for new kernel 5.11 headers.

Add new SYS_USER_DISPATCH to SIGSYS case.

Test: Builds, unit tests pass.
Change-Id: Id470053c167d7ffe51d622356c867815cd773fbc
parent ca474f99
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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) {