Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
97c09b99
Unverified
Commit
97c09b99
authored
Dec 07, 2019
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start: replace compiler attributes
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
5429155b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
start.c
src/lxc/start.c
+3
-3
No files found.
src/lxc/start.c
View file @
97c09b99
...
...
@@ -1104,8 +1104,8 @@ void lxc_abort(const char *name, struct lxc_handler *handler)
static
int
do_start
(
void
*
data
)
{
struct
lxc_handler
*
handler
=
data
;
ATTR_UNUSED
__do_close_prot_errno
int
data_sock0
=
handler
->
data_sock
[
0
],
data_sock1
=
handler
->
data_sock
[
1
];
__unused
__do_close_prot_errno
int
data_sock0
=
handler
->
data_sock
[
0
],
data_sock1
=
handler
->
data_sock
[
1
];
__do_close_prot_errno
int
status_fd
=
-
EBADF
;
int
ret
;
uid_t
new_uid
;
...
...
@@ -1117,7 +1117,7 @@ static int do_start(void *data)
lxc_sync_fini_parent
(
handler
);
if
(
lxc_abstract_unix_recv_fds
(
handler
->
data_sock
[
1
]
,
&
status_fd
,
1
,
NULL
,
0
)
<
0
)
{
if
(
lxc_abstract_unix_recv_fds
(
data_sock1
,
&
status_fd
,
1
,
NULL
,
0
)
<
0
)
{
ERROR
(
"Failed to receive status file descriptor to child process"
);
goto
out_warn_father
;
}
...
...
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