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
a5fb69a3
Unverified
Commit
a5fb69a3
authored
Apr 18, 2018
by
Serge Hallyn
Committed by
GitHub
Apr 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2281 from brauner/2018-04-15/seccomp_fixes
seccomp: handle arch inversion - The Architecture Strikes Back
parents
a55e2ad1
eca6736e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
lxc-execute.sgml.in
doc/lxc-execute.sgml.in
+15
-0
seccomp.c
src/lxc/seccomp.c
+0
-0
lxc_execute.c
src/lxc/tools/lxc_execute.c
+1
-0
api_reboot.c
src/tests/api_reboot.c
+0
-1
No files found.
doc/lxc-execute.sgml.in
View file @
a5fb69a3
...
@@ -50,6 +50,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -50,6 +50,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<cmdsynopsis>
<cmdsynopsis>
<command>lxc-execute</command>
<command>lxc-execute</command>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="req">-n <replaceable>name</replaceable></arg>
<arg choice="opt">-d</arg>
<arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<arg choice="opt">-f <replaceable>config_file</replaceable></arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="opt">-s KEY=VAL</arg>
<arg choice="opt">-- <replaceable>command</replaceable></arg>
<arg choice="opt">-- <replaceable>command</replaceable></arg>
...
@@ -124,6 +125,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -124,6 +125,20 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term>
<option>-d, --daemon</option>
</term>
<listitem>
<para>
Run the container as a daemon. As the container has no
more tty, if an error occurs nothing will be displayed,
the log file can be used to check the error.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term><option>--</option></term>
<term><option>--</option></term>
<listitem>
<listitem>
...
...
src/lxc/seccomp.c
View file @
a5fb69a3
This diff is collapsed.
Click to expand it.
src/lxc/tools/lxc_execute.c
View file @
a5fb69a3
...
@@ -104,6 +104,7 @@ and execs COMMAND into this container.\n\
...
@@ -104,6 +104,7 @@ and execs COMMAND into this container.\n\
\n
\
\n
\
Options :
\n
\
Options :
\n
\
-n, --name=NAME NAME of the container
\n
\
-n, --name=NAME NAME of the container
\n
\
-d, --daemon Daemonize the container
\n
\
-f, --rcfile=FILE Load configuration file FILE
\n
\
-f, --rcfile=FILE Load configuration file FILE
\n
\
-s, --define KEY=VAL Assign VAL to configuration variable KEY
\n
\
-s, --define KEY=VAL Assign VAL to configuration variable KEY
\n
\
-u, --uid=UID Execute COMMAND with UID inside the container
\n
\
-u, --uid=UID Execute COMMAND with UID inside the container
\n
\
...
...
src/tests/api_reboot.c
View file @
a5fb69a3
...
@@ -59,7 +59,6 @@ int main(int argc, char *argv[])
...
@@ -59,7 +59,6 @@ int main(int argc, char *argv[])
lxc_error
(
"%s
\n
"
,
"Container
\"
reboot
\"
is not defined"
);
lxc_error
(
"%s
\n
"
,
"Container
\"
reboot
\"
is not defined"
);
goto
on_error_put
;
goto
on_error_put
;
}
}
c
->
clear_config
(
c
);
c
->
clear_config
(
c
);
if
(
!
c
->
load_config
(
c
,
NULL
))
{
if
(
!
c
->
load_config
(
c
,
NULL
))
{
...
...
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