STRUCT COREDUMP_ACK(9)
π struct coredump_ack(9) β from the Kernel API Manual, bestie π
okay so real talk, this page is about struct coredump_ack, and yes it lives in the kernel API manual, we love a glow-up β¨
π NAME π
struct coredump_ack β the lil message that userspace sends to the kernel π«Ά (yes, userspace talks back, it's giving main character energy)
πΈ SYNOPSIS πΈ
struct coredump_ack {
__u32 size;
__u32 spare;
__u64 mask;
};
look at her, iconic, three whole members, no notes π
π¦ Members π¦
sizeβ literally just the size of the struct, that's it, that's the whole job πspareβ unused, lowkey just vibing there, doing absolutely nothing, respect πmaskβ the features the kernel is supposed to use, like a little wishlist of what you want π
π Description π
okay so the size member must be set to the size of struct coredump_ack. no cap. and it may never exceed what the kernel returned in coredump_req->size_ack β like, that's the ceiling, bestie β but it may of course be smaller, as long as it's >= COREDUMP_ACK_SIZE_VER0 and <= coredump_req->size_ack. it's giving "you can be smaller but you cannot come for the queen" π
the mask member must be set to the features the coredump server wants the kernel to use. and here's the vibe check: only bits the kernel returned in coredump_req->mask may be set. don't be out here setting bits the kernel didn't hand you, that's not the move ππ₯
fr fr, those two constraints are not suggestions, they're the whole assignment. get them wrong and the kernel is not gonna be chill about it π
β SEE ALSO β
- Kernel file
./tools/include/uapi/linux/coredump.hπ struct coredump_req(9)β her sibling, the request side of the convo π«Άenum coredump_mark(9)β the enum bestie, go say hi πΈ
and that's the page!! π§ from ./tools/include/uapi/linux, dated October 2026 β slay, periodt, go read coredump.h and stay hydrated πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms