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

adds Windows GetAce syscall wrapper #191

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 29, 2024

  1. adds Windows GetAce syscall wrapper

    GetAce obtains a pointer to an access control entry (ACE) in an
    discretionary access control list (DACL), which controls access to
    an object.
    
    Adds the ACE_HEADER and ACCESS_ALLOWED_ACE structs.
    Adds GetEntriesFromACL function which returns an array of ACEs from the
    given ACL if no errors have been encountered.
    
    References:
    
    - https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header
    - https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-access_allowed_ace
    - https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-getace
    
    Fixes golang/go#66850
    claudiubelu committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    80961ac View commit details
    Browse the repository at this point in the history