-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for 'mapping' Snaps #882
base: main
Are you sure you want to change the base?
Conversation
Looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a part few minor details.
Once you've applied the suggestions, please, squash all the commits and write a commit explaining the rationale for this clearer. |
6db2e6a
to
3055e44
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good now, see if we prefer having a better error code.
As per the rest, please squash the two commits together and provide a clear commit message (and PR descriptions) so that also who is less familiar with the change could understand it.
Validates that pids are owned by Snaps, allowing them to be mapped and passed through to a portal interface; Snaps were previously denied pid mapping. Initially created to allow GameMode to use the portal dbus from within a snap: FeralInteractive/gamemode#385
Allows Snaps to have their pids "mapped" if each pid app info matches, namely for use cases such as this.