Skip to content
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

daemon, polkit: pid_t is signed #6443

Merged
merged 1 commit into from
Jan 29, 2019
Merged

Conversation

chipaca
Copy link
Contributor

@chipaca chipaca commented Jan 29, 2019

We were using uint32 for pids in daemon and polkit, when they're
actually signed. This would be mostly transparent to snapd, but could
lead to spurious denials from polkit in some situations.

@chipaca chipaca added the Simple 😃 A small PR which can be reviewed quickly label Jan 29, 2019
@chipaca chipaca added this to the 2.37 milestone Jan 29, 2019
Copy link
Contributor

@mvo5 mvo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good and fine for 2.37 (looks very mechanical).

We were using uint32 for pids in daemon and polkit, when they're
actually signed. This would be mostly transparent to snapd, but could
lead to spurious denials from polkit in some situations.
Copy link
Collaborator

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and simple, +1

@chipaca chipaca merged commit 6a05658 into canonical:master Jan 29, 2019
@chipaca chipaca deleted the pids-are-signed branch January 29, 2019 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Simple 😃 A small PR which can be reviewed quickly
Projects
None yet
3 participants