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
aa407a28
Commit
aa407a28
authored
Apr 16, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Accept mandatory label ACEs.
parent
985e226c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
token.c
server/token.c
+4
-0
trace.c
server/trace.c
+6
-0
No files found.
server/token.c
View file @
aa407a28
...
...
@@ -265,6 +265,10 @@ static int acl_is_valid( const ACL *acl, data_size_t size )
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
SYSTEM_ALARM_ACE
,
SidStart
);
break
;
case
SYSTEM_MANDATORY_LABEL_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_MANDATORY_LABEL_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
SYSTEM_MANDATORY_LABEL_ACE
,
SidStart
);
break
;
default:
return
FALSE
;
}
...
...
server/trace.c
View file @
aa407a28
...
...
@@ -914,6 +914,12 @@ static void dump_inline_acl( const char *prefix, const ACL *acl, data_size_t siz
fprintf
(
stderr
,
"SYSTEM_ALARM_ACE_TYPE,Mask=%x"
,
((
const
SYSTEM_ALARM_ACE
*
)
ace
)
->
Mask
);
break
;
case
SYSTEM_MANDATORY_LABEL_ACE_TYPE
:
sid
=
(
const
SID
*
)
&
((
const
SYSTEM_MANDATORY_LABEL_ACE
*
)
ace
)
->
SidStart
;
sid_size
=
ace
->
AceSize
-
FIELD_OFFSET
(
SYSTEM_MANDATORY_LABEL_ACE
,
SidStart
);
fprintf
(
stderr
,
"SYSTEM_MANDATORY_LABEL_ACE_TYPE,Mask=%x"
,
((
const
SYSTEM_MANDATORY_LABEL_ACE
*
)
ace
)
->
Mask
);
break
;
default:
fprintf
(
stderr
,
"unknown<%d>"
,
ace
->
AceType
);
break
;
...
...
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