mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client: set ucred properties
This commit is contained in:
parent
3334ed73ae
commit
ebea63ad0a
3 changed files with 19 additions and 6 deletions
|
|
@ -1038,11 +1038,6 @@ static struct client *client_new(struct impl *impl, int fd)
|
|||
if (properties == NULL)
|
||||
goto no_props;
|
||||
|
||||
if (ucredp) {
|
||||
pw_properties_setf(properties, "application.process.id", "%d", ucredp->pid);
|
||||
pw_properties_setf(properties, "application.process.userid", "%d", ucredp->uid);
|
||||
}
|
||||
|
||||
client = pw_client_new(impl->core, pw_module_get_global(impl->module),
|
||||
ucredp, properties, sizeof(struct client));
|
||||
if (client == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue