Out-of-memory victim selection with BPF
Out-of-memory victim selection with BPF
Posted Aug 19, 2023 21:03 UTC (Sat) by izbyshev (subscriber, #107996)In reply to: Out-of-memory victim selection with BPF by kleptog
Parent article: Out-of-memory victim selection with BPF
Technically, all these things are the kernel state, not the libc state, so they can be configured after vfork() via direct syscalls without ever touching libc. But this is rarely a good option for a typical application because there are some footguns with direct syscall usage, as well as with vfork() itself.
> Maybe an execve() with an io_uring-like list of syscalls to execute in the new process? Or via BPF?
This has been discussed: https://lwn.net/Articles/908268. No news after that, I'm afraid.
