pipewire/src/modules/module-client-node/v0
Wim Taymans 2f8740dee8 mem: add a PW_MEMBLOCK_FLAG_MAPPABLE flag and pass it around
This flags means that the fd can be mmaped without special handling. It
is the equivalent of the SPA_DATA_FLAG_MAPPABLE. Refuse to map memory
that is not mappable.

Make sure we make all allocated MemFd memory MAPPABLE by default. We can
then remove the stream and filter special handling for MemFd types and
just check the more generic MAPPABLE flag.

Make one exception when a client uploads MemFd buffer memory. We must
manually set the MAPPABLE flag for MemFd to make things backwards
compatible.
2024-04-02 12:27:58 +02:00
..
client-node.c modules: remove include of private.h 2023-07-11 19:31:27 +02:00
client-node.h modules: remove include of private.h 2023-07-11 19:31:27 +02:00
ext-client-node.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
protocol-native.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
transport.c mem: add a PW_MEMBLOCK_FLAG_MAPPABLE flag and pass it around 2024-04-02 12:27:58 +02:00
transport.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00