Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
616b293e
Commit
616b293e
authored
May 25, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
May 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Print commas between ACE's.
- Dump access masks from all ACE's.
parent
2218c6e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
trace.c
server/trace.c
+10
-5
No files found.
server/trace.c
View file @
616b293e
...
...
@@ -459,30 +459,35 @@ static void dump_inline_acl( const ACL *acl, size_t size )
for
(
i
=
0
;
i
<
acl
->
AceCount
;
i
++
)
{
const
SID
*
sid
=
NULL
;
if
(
size
<
sizeof
(
ACE_HEADER
))
return
;
if
(
size
<
ace
->
AceSize
)
return
;
size
-=
ace
->
AceSize
;
if
(
i
!=
0
)
fputc
(
','
,
stderr
);
fprintf
(
stderr
,
"{AceType="
);
switch
(
ace
->
AceType
)
{
case
ACCESS_DENIED_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
ACCESS_DENIED_ACE
*
)
ace
)
->
SidStart
;
fprintf
(
stderr
,
"ACCESS_DENIED_ACE_TYPE"
);
fprintf
(
stderr
,
"ACCESS_DENIED_ACE_TYPE,Mask=%lx"
,
((
const
ACCESS_DENIED_ACE
*
)
ace
)
->
Mask
);
break
;
case
ACCESS_ALLOWED_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
ACCESS_ALLOWED_ACE
*
)
ace
)
->
SidStart
;
fprintf
(
stderr
,
"ACCESS_ALLOWED_ACE_TYPE"
);
fprintf
(
stderr
,
"ACCESS_ALLOWED_ACE_TYPE,Mask=%lx"
,
((
const
ACCESS_ALLOWED_ACE
*
)
ace
)
->
Mask
);
break
;
case
SYSTEM_AUDIT_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_AUDIT_ACE
*
)
ace
)
->
SidStart
;
fprintf
(
stderr
,
"SYSTEM_AUDIT_ACE_TYPE"
);
fprintf
(
stderr
,
"SYSTEM_AUDIT_ACE_TYPE,Mask=%lx"
,
((
const
SYSTEM_AUDIT_ACE
*
)
ace
)
->
Mask
);
break
;
case
SYSTEM_ALARM_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
SidStart
;
fprintf
(
stderr
,
"SYSTEM_ALARM_ACE_TYPE"
);
fprintf
(
stderr
,
"SYSTEM_ALARM_ACE_TYPE,Mask=%lx"
,
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
Mask
);
break
;
default:
fprintf
(
stderr
,
"unknown<%d>"
,
ace
->
AceType
);
...
...
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