Expand description
How a task ended, as the kernel says it in the death notice (name, NUL, then one of these). The
kernel’s task::death holds the same values; ask asserts its copy against these.
Constants§
- EXITED
- Ended itself with
exit; the status it gave (u32 LE) follows. - FAULT
- Ended by a user-mode CPU fault; the kind below and the address (u64 LE) follow.
- F_
ALIGNMENT - A misaligned access the CPU refuses.
- F_
ILLEGAL - An instruction the CPU will not run; the address is the instruction’s.
- F_
INSTRUCTION - An instruction fetch its page tables do not allow; the address is the fetch address.
- F_
MEMORY - A load or store its page tables do not allow; the address is the data address.
- F_OTHER
- A fault the port does not classify.
- F_
PROTECTION - x86’s general protection fault; the address is the instruction’s.
- KILLED
- Ended by the
killsyscall; the name of the task that called it follows.