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
f5072dcd
Unverified
Commit
f5072dcd
authored
Feb 05, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attach_options: use standard C pointer syntax
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
f41aa73b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
attach_options.h
src/lxc/attach_options.h
+5
-5
No files found.
src/lxc/attach_options.h
View file @
f5072dcd
...
@@ -78,7 +78,7 @@ typedef struct lxc_attach_options_t {
...
@@ -78,7 +78,7 @@ typedef struct lxc_attach_options_t {
* If the current directory does not exist in the container, the root
* If the current directory does not exist in the container, the root
* directory will be used instead because of kernel defaults.
* directory will be used instead because of kernel defaults.
*/
*/
char
*
initial_cwd
;
char
*
initial_cwd
;
/*! The user-id to run as.
/*! The user-id to run as.
*
*
...
@@ -98,12 +98,12 @@ typedef struct lxc_attach_options_t {
...
@@ -98,12 +98,12 @@ typedef struct lxc_attach_options_t {
lxc_attach_env_policy_t
env_policy
;
lxc_attach_env_policy_t
env_policy
;
/*! Extra environment variables to set in the container environment */
/*! Extra environment variables to set in the container environment */
char
**
extra_env_vars
;
char
**
extra_env_vars
;
/*! Names of environment variables in existing environment to retain
/*! Names of environment variables in existing environment to retain
* in container environment.
* in container environment.
*/
*/
char
**
extra_keep_env
;
char
**
extra_keep_env
;
/**@{*/
/**@{*/
/*! File descriptors for stdin, stdout and stderr,
/*! File descriptors for stdin, stdout and stderr,
...
@@ -155,8 +155,8 @@ typedef struct lxc_attach_options_t {
...
@@ -155,8 +155,8 @@ typedef struct lxc_attach_options_t {
* Representation of a command to run in a container.
* Representation of a command to run in a container.
*/
*/
typedef
struct
lxc_attach_command_t
{
typedef
struct
lxc_attach_command_t
{
char
*
program
;
/*!< The program to run (passed to execvp) */
char
*
program
;
/*!< The program to run (passed to execvp) */
char
**
argv
;
/*!< The argv pointer of that program, including the program itself in argv[0] */
char
**
argv
;
/*!< The argv pointer of that program, including the program itself in argv[0] */
}
lxc_attach_command_t
;
}
lxc_attach_command_t
;
/*!
/*!
...
...
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