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

Add missing standard access rights for ServiceAccess #129

Merged
merged 1 commit into from
May 10, 2024

Conversation

Legend-Master
Copy link
Contributor

@Legend-Master Legend-Master commented May 6, 2024

I don't know if we should provide all combination flags like GENERIC_READ listed in https://learn.microsoft.com/en-us/windows/win32/services/service-security-and-access-rights#access-rights-for-a-service, but at least we need to have READ_CONTROL, WRITE_DAC, WRITE_OWNER for modifying security descriptors, this is often used in updater services for preventing UAC prompts


This change is Reviewable

@faern faern requested a review from dlon May 10, 2024 15:11
@faern
Copy link
Member

faern commented May 10, 2024

This seems sane to me! But I'll let @dlon have a say also.

Copy link
Member

@dlon dlon left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@faern faern merged commit 9dc8af8 into mullvad:main May 10, 2024
11 checks passed
@faern
Copy link
Member

faern commented May 10, 2024

Thank you for the contribution!

@Legend-Master
Copy link
Contributor Author

Just a note, this PR includes the changes made in #121, so maybe we can close it as completed now

@faern
Copy link
Member

faern commented May 11, 2024

Oh. I didn't notice they overlap. I sort of forgot about the other PR. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants