mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-29 11:08:40 -05:00
When a memblock closes its fd, have it emit signal to other memblocks possibly sharing the fd, so they know it is now invalid. When a memblock has an invalidated fd, it'll not allow mapping more memory, nor match against fd searches. This avoids bugs where kernel fd reuse causes already invalid memblocks to be used. Generally, higher level code should make sure memblocks get freed in right order so that this situation does not occur, but try to keep mempool in consistent state regardless. |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||