|
|
Log in / Subscribe / Register

More efficient?

More efficient?

Posted Jun 6, 2025 17:37 UTC (Fri) by Nahor (subscriber, #51583)
In reply to: More efficient? by bluca
Parent article: Slowing the flow of core-dump-related CVEs

What of it? Sure, systemd is already be running anyway, so it wouldn't use more resource (nitpick: arguably it does since it will have one more socket to track), but it then needs to start a new process to handle a crash, like core_pattern did, so it's no more efficient than before.

The only case I can imagine where the new method would be more efficient is if one already has a crash handler daemon, and use a core_pattern helper to pass the data from the kernel to the daemon. In this case the helper can now be skipped and the core dump can go directly from the kernel to the daemon. But I doubt this is common usage, if it even exists anywhere, since it would combine the worst of both methods.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds