diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-08-20 01:09:24 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-22 13:24:57 +0200 |
| commit | dbaf323acee19ab379537e6d9a6a68bc4eacdc76 (patch) | |
| tree | 5cbfa874d4663bb05573a296b60dc54fe89fbb48 /include/uapi | |
| parent | eec8727ba27305f89cce20f0943fbf0e174fe0f3 (diff) | |
| download | linux-dbaf323acee19ab379537e6d9a6a68bc4eacdc76.tar.gz linux-dbaf323acee19ab379537e6d9a6a68bc4eacdc76.zip | |
coredump: pin the protocol struct sizes
COREDUMP_REQ_SIZE_VER0 and COREDUMP_ACK_SIZE_VER0 define the initial
struct sizes.
Assert that both published sizes still match their structs. While at it
fix some issues with docs.
Link: https://patch.msgid.link/20260820-work-coredump-sparse-v2-7-ba32dd718c51@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/coredump.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/coredump.h b/include/uapi/linux/coredump.h index dc3789b78af0..662e0468da6e 100644 --- a/include/uapi/linux/coredump.h +++ b/include/uapi/linux/coredump.h @@ -30,11 +30,11 @@ enum { * member is set to the size of struct coredump_req and provides a hint * to userspace how much data can be read. Userspace may use MSG_PEEK to * peek the size of struct coredump_req and then choose to consume it in - * one go. Userspace may also simply read a COREDUMP_ACK_SIZE_VER0 + * one go. Userspace may also simply read a COREDUMP_REQ_SIZE_VER0 * request. If the size the kernel sends is larger userspace simply * discards any remaining data. * - * The coredump_req->mask member is set to the currently know features. + * The coredump_req->mask member is set to the currently known features. * Userspace may only set coredump_ack->mask to the bits raised by the * kernel in coredump_req->mask. * |
