Memstop: Use LD_PRELOAD to delay process execution when low on memory
4 points
2 days ago
| 1 comment
| github.com
| HN
d00mB0t
2 days 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.
reply
josephcsible
2 days ago
[-]
> there are security implication when using LD_PRELOAD

What do you mean?

reply
d00mB0t
2 days 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.
reply
josephcsible
2 days 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.
reply
d00mB0t
2 days ago
[-]
You sure about that? :)
reply
josephcsible
2 days ago
[-]
Can you give a counterexample?
reply