Memstop: Use LD_PRELOAD to delay process execution when low on memory

3 ingve 6 7/4/2025, 9:32:16 PM github.com ↗

Comments (6)

d00mB0t · 10h ago
OOM eat your heart out :D This is great, but there are security implication when using LD_PRELOAD--but I like it! More programs like this for parallel computing please.
josephcsible · 10h ago
> there are security implication when using LD_PRELOAD

What do you mean?

d00mB0t · 10h ago
A malicious user could inject memstop.so into a critical system service and delay execution--Writing a wrapper script would work, along with keeping unprivileged users from using LD_PRELOAD.
josephcsible · 9h ago
If a malicious user can control the environment of critical system services, you're already pwned. There's no actual security issue there and no value in such a wrapper script.
d00mB0t · 7h ago
You sure about that? :)
josephcsible · 6h ago
Can you give a counterexample?