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
5ec1718d
Commit
5ec1718d
authored
Feb 06, 2007
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Feb 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Add security descriptor field to object struct.
parent
2051bccc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
object.c
server/object.c
+2
-0
object.h
server/object.h
+1
-0
No files found.
server/object.c
View file @
5ec1718d
...
@@ -178,6 +178,7 @@ void *alloc_object( const struct object_ops *ops )
...
@@ -178,6 +178,7 @@ void *alloc_object( const struct object_ops *ops )
obj
->
refcount
=
1
;
obj
->
refcount
=
1
;
obj
->
ops
=
ops
;
obj
->
ops
=
ops
;
obj
->
name
=
NULL
;
obj
->
name
=
NULL
;
obj
->
sd
=
NULL
;
list_init
(
&
obj
->
wait_queue
);
list_init
(
&
obj
->
wait_queue
);
#ifdef DEBUG_OBJECTS
#ifdef DEBUG_OBJECTS
list_add_head
(
&
object_list
,
&
obj
->
obj_list
);
list_add_head
(
&
object_list
,
&
obj
->
obj_list
);
...
@@ -278,6 +279,7 @@ void release_object( void *ptr )
...
@@ -278,6 +279,7 @@ void release_object( void *ptr )
assert
(
list_empty
(
&
obj
->
wait_queue
));
assert
(
list_empty
(
&
obj
->
wait_queue
));
obj
->
ops
->
destroy
(
obj
);
obj
->
ops
->
destroy
(
obj
);
if
(
obj
->
name
)
free_name
(
obj
);
if
(
obj
->
name
)
free_name
(
obj
);
free
(
obj
->
sd
);
#ifdef DEBUG_OBJECTS
#ifdef DEBUG_OBJECTS
list_remove
(
&
obj
->
obj_list
);
list_remove
(
&
obj
->
obj_list
);
memset
(
obj
,
0xaa
,
obj
->
ops
->
size
);
memset
(
obj
,
0xaa
,
obj
->
ops
->
size
);
...
...
server/object.h
View file @
5ec1718d
...
@@ -88,6 +88,7 @@ struct object
...
@@ -88,6 +88,7 @@ struct object
const
struct
object_ops
*
ops
;
const
struct
object_ops
*
ops
;
struct
list
wait_queue
;
struct
list
wait_queue
;
struct
object_name
*
name
;
struct
object_name
*
name
;
struct
security_descriptor
*
sd
;
#ifdef DEBUG_OBJECTS
#ifdef DEBUG_OBJECTS
struct
list
obj_list
;
struct
list
obj_list
;
#endif
#endif
...
...
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