diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2019-05-10 18:07:12 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2019-05-16 18:07:52 +0200 |
commit | 777b97b7d858532fdada858e5eca32c931155565 (patch) | |
tree | 996381ee4798f35a9d2d958f8964c0534fdd9f40 /src/modules/module-rtkit.c | |
parent | 31145b58dc2c6487820775ffea80bb52e1b482cf (diff) |
module-portal: Use permission store for portal initiated clientsjadahl-wip/module-portal
Detect what clients were started by the portal, and use the permission
store to determine permissions of existing and future nodes.
Clients are detected whether they are from the portal or not by
comparing the PID of the client with the PID of the owner of the
portal D-Bus name.
It is assumed that the portal will set an appropriate app_id, and a
comma seperated list of media roles (e.g. "Camera"), that should be
queried. If app_id is an empty string, it's assumed to be a
non-sandboxed client, and permissions are assumed to be allowing.
Diffstat (limited to 'src/modules/module-rtkit.c')
0 files changed, 0 insertions, 0 deletions