Out-of-memory victim selection with BPF
Out-of-memory victim selection with BPF
Posted Aug 21, 2023 16:48 UTC (Mon) by mathstuf (subscriber, #69389)In reply to: Out-of-memory victim selection with BPF by ibukanov
Parent article: Out-of-memory victim selection with BPF
Oh man, that sounds like quite a footgun. Error paths forgetting to restore it, what about other threads, etc. But I guess that's nothing new to those coding close to the kernel. Are there any other kinds of syscalls that can manipulate a scoped resource like that (I'm excepting intrinsic properties like pid, tid, etc. hereā¦I suppose `cwd` is such a resource, but that feels more user-y than kernel-y to me)?
