Killswitch: Per-function short-circuit mitigation primitive
signa11
81 points
21 comments
May 09, 2026
Related Discussions
Found 5 related stories in 84.6ms across 8,303 title embeddings via pgvector HNSW
- When "idle" isn't idle: how a Linux kernel optimization became a QUIC bug sbulaev · 61 pts · May 12, 2026 · 45% similar
- Why solid-state batteries keep short-circuiting hhs · 17 pts · March 28, 2026 · 43% similar
- Show HN: PHP 8 disable_functions bypass PoC m0x41nos · 25 pts · March 03, 2026 · 43% similar
- Four stable kernels with partial fixes for Dirty Frag Brajeshwar · 18 pts · May 08, 2026 · 43% similar
- Kernel code removals driven by LLM-created security reports edward · 111 pts · April 22, 2026 · 41% similar
Discussion Highlights (9 comments)
PeterWhittaker
Clever! I know some will say it's like closing the barn door after the horse left, but having this in place to mitigate future vulnerabilities will be handy.
frumiousirc
If I'm a malicious actor that gets root, can I killswitch the killswitch?
tosti
Better tooling for kpatch would be nice tho IIRC canonical makes patches for official ubuntu kernels but acts like a Chinese restaurant (closed kitchen, orders come in through a small hatch behind the counter)
logdahl
Super cool. Also, love reading high quality linux patches. I think many, myself previously included, are afraid to even read the kernel source as one thinks it must be super complex. Of course some parts really are. However, the code is honestly of such high quality. I also highly value that feeling of realizing something once thought 'arcane' was actually only made by other humans, and it is legal to go read it and learn from it.
luka598
>Assisted-by: Claude:claude-opus-4-7
Phelinofist
Could something like this also be done via BPF?
ainto
What about inlined functions?
DoctorOetker
this sounds simple, but not running a function doesn't on its own mean safe behavior, if the caller code wasn't written keeping in mind this novel potential refusal as an outcome still i believe this is the right direction
xuhu
Is there any library that does this safely for user-mode and is currently used in production ?