Get the latest tech news

The server chose violence


Hubris's oddest syscall - A brief overview of Hubris IPC - New and exciting failure modes - None of this happens in normal, correct programs - The kernel is not having any of your nonsense. - The server isn’t having any of your nonsense, either.

Humility (our debugger) happily prints a detailed description of any fault it finds; in fact, one made an appearance in my last Hubris-related post, although in that case it was being reported in error: Our system now uses REPLY_FAULT to handle the three cases I mentioned earlier: a bogus operation code; or a corrupt, truncated, or otherwise nonsensical message; or if the client doesn’t send the right kind of loaned memory. This gets us the same sort of “fail fast” developer experience, with the smaller and simpler code that results from not handling “theoretical” errors that can’t occur in practice.

Get the Android app

Or read this on Hacker News