pulseaudio/src/pulse
Ahmed S. Darwish ee2db62277 pulsecore: Specially mark global mempools
Color global mempools with a special mark. This special marking
is needed for handling memfd-backed pools.

To avoid fd leaks, memfd pools are registered with the connection
pstream to create an ID<->memfd mapping on both PA endpoints.
Such memory regions are then always referenced by their IDs and
never by their fds, and so their fds can be safely closed later.

Unfortunately this scheme cannot work with global pools since the
registration ID<->memfd mechanism needs to happen for each newly
connected client, and thus the need for a more special handling.
That is, for the pool's fd to be always open :-(

Almost all mempools are now created on a per-client basis. The
only exception is the pa_core's mempool which is still shared
between all clients of the system.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
2016-04-02 05:53:33 +02:00
..
.gitignore add another .gitignore file, this time for pulse/ 2008-06-18 00:47:32 +02:00
cdecl.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
channelmap.c volume: Add LFE balance API 2015-10-30 09:13:10 +02:00
channelmap.h volume: Add LFE balance API 2015-10-30 09:13:10 +02:00
client-conf-x11.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
client-conf-x11.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
client-conf.c client-conf, daemon-conf: enable .d directories 2015-12-14 13:47:04 +01:00
client-conf.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
client.conf.in update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
context.c pulsecore: Specially mark global mempools 2016-04-02 05:53:33 +02:00
context.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
def.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
direction.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
direction.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
error.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
error.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-device-manager.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-device-manager.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-device-restore.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-device-restore.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-stream-restore.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
ext-stream-restore.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
fork-detect.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
fork-detect.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
format.c format: Make pa_format_info_valid() stricter for PCM 2016-01-22 13:25:29 +05:30
format.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
gccmacro.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
glib-mainloop.c glib: Trivial whitespace fix 2016-02-09 16:19:00 +05:30
glib-mainloop.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
internal.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
introspect.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
introspect.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop-api.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop-api.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop-signal.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop-signal.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
mainloop.h pulse: Document pa_mainloop_quit()'s retval parameter 2015-05-25 15:27:05 +02:00
Makefile build-sys: readd stub makefiles to subdirectories to make building with emacs easier 2012-05-15 14:17:58 +02:00
operation.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
operation.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
proplist.c core, pulse, modules: Fix undefined behavior with array subscript of invalid type 2015-12-08 08:56:07 +05:30
proplist.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
pulseaudio.h log: Fix compilation error on non-systemd systems 2015-09-25 15:05:43 +03:00
rtclock.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
rtclock.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
sample.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
sample.h pulse: Bump PA_RATE_MAX to 384 kHz 2016-01-22 13:25:29 +05:30
scache.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
scache.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
simple.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
simple.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
stream.c stream: Support extended API with PULSE_LATENCY_MSEC if possible 2015-06-12 12:43:18 +05:30
stream.h stream: Clarify pa_stream_writable_size() documentation 2016-01-12 15:31:06 +05:30
subscribe.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
subscribe.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
thread-mainloop.c thread-mainloop: keep SIGSYS unblocked if currently trapped 2015-10-21 09:45:26 +05:30
thread-mainloop.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
timeval.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
timeval.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
utf8.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
utf8.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
util.c util: pa_get_fqdn: always free addrinfo 2015-09-12 16:04:20 +03:00
util.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
version.h.in update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
volume.c volume: Add LFE balance API 2015-10-30 09:13:10 +02:00
volume.h volume: Add LFE balance API 2015-10-30 09:13:10 +02:00
xmalloc.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
xmalloc.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00