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
79bd7662
Unverified
Commit
79bd7662
authored
Jan 09, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attach_options: add log_fd argument
This will be used to log the output of attach to. Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
08ea9270
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
attach_options.h
src/lxc/attach_options.h
+7
-1
No files found.
src/lxc/attach_options.h
View file @
79bd7662
...
@@ -131,6 +131,9 @@ typedef struct lxc_attach_options_t {
...
@@ -131,6 +131,9 @@ typedef struct lxc_attach_options_t {
int
stdout_fd
;
/*!< stdout file descriptor */
int
stdout_fd
;
/*!< stdout file descriptor */
int
stderr_fd
;
/*!< stderr file descriptor */
int
stderr_fd
;
/*!< stderr file descriptor */
/**@}*/
/**@}*/
/*! File descriptor to log output. */
int
log_fd
;
}
lxc_attach_options_t
;
}
lxc_attach_options_t
;
/*! Default attach options to use */
/*! Default attach options to use */
...
@@ -145,7 +148,10 @@ typedef struct lxc_attach_options_t {
...
@@ -145,7 +148,10 @@ typedef struct lxc_attach_options_t {
/* .env_policy = */
LXC_ATTACH_KEEP_ENV, \
/* .env_policy = */
LXC_ATTACH_KEEP_ENV, \
/* .extra_env_vars = */
NULL, \
/* .extra_env_vars = */
NULL, \
/* .extra_keep_env = */
NULL, \
/* .extra_keep_env = */
NULL, \
/* .stdin_fd = */
0, 1, 2 \
/* .stdin_fd = */
0, \
/* .stdout_fd = */
1, \
/* .stderr_fd = */
2, \
/* .log_fd = */
-EBADF, \
}
}
/*!
/*!
...
...
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