MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / SetACLPrivileges

Function SetACLPrivileges

Libraries/unrar/win32acl.cpp:101–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101void SetACLPrivileges()
102{
103 static bool InitDone=false;
104 if (InitDone)
105 return;
106
107 if (SetPrivilege(SE_SECURITY_NAME))
108 ReadSacl=true;
109 SetPrivilege(SE_RESTORE_NAME);
110
111 InitDone=true;
112}
113
114
115bool SetPrivilege(LPCTSTR PrivName)

Callers 2

ExtractACL20Function · 0.85
ExtractACLFunction · 0.85

Calls 1

SetPrivilegeFunction · 0.85

Tested by

no test coverage detected