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
d6101a8f
Commit
d6101a8f
authored
Aug 01, 2016
by
Stéphane Graber
Committed by
GitHub
Aug 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1109 from brauner/2016-07-31/append_to_search_path
partially reorganize repo
parents
40292280
ca1e6c02
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
69 additions
and
61 deletions
+69
-61
configure.ac
configure.ac
+2
-2
Makefile.am
src/lxc/Makefile.am
+41
-38
cgfs.c
src/lxc/cgroups/cgfs.c
+1
-1
cgfsng.c
src/lxc/cgroups/cgfsng.c
+1
-1
cgmanager.c
src/lxc/cgroups/cgmanager.c
+1
-1
cgroup.c
src/lxc/cgroups/cgroup.c
+0
-0
cgroup.h
src/lxc/cgroups/cgroup.h
+0
-0
conf.c
src/lxc/conf.c
+3
-3
confile.c
src/lxc/confile.c
+1
-1
criu.c
src/lxc/criu.c
+1
-1
lxccontainer.c
src/lxc/lxccontainer.c
+3
-3
start.c
src/lxc/start.c
+1
-1
lxc-checkconfig.in
src/lxc/tools/lxc-checkconfig.in
+0
-0
lxc-start-ephemeral.in
src/lxc/tools/lxc-start-ephemeral.in
+0
-0
lxc-top.lua
src/lxc/tools/lxc-top.lua
+0
-0
lxc_attach.c
src/lxc/tools/lxc_attach.c
+0
-0
lxc_autostart.c
src/lxc/tools/lxc_autostart.c
+0
-0
lxc_cgroup.c
src/lxc/tools/lxc_cgroup.c
+0
-0
lxc_checkpoint.c
src/lxc/tools/lxc_checkpoint.c
+0
-0
lxc_clone.c
src/lxc/tools/lxc_clone.c
+0
-0
lxc_config.c
src/lxc/tools/lxc_config.c
+0
-0
lxc_console.c
src/lxc/tools/lxc_console.c
+0
-0
lxc_copy.c
src/lxc/tools/lxc_copy.c
+1
-1
lxc_create.c
src/lxc/tools/lxc_create.c
+1
-1
lxc_destroy.c
src/lxc/tools/lxc_destroy.c
+0
-0
lxc_device.c
src/lxc/tools/lxc_device.c
+0
-0
lxc_execute.c
src/lxc/tools/lxc_execute.c
+0
-0
lxc_freeze.c
src/lxc/tools/lxc_freeze.c
+0
-0
lxc_info.c
src/lxc/tools/lxc_info.c
+0
-0
lxc_init.c
src/lxc/tools/lxc_init.c
+0
-0
lxc_ls.c
src/lxc/tools/lxc_ls.c
+0
-0
lxc_monitor.c
src/lxc/tools/lxc_monitor.c
+0
-0
lxc_snapshot.c
src/lxc/tools/lxc_snapshot.c
+1
-1
lxc_start.c
src/lxc/tools/lxc_start.c
+0
-0
lxc_stop.c
src/lxc/tools/lxc_stop.c
+0
-0
lxc_top.c
src/lxc/tools/lxc_top.c
+0
-0
lxc_unfreeze.c
src/lxc/tools/lxc_unfreeze.c
+0
-0
lxc_unshare.c
src/lxc/tools/lxc_unshare.c
+0
-0
lxc_usernsexec.c
src/lxc/tools/lxc_usernsexec.c
+0
-0
lxc_wait.c
src/lxc/tools/lxc_wait.c
+0
-0
Makefile.am
src/tests/Makefile.am
+7
-3
cgpath.c
src/tests/cgpath.c
+4
-3
No files found.
configure.ac
View file @
d6101a8f
...
@@ -842,9 +842,9 @@ AC_CONFIG_FILES([
...
@@ -842,9 +842,9 @@ AC_CONFIG_FILES([
src/Makefile
src/Makefile
src/lxc/Makefile
src/lxc/Makefile
src/lxc/lxc-checkconfig
src/lxc/lxc-start-ephemeral
src/lxc/lxc.functions
src/lxc/lxc.functions
src/lxc/tools/lxc-checkconfig
src/lxc/tools/lxc-start-ephemeral
src/lxc/version.h
src/lxc/version.h
src/python-lxc/Makefile
src/python-lxc/Makefile
...
...
src/lxc/Makefile.am
View file @
d6101a8f
...
@@ -17,8 +17,8 @@ noinst_HEADERS = \
...
@@ -17,8 +17,8 @@ noinst_HEADERS = \
bdev/lxcrbd.h
\
bdev/lxcrbd.h
\
bdev/lxcrsync.h
\
bdev/lxcrsync.h
\
bdev/lxczfs.h
\
bdev/lxczfs.h
\
cgroups/cgroup.h
\
caps.h
\
caps.h
\
cgroup.h
\
conf.h
\
conf.h
\
console.h
\
console.h
\
error.h
\
error.h
\
...
@@ -80,6 +80,9 @@ liblxc_so_SOURCES = \
...
@@ -80,6 +80,9 @@ liblxc_so_SOURCES = \
bdev/lxcrbd.c bdev/lxcrbd.h
\
bdev/lxcrbd.c bdev/lxcrbd.h
\
bdev/lxcrsync.c bdev/lxcrsync.h
\
bdev/lxcrsync.c bdev/lxcrsync.h
\
bdev/lxczfs.c bdev/lxczfs.h
\
bdev/lxczfs.c bdev/lxczfs.h
\
cgroups/cgfs.c
\
cgroups/cgfsng.c
\
cgroups/cgroup.c cgroups/cgroup.h
\
commands.c commands.h
\
commands.c commands.h
\
start.c start.h
\
start.c start.h
\
execute.c
\
execute.c
\
...
@@ -88,9 +91,6 @@ liblxc_so_SOURCES = \
...
@@ -88,9 +91,6 @@ liblxc_so_SOURCES = \
freezer.c
\
freezer.c
\
error.h error.c
\
error.h error.c
\
parse.c parse.h
\
parse.c parse.h
\
cgfs.c
\
cgfsng.c
\
cgroup.c cgroup.h
\
lxc.h
\
lxc.h
\
initutils.c initutils.h
\
initutils.c initutils.h
\
utils.c utils.h
\
utils.c utils.h
\
...
@@ -122,7 +122,7 @@ liblxc_so_SOURCES = \
...
@@ -122,7 +122,7 @@ liblxc_so_SOURCES = \
$(LSM_SOURCES)
$(LSM_SOURCES)
if
ENABLE_CGMANAGER
if
ENABLE_CGMANAGER
liblxc_so_SOURCES
+=
cgmanager.c
liblxc_so_SOURCES
+=
cg
roups/cg
manager.c
endif
endif
if
IS_BIONIC
if
IS_BIONIC
...
@@ -138,8 +138,7 @@ liblxc_so_SOURCES += ../include/getline.c ../include/getline.h
...
@@ -138,8 +138,7 @@ liblxc_so_SOURCES += ../include/getline.c ../include/getline.h
endif
endif
endif
endif
AM_CFLAGS
=
-I
$(top_srcdir)
/src
\
AM_CFLAGS
=
-DLXCROOTFSMOUNT
=
\"
$(LXCROOTFSMOUNT)
\"
\
-DLXCROOTFSMOUNT
=
\"
$(LXCROOTFSMOUNT)
\"
\
-DLXCPATH
=
\"
$(LXCPATH)
\"
\
-DLXCPATH
=
\"
$(LXCPATH)
\"
\
-DLXC_GLOBAL_CONF
=
\"
$(LXC_GLOBAL_CONF)
\"
\
-DLXC_GLOBAL_CONF
=
\"
$(LXC_GLOBAL_CONF)
\"
\
-DLXCINITDIR
=
\"
$(LXCINITDIR)
\"
\
-DLXCINITDIR
=
\"
$(LXCINITDIR)
\"
\
...
@@ -152,7 +151,11 @@ AM_CFLAGS=-I$(top_srcdir)/src \
...
@@ -152,7 +151,11 @@ AM_CFLAGS=-I$(top_srcdir)/src \
-DLXC_USERNIC_CONF
=
\"
$(LXC_USERNIC_CONF)
\"
\
-DLXC_USERNIC_CONF
=
\"
$(LXC_USERNIC_CONF)
\"
\
-DDEFAULT_CGROUP_PATTERN
=
\"
$(DEFAULT_CGROUP_PATTERN)
\"
\
-DDEFAULT_CGROUP_PATTERN
=
\"
$(DEFAULT_CGROUP_PATTERN)
\"
\
-DRUNTIME_PATH
=
\"
$(RUNTIME_PATH)
\"
\
-DRUNTIME_PATH
=
\"
$(RUNTIME_PATH)
\"
\
-DSBINDIR
=
\"
$(SBINDIR)
\"
-DSBINDIR
=
\"
$(SBINDIR)
\"
\
-I
$(top_srcdir)
/src
\
-I
$(top_srcdir)
/src/lxc
\
-I
$(top_srcdir)
/src/lxc/bdev
\
-I
$(top_srcdir)
/src/lxc/cgroups
if
ENABLE_APPARMOR
if
ENABLE_APPARMOR
AM_CFLAGS
+=
-DHAVE_APPARMOR
AM_CFLAGS
+=
-DHAVE_APPARMOR
...
@@ -189,14 +192,14 @@ liblxc_so_LDADD += $(CGMANAGER_LIBS) $(DBUS_LIBS) $(NIH_LIBS) $(NIH_DBUS_LIBS)
...
@@ -189,14 +192,14 @@ liblxc_so_LDADD += $(CGMANAGER_LIBS) $(DBUS_LIBS) $(NIH_LIBS) $(NIH_DBUS_LIBS)
liblxc_so_CFLAGS
+=
$(CGMANAGER_CFLAGS)
$(DBUS_CFLAGS)
$(NIH_CFLAGS)
$(NIH_DBUS_CFLAGS)
liblxc_so_CFLAGS
+=
$(CGMANAGER_CFLAGS)
$(DBUS_CFLAGS)
$(NIH_CFLAGS)
$(NIH_DBUS_CFLAGS)
endif
endif
bin_SCRIPTS
=
lxc-checkconfig
bin_SCRIPTS
=
tools/
lxc-checkconfig
EXTRA_DIST
=
\
EXTRA_DIST
=
\
lxc-top.lua
tools/
lxc-top.lua
if
ENABLE_DEPRECATED
if
ENABLE_DEPRECATED
if
ENABLE_PYTHON
if
ENABLE_PYTHON
bin_SCRIPTS
+=
lxc-start-ephemeral
bin_SCRIPTS
+=
tools/
lxc-start-ephemeral
endif
endif
endif
endif
...
@@ -240,35 +243,35 @@ AM_LDFLAGS += -Wl,-rpath -Wl,$(libdir)
...
@@ -240,35 +243,35 @@ AM_LDFLAGS += -Wl,-rpath -Wl,$(libdir)
endif
endif
LDADD
=
liblxc.so @CAP_LIBS@ @APPARMOR_LIBS@ @SELINUX_LIBS@ @SECCOMP_LIBS@
LDADD
=
liblxc.so @CAP_LIBS@ @APPARMOR_LIBS@ @SELINUX_LIBS@ @SECCOMP_LIBS@
lxc_attach_SOURCES
=
lxc_attach.c
lxc_attach_SOURCES
=
tools/
lxc_attach.c
lxc_autostart_SOURCES
=
lxc_autostart.c
lxc_autostart_SOURCES
=
tools/
lxc_autostart.c
lxc_cgroup_SOURCES
=
lxc_cgroup.c
lxc_cgroup_SOURCES
=
tools/
lxc_cgroup.c
lxc_config_SOURCES
=
lxc_config.c
lxc_config_SOURCES
=
tools/
lxc_config.c
lxc_console_SOURCES
=
lxc_console.c
lxc_console_SOURCES
=
tools/
lxc_console.c
lxc_destroy_SOURCES
=
lxc_destroy.c
lxc_destroy_SOURCES
=
tools/
lxc_destroy.c
lxc_device_SOURCES
=
lxc_device.c
lxc_device_SOURCES
=
tools/
lxc_device.c
lxc_execute_SOURCES
=
lxc_execute.c
lxc_execute_SOURCES
=
tools/
lxc_execute.c
lxc_freeze_SOURCES
=
lxc_freeze.c
lxc_freeze_SOURCES
=
tools/
lxc_freeze.c
lxc_info_SOURCES
=
lxc_info.c
lxc_info_SOURCES
=
tools/
lxc_info.c
init_lxc_SOURCES
=
lxc_init.c
init_lxc_SOURCES
=
tools/
lxc_init.c
lxc_monitor_SOURCES
=
lxc_monitor.c
lxc_monitor_SOURCES
=
tools/
lxc_monitor.c
lxc_
monitord_SOURCES
=
lxc_monitord
.c
lxc_
ls_SOURCES
=
tools/lxc_ls
.c
lxc_
ls_SOURCES
=
lxc_ls
.c
lxc_
copy_SOURCES
=
tools/lxc_copy
.c
lxc_
copy_SOURCES
=
lxc_copy
.c
lxc_
start_SOURCES
=
tools/lxc_start
.c
lxc_st
art_SOURCES
=
lxc_start
.c
lxc_st
op_SOURCES
=
tools/lxc_stop
.c
lxc_
stop_SOURCES
=
lxc_s
top.c
lxc_
top_SOURCES
=
tools/lxc_
top.c
lxc_
top_SOURCES
=
lxc_top
.c
lxc_
unfreeze_SOURCES
=
tools/lxc_unfreeze
.c
lxc_un
freeze_SOURCES
=
lxc_unfreez
e.c
lxc_un
share_SOURCES
=
tools/lxc_unshar
e.c
lxc_
unshare_SOURCES
=
lxc_unshare
.c
lxc_
wait_SOURCES
=
tools/lxc_wait
.c
lxc_
wait_SOURCES
=
lxc_wait
.c
lxc_
create_SOURCES
=
tools/lxc_create
.c
lxc_
create_SOURCES
=
lxc_create
.c
lxc_
snapshot_SOURCES
=
tools/lxc_snapshot
.c
lxc_
snapshot_SOURCES
=
lxc_snapshot
.c
lxc_
usernsexec_SOURCES
=
tools/lxc_usernsexec
.c
lxc_
usernsexec_SOURCES
=
lxc_usernsexec
.c
lxc_
checkpoint_SOURCES
=
tools/lxc_checkpoint
.c
lxc_user_nic_SOURCES
=
lxc_user_nic.c network.c network.h
lxc_user_nic_SOURCES
=
lxc_user_nic.c network.c network.h
lxc_
checkpoint_SOURCES
=
lxc_checkpoint
.c
lxc_
monitord_SOURCES
=
lxc_monitord
.c
if
ENABLE_DEPRECATED
if
ENABLE_DEPRECATED
lxc_clone_SOURCES
=
lxc_clone.c
lxc_clone_SOURCES
=
tools/
lxc_clone.c
endif
endif
if
!HAVE_GETSUBOPT
if
!HAVE_GETSUBOPT
...
@@ -278,7 +281,7 @@ endif
...
@@ -278,7 +281,7 @@ endif
if
HAVE_STATIC_LIBCAP
if
HAVE_STATIC_LIBCAP
sbin_PROGRAMS
+=
init.lxc.static
sbin_PROGRAMS
+=
init.lxc.static
init_lxc_static_SOURCES
=
lxc_init.c error.c log.c initutils.c caps.c
init_lxc_static_SOURCES
=
tools/
lxc_init.c error.c log.c initutils.c caps.c
if
!HAVE_GETLINE
if
!HAVE_GETLINE
if
HAVE_FGETLN
if
HAVE_FGETLN
...
...
src/lxc/cgfs.c
→
src/lxc/cg
roups/cg
fs.c
View file @
d6101a8f
...
@@ -39,12 +39,12 @@
...
@@ -39,12 +39,12 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include "bdev.h"
#include "error.h"
#include "error.h"
#include "commands.h"
#include "commands.h"
#include "list.h"
#include "list.h"
#include "conf.h"
#include "conf.h"
#include "utils.h"
#include "utils.h"
#include "bdev/bdev.h"
#include "log.h"
#include "log.h"
#include "cgroup.h"
#include "cgroup.h"
#include "start.h"
#include "start.h"
...
...
src/lxc/cgfsng.c
→
src/lxc/cg
roups/cg
fsng.c
View file @
d6101a8f
...
@@ -43,11 +43,11 @@
...
@@ -43,11 +43,11 @@
#include <dirent.h>
#include <dirent.h>
#include <grp.h>
#include <grp.h>
#include "bdev.h"
#include "log.h"
#include "log.h"
#include "cgroup.h"
#include "cgroup.h"
#include "utils.h"
#include "utils.h"
#include "commands.h"
#include "commands.h"
#include "bdev/bdev.h"
lxc_log_define
(
lxc_cgfsng
,
lxc
);
lxc_log_define
(
lxc_cgfsng
,
lxc
);
...
...
src/lxc/cgmanager.c
→
src/lxc/cg
roups/cg
manager.c
View file @
d6101a8f
...
@@ -41,12 +41,12 @@
...
@@ -41,12 +41,12 @@
#include <net/if.h>
#include <net/if.h>
#include <poll.h>
#include <poll.h>
#include "bdev.h"
#include "error.h"
#include "error.h"
#include "commands.h"
#include "commands.h"
#include "list.h"
#include "list.h"
#include "conf.h"
#include "conf.h"
#include "utils.h"
#include "utils.h"
#include "bdev/bdev.h"
#include "log.h"
#include "log.h"
#include "cgroup.h"
#include "cgroup.h"
#include "start.h"
#include "start.h"
...
...
src/lxc/cgroup.c
→
src/lxc/cgroup
s/cgroup
.c
View file @
d6101a8f
File moved
src/lxc/cgroup.h
→
src/lxc/cgroup
s/cgroup
.h
View file @
d6101a8f
File moved
src/lxc/conf.c
View file @
d6101a8f
...
@@ -66,6 +66,7 @@
...
@@ -66,6 +66,7 @@
#include <net/if.h>
#include <net/if.h>
#include <libgen.h>
#include <libgen.h>
#include "bdev.h"
#include "network.h"
#include "network.h"
#include "error.h"
#include "error.h"
#include "af_unix.h"
#include "af_unix.h"
...
@@ -74,9 +75,8 @@
...
@@ -74,9 +75,8 @@
#include "conf.h"
#include "conf.h"
#include "log.h"
#include "log.h"
#include "caps.h"
/* for lxc_caps_last_cap() */
#include "caps.h"
/* for lxc_caps_last_cap() */
#include "bdev/bdev.h"
#include "lxcaufs.h"
#include "bdev/lxcaufs.h"
#include "lxcoverlay.h"
#include "bdev/lxcoverlay.h"
#include "cgroup.h"
#include "cgroup.h"
#include "lxclock.h"
#include "lxclock.h"
#include "namespace.h"
#include "namespace.h"
...
...
src/lxc/confile.c
View file @
d6101a8f
...
@@ -40,10 +40,10 @@
...
@@ -40,10 +40,10 @@
#include <dirent.h>
#include <dirent.h>
#include <syslog.h>
#include <syslog.h>
#include "bdev.h"
#include "parse.h"
#include "parse.h"
#include "config.h"
#include "config.h"
#include "confile.h"
#include "confile.h"
#include "bdev/bdev.h"
#include "utils.h"
#include "utils.h"
#include "log.h"
#include "log.h"
#include "conf.h"
#include "conf.h"
...
...
src/lxc/criu.c
View file @
d6101a8f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include "config.h"
#include "config.h"
#include "bdev
/bdev
.h"
#include "bdev.h"
#include "cgroup.h"
#include "cgroup.h"
#include "conf.h"
#include "conf.h"
#include "commands.h"
#include "commands.h"
...
...
src/lxc/lxccontainer.c
View file @
d6101a8f
...
@@ -39,9 +39,9 @@
...
@@ -39,9 +39,9 @@
#include <sys/wait.h>
#include <sys/wait.h>
#include "attach.h"
#include "attach.h"
#include "bdev
/bdev
.h"
#include "bdev.h"
#include "
bdev/
lxcoverlay.h"
#include "lxcoverlay.h"
#include "
bdev/
lxcbtrfs.h"
#include "lxcbtrfs.h"
#include "cgroup.h"
#include "cgroup.h"
#include "conf.h"
#include "conf.h"
#include "config.h"
#include "config.h"
...
...
src/lxc/start.c
View file @
d6101a8f
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
#endif
#endif
#include "af_unix.h"
#include "af_unix.h"
#include "bdev.h"
#include "caps.h"
#include "caps.h"
#include "cgroup.h"
#include "cgroup.h"
#include "commands.h"
#include "commands.h"
...
@@ -71,7 +72,6 @@
...
@@ -71,7 +72,6 @@
#include "start.h"
#include "start.h"
#include "sync.h"
#include "sync.h"
#include "utils.h"
#include "utils.h"
#include "bdev/bdev.h"
#include "lsm/lsm.h"
#include "lsm/lsm.h"
lxc_log_define
(
lxc_start
,
lxc
);
lxc_log_define
(
lxc_start
,
lxc
);
...
...
src/lxc/lxc-checkconfig.in
→
src/lxc/
tools/
lxc-checkconfig.in
View file @
d6101a8f
File moved
src/lxc/lxc-start-ephemeral.in
→
src/lxc/
tools/
lxc-start-ephemeral.in
View file @
d6101a8f
File moved
src/lxc/lxc-top.lua
→
src/lxc/
tools/
lxc-top.lua
View file @
d6101a8f
File moved
src/lxc/lxc_attach.c
→
src/lxc/
tools/
lxc_attach.c
View file @
d6101a8f
File moved
src/lxc/lxc_autostart.c
→
src/lxc/
tools/
lxc_autostart.c
View file @
d6101a8f
File moved
src/lxc/lxc_cgroup.c
→
src/lxc/
tools/
lxc_cgroup.c
View file @
d6101a8f
File moved
src/lxc/lxc_checkpoint.c
→
src/lxc/
tools/
lxc_checkpoint.c
View file @
d6101a8f
File moved
src/lxc/lxc_clone.c
→
src/lxc/
tools/
lxc_clone.c
View file @
d6101a8f
File moved
src/lxc/lxc_config.c
→
src/lxc/
tools/
lxc_config.c
View file @
d6101a8f
File moved
src/lxc/lxc_console.c
→
src/lxc/
tools/
lxc_console.c
View file @
d6101a8f
File moved
src/lxc/lxc_copy.c
→
src/lxc/
tools/
lxc_copy.c
View file @
d6101a8f
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <lxc/lxccontainer.h>
#include <lxc/lxccontainer.h>
#include "attach.h"
#include "attach.h"
#include "bdev.h"
#include "log.h"
#include "log.h"
#include "confile.h"
#include "confile.h"
#include "arguments.h"
#include "arguments.h"
...
@@ -44,7 +45,6 @@
...
@@ -44,7 +45,6 @@
#include "conf.h"
#include "conf.h"
#include "state.h"
#include "state.h"
#include "utils.h"
#include "utils.h"
#include "bdev/bdev.h"
#ifndef HAVE_GETSUBOPT
#ifndef HAVE_GETSUBOPT
#include <../include/getsubopt.h>
#include <../include/getsubopt.h>
...
...
src/lxc/lxc_create.c
→
src/lxc/
tools/
lxc_create.c
View file @
d6101a8f
...
@@ -27,10 +27,10 @@
...
@@ -27,10 +27,10 @@
#include <sys/types.h>
#include <sys/types.h>
#include "arguments.h"
#include "arguments.h"
#include "bdev.h"
#include "log.h"
#include "log.h"
#include "lxc.h"
#include "lxc.h"
#include "utils.h"
#include "utils.h"
#include "bdev/bdev.h"
lxc_log_define
(
lxc_create_ui
,
lxc
);
lxc_log_define
(
lxc_create_ui
,
lxc
);
...
...
src/lxc/lxc_destroy.c
→
src/lxc/
tools/
lxc_destroy.c
View file @
d6101a8f
File moved
src/lxc/lxc_device.c
→
src/lxc/
tools/
lxc_device.c
View file @
d6101a8f
File moved
src/lxc/lxc_execute.c
→
src/lxc/
tools/
lxc_execute.c
View file @
d6101a8f
File moved
src/lxc/lxc_freeze.c
→
src/lxc/
tools/
lxc_freeze.c
View file @
d6101a8f
File moved
src/lxc/lxc_info.c
→
src/lxc/
tools/
lxc_info.c
View file @
d6101a8f
File moved
src/lxc/lxc_init.c
→
src/lxc/
tools/
lxc_init.c
View file @
d6101a8f
File moved
src/lxc/lxc_ls.c
→
src/lxc/
tools/
lxc_ls.c
View file @
d6101a8f
File moved
src/lxc/lxc_monitor.c
→
src/lxc/
tools/
lxc_monitor.c
View file @
d6101a8f
File moved
src/lxc/lxc_snapshot.c
→
src/lxc/
tools/
lxc_snapshot.c
View file @
d6101a8f
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
#include <lxc/lxccontainer.h>
#include <lxc/lxccontainer.h>
#include "bdev.h"
#include "lxc.h"
#include "lxc.h"
#include "log.h"
#include "log.h"
#include "bdev/bdev.h"
#include "arguments.h"
#include "arguments.h"
#include "utils.h"
#include "utils.h"
...
...
src/lxc/lxc_start.c
→
src/lxc/
tools/
lxc_start.c
View file @
d6101a8f
File moved
src/lxc/lxc_stop.c
→
src/lxc/
tools/
lxc_stop.c
View file @
d6101a8f
File moved
src/lxc/lxc_top.c
→
src/lxc/
tools/
lxc_top.c
View file @
d6101a8f
File moved
src/lxc/lxc_unfreeze.c
→
src/lxc/
tools/
lxc_unfreeze.c
View file @
d6101a8f
File moved
src/lxc/lxc_unshare.c
→
src/lxc/
tools/
lxc_unshare.c
View file @
d6101a8f
File moved
src/lxc/lxc_usernsexec.c
→
src/lxc/
tools/
lxc_usernsexec.c
View file @
d6101a8f
File moved
src/lxc/lxc_wait.c
→
src/lxc/
tools/
lxc_wait.c
View file @
d6101a8f
File moved
src/tests/Makefile.am
View file @
d6101a8f
...
@@ -24,13 +24,17 @@ lxc_test_attach_SOURCES = attach.c
...
@@ -24,13 +24,17 @@ lxc_test_attach_SOURCES = attach.c
lxc_test_device_add_remove_SOURCES
=
device_add_remove.c
lxc_test_device_add_remove_SOURCES
=
device_add_remove.c
lxc_test_apparmor_SOURCES
=
aa.c
lxc_test_apparmor_SOURCES
=
aa.c
AM_CFLAGS
=
-I
$(top_srcdir)
/src
\
AM_CFLAGS
=
-DLXCROOTFSMOUNT
=
\"
$(LXCROOTFSMOUNT)
\"
\
-DLXCROOTFSMOUNT
=
\"
$(LXCROOTFSMOUNT)
\"
\
-DLXCPATH
=
\"
$(LXCPATH)
\"
\
-DLXCPATH
=
\"
$(LXCPATH)
\"
\
-DLXC_GLOBAL_CONF
=
\"
$(LXC_GLOBAL_CONF)
\"
\
-DLXC_GLOBAL_CONF
=
\"
$(LXC_GLOBAL_CONF)
\"
\
-DLXCINITDIR
=
\"
$(LXCINITDIR)
\"
\
-DLXCINITDIR
=
\"
$(LXCINITDIR)
\"
\
-DLXC_DEFAULT_CONFIG
=
\"
$(LXC_DEFAULT_CONFIG)
\"
\
-DLXC_DEFAULT_CONFIG
=
\"
$(LXC_DEFAULT_CONFIG)
\"
\
-DRUNTIME_PATH
=
\"
$(RUNTIME_PATH)
\"
-DRUNTIME_PATH
=
\"
$(RUNTIME_PATH)
\"
\
-I
$(top_srcdir)
/src
\
-I
$(top_srcdir)
/src/lxc
\
-I
$(top_srcdir)
/src/lxc/bdev
\
-I
$(top_srcdir)
/src/lxc/cgroups
\
-I
$(top_srcdir)
/src/lxc/tools
if
ENABLE_APPARMOR
if
ENABLE_APPARMOR
AM_CFLAGS
+=
-DHAVE_APPARMOR
AM_CFLAGS
+=
-DHAVE_APPARMOR
...
...
src/tests/cgpath.c
View file @
d6101a8f
...
@@ -28,9 +28,10 @@
...
@@ -28,9 +28,10 @@
#include <errno.h>
#include <errno.h>
#include <string.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include "lxc/cgroup.h"
#include "lxc/lxc.h"
#include "cgroup.h"
#include "lxc/commands.h"
#include "lxc.h"
#include "commands.h"
#define MYNAME "lxctest1"
#define MYNAME "lxctest1"
...
...
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