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
e2001e1c
Commit
e2001e1c
authored
Oct 07, 2009
by
Michel Normand
Committed by
Daniel Lezcano
Oct 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export struct lxc_handler from start.c to start.h
Will be required by a futur patch Signed-off-by:
Michel Normand
<
normand@fr.ibm.com
>
Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
9227a12a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
start.c
src/lxc/start.c
+0
-9
start.h
src/lxc/start.h
+8
-1
No files found.
src/lxc/start.c
View file @
e2001e1c
...
...
@@ -100,15 +100,6 @@ lxc_log_define(lxc_start, lxc);
LXC_TTY_HANDLER
(
SIGINT
);
LXC_TTY_HANDLER
(
SIGQUIT
);
struct
lxc_handler
{
int
sigfd
;
int
lock
;
pid_t
pid
;
char
tty
[
MAXPATHLEN
];
sigset_t
oldmask
;
struct
lxc_tty_info
tty_info
;
};
static
int
setup_sigchld_fd
(
sigset_t
*
oldmask
)
{
sigset_t
mask
;
...
...
src/lxc/start.h
View file @
e2001e1c
...
...
@@ -21,7 +21,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
struct
lxc_handler
;
struct
lxc_handler
{
int
sigfd
;
int
lock
;
pid_t
pid
;
char
tty
[
MAXPATHLEN
];
sigset_t
oldmask
;
struct
lxc_tty_info
tty_info
;
};
extern
struct
lxc_handler
*
lxc_init
(
const
char
*
name
);
extern
int
lxc_spawn
(
const
char
*
name
,
struct
lxc_handler
*
handler
,
...
...
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