-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathOperationFindNullAcl.cpp
More file actions
23 lines (19 loc) · 734 Bytes
/
OperationFindNullAcl.cpp
File metadata and controls
23 lines (19 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "OperationFindNullAcl.h"
#include "DriverKitPartial.h"
#include "InputOutput.h"
ClassFactory<OperationFindNullAcl> OperationFindNullAcl::RegisteredFactory(GetCommand());
OperationFindNullAcl::OperationFindNullAcl(std::queue<std::wstring> & oArgList, const std::wstring & sCommand) : Operation(oArgList)
{
// flag this as being an ace-level action
AppliesToDacl = true;
}
bool OperationFindNullAcl::ProcessAclAction(const WCHAR * const sSdPart, ObjectEntry & tObjectEntry, PACL & tCurrentAcl, bool & bAclReplacement)
{
// sanity check (null acl is considered valid)
if (tCurrentAcl == nullptr)
{
InputOutput::AddInfo(L"Access control list is null", sSdPart);
}
// report the acl has been updated
return false;
}