mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
client: introduce auto-connect-display= following the scheme of auto-connect-localhost=
Just connecting to a PA server just because X11's $DISPLAY is set might be a security hole.
This commit is contained in:
parent
3d6cc026e2
commit
21cbcc1a8a
5 changed files with 19 additions and 7 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
typedef struct pa_client_conf {
|
||||
char *daemon_binary, *extra_arguments, *default_sink, *default_source, *default_server, *default_dbus_server, *cookie_file;
|
||||
pa_bool_t autospawn, disable_shm, auto_connect_localhost;
|
||||
pa_bool_t autospawn, disable_shm, auto_connect_localhost, auto_connect_display;
|
||||
uint8_t cookie[PA_NATIVE_COOKIE_LENGTH];
|
||||
pa_bool_t cookie_valid; /* non-zero, when cookie is valid */
|
||||
size_t shm_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue