diff options
author | Christian Brauner <brauner@kernel.org> | 2025-06-12 15:25:25 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-06-16 17:01:23 +0200 |
commit | a961c737cda8f172e108da881691cadafb9a061e (patch) | |
tree | b41dd05beb39d5fe0b489f0b0f88000eb37c41a3 /rust/helpers/platform.c | |
parent | 7bbb05dbea38e56d9f6ac7ac1040f93b0808cbce (diff) |
coredump: prepare to simplify exit paths
The exit path is currently entangled with core pipe limit accounting
which is really unpleasant. Use a local variable in struct core_name
that remembers whether the count was incremented and if so to clean
decrement in once the coredump is done. Assert that this only happens
for pipes.
Link: https://lore.kernel.org/20250612-work-coredump-massage-v1-11-315c0c34ba94@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions