-
Notifications
You must be signed in to change notification settings - Fork 77
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
[windows] - Fix permissions for GetProcessMemoryInfo #185
Conversation
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.
Thanks for the fix
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. But I think we need to fix the CI issues in a separate PR before merging this.
@andrewkroh I'll open another PR to fix CI for this repo. |
@andrewkroh can you please review #187? It should fix the CI |
@andrewkroh CI looks good, can you please take a look when you have moment (and possibly merge it if looks good 😅)? |
As per https://learn.microsoft.com/en-us/windows/win32/api/psapi/nf-psapi-getprocessmemoryinfo,
GetProcessMemoryInfo
doesn't needwindows.PROCESS_VM_READ
. Hence, remove it and only usewindows.PROCESS_QUERY_LIMITED_INFORMATION
Related elastic/beats#41407