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

SC_MANAGER_ALL_ACCESS missing from system.services #7

Open
cark opened this issue Sep 4, 2021 · 2 comments
Open

SC_MANAGER_ALL_ACCESS missing from system.services #7

cark opened this issue Sep 4, 2021 · 2 comments

Comments

@cark
Copy link

cark commented Sep 4, 2021

If I am not mistaken, it's not defined anywhere else in zigwin32 either.
I don't see it in the json either, though I might not be squinting enough =)

defined like so in winsvc.h:

#define SERVICE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | SERVICE_QUERY_CONFIG | SERVICE_CHANGE_CONFIG | SERVICE_QUERY_STATUS | SERVICE_ENUMERATE_DEPENDENTS | SERVICE_START | SERVICE_STOP | SERVICE_PAUSE_CONTINUE | SERVICE_INTERROGATE | SERVICE_USER_DEFINED_CONTROL)
@marler8997
Copy link
Contributor

Thanks for the heads up, I've created an issue for this in the metadata repo here: microsoft/win32metadata#637

@cark
Copy link
Author

cark commented Sep 4, 2021

I see that SERVICE_ALL_ACCESS from winsvc.h is also missing. Again not in the json either.
No wonder there, it's the same kind of declaration.

#define SERVICE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | SERVICE_QUERY_CONFIG | SERVICE_CHANGE_CONFIG | SERVICE_QUERY_STATUS | SERVICE_ENUMERATE_DEPENDENTS | SERVICE_START | SERVICE_STOP | SERVICE_PAUSE_CONTINUE | SERVICE_INTERROGATE | SERVICE_USER_DEFINED_CONTROL)

You might want to hold a bit reflecting this to upstream.
I'm (slowly) implementing a windows service, so I may stumble upon some more along the way.
Let me know if you'd rather have separate issues instead.

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

No branches or pull requests

2 participants