Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
04e688a2
Commit
04e688a2
authored
Sep 24, 2007
by
Mikolaj Zalewski
Committed by
Alexandre Julliard
Sep 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add RtlAddAuditAccessAceEx.
parent
1122dc13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
6 deletions
+20
-6
ntdll.spec
dlls/ntdll/ntdll.spec
+2
-2
sec.c
dlls/ntdll/sec.c
+17
-4
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
04e688a2
...
...
@@ -402,8 +402,8 @@
@ stub RtlAddActionToRXact
@ stdcall RtlAddAtomToAtomTable(ptr wstr ptr)
@ stub RtlAddAttributeActionToRXact
@ stdcall RtlAddAuditAccessAce(ptr long long ptr long long)
# @ stub RtlAddAuditAccessAceEx
@ stdcall RtlAddAuditAccessAce(ptr long long ptr long long)
@ stdcall RtlAddAuditAccessAceEx(ptr long long long ptr long long)
# @ stub RtlAddAuditAccessObjectAce
# @ stub RtlAddCompoundAce
# @ stub RtlAddRange
...
...
dlls/ntdll/sec.c
View file @
04e688a2
...
...
@@ -1213,17 +1213,16 @@ NTSTATUS WINAPI RtlAddAccessDeniedAceEx(
/**************************************************************************
* RtlAddAuditAccessAce [NTDLL.@]
*/
NTSTATUS
WINAPI
RtlAddAuditAccessAce
(
NTSTATUS
WINAPI
RtlAddAuditAccessAce
Ex
(
IN
OUT
PACL
pAcl
,
IN
DWORD
dwAceRevision
,
IN
DWORD
dwAceFlags
,
IN
DWORD
dwAccessMask
,
IN
PSID
pSid
,
IN
BOOL
bAuditSuccess
,
IN
BOOL
bAuditFailure
)
{
DWORD
dwAceFlags
=
0
;
TRACE
(
"(%p,%d,%d,%p,%u,%u)
\n
"
,
pAcl
,
dwAceRevision
,
dwAccessMask
,
TRACE
(
"(%p,%d,0x%08x,0x%08x,%p,%u,%u)
\n
"
,
pAcl
,
dwAceRevision
,
dwAceFlags
,
dwAccessMask
,
pSid
,
bAuditSuccess
,
bAuditFailure
);
if
(
bAuditSuccess
)
...
...
@@ -1235,6 +1234,20 @@ NTSTATUS WINAPI RtlAddAuditAccessAce(
return
add_access_ace
(
pAcl
,
dwAceRevision
,
dwAceFlags
,
dwAccessMask
,
pSid
,
SYSTEM_AUDIT_ACE_TYPE
);
}
/**************************************************************************
* RtlAddAuditAccessAce [NTDLL.@]
*/
NTSTATUS
WINAPI
RtlAddAuditAccessAce
(
IN
OUT
PACL
pAcl
,
IN
DWORD
dwAceRevision
,
IN
DWORD
dwAccessMask
,
IN
PSID
pSid
,
IN
BOOL
bAuditSuccess
,
IN
BOOL
bAuditFailure
)
{
return
RtlAddAuditAccessAceEx
(
pAcl
,
dwAceRevision
,
0
,
dwAccessMask
,
pSid
,
bAuditSuccess
,
bAuditFailure
);
}
/******************************************************************************
* RtlValidAcl [NTDLL.@]
...
...
include/winternl.h
View file @
04e688a2
...
...
@@ -1987,6 +1987,7 @@ NTSTATUS WINAPI RtlAddAccessDeniedAce(PACL,DWORD,DWORD,PSID);
NTSTATUS
WINAPI
RtlAddAccessDeniedAceEx
(
PACL
,
DWORD
,
DWORD
,
DWORD
,
PSID
);
NTSTATUS
WINAPI
RtlAddAtomToAtomTable
(
RTL_ATOM_TABLE
,
const
WCHAR
*
,
RTL_ATOM
*
);
NTSTATUS
WINAPI
RtlAddAuditAccessAce
(
PACL
,
DWORD
,
DWORD
,
PSID
,
BOOL
,
BOOL
);
NTSTATUS
WINAPI
RtlAddAuditAccessAceEx
(
PACL
,
DWORD
,
DWORD
,
DWORD
,
PSID
,
BOOL
,
BOOL
);
void
WINAPI
RtlAddRefActivationContext
(
HANDLE
);
PVOID
WINAPI
RtlAddVectoredExceptionHandler
(
ULONG
,
PVECTORED_EXCEPTION_HANDLER
);
NTSTATUS
WINAPI
RtlAdjustPrivilege
(
ULONG
,
BOOLEAN
,
BOOLEAN
,
PBOOLEAN
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment