-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathOperationInheritChildren.cpp
More file actions
22 lines (19 loc) · 852 Bytes
/
OperationInheritChildren.cpp
File metadata and controls
22 lines (19 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "OperationInheritChildren.h"
#include "DriverKitPartial.h"
#include "InputOutput.h"
#include "Helpers.h"
ClassFactory<OperationInheritChildren> OperationInheritChildren::RegisteredFactory(GetCommand());
OperationInheritChildren::OperationInheritChildren(std::queue<std::wstring> & oArgList, const std::wstring & sCommand) : Operation(oArgList)
{
// flag this as being an ace-level action
AppliesToDacl = true;
AppliesToSacl = true;
AppliesToChildrenOnly = true;
ExclusiveOperation = true;
SpecialCommitFlags = UNPROTECTED_SACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION;
}
bool OperationInheritChildren::ProcessAclAction(const WCHAR * const sSdPart, ObjectEntry & tObjectEntry, PACL & tCurrentAcl, bool & bAclReplacement) noexcept
{
// nothing to do -- the special commit flags will take care of it
return true;
}