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
c864bf04
Unverified
Commit
c864bf04
authored
Jul 21, 2020
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
state: hide unnecessary symbols
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
2e17f1e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
5 deletions
+39
-5
Makefile.am
src/lxc/Makefile.am
+25
-0
state.h
src/lxc/state.h
+8
-5
Makefile.am
src/tests/Makefile.am
+6
-0
No files found.
src/lxc/Makefile.am
View file @
c864bf04
...
@@ -353,6 +353,7 @@ lxc_attach_SOURCES = tools/lxc_attach.c \
...
@@ -353,6 +353,7 @@ lxc_attach_SOURCES = tools/lxc_attach.c \
rexec.c rexec.h
\
rexec.c rexec.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_attach_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_attach_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -381,6 +382,7 @@ lxc_autostart_SOURCES = tools/lxc_autostart.c \
...
@@ -381,6 +382,7 @@ lxc_autostart_SOURCES = tools/lxc_autostart.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_autostart_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_autostart_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -409,6 +411,7 @@ lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
...
@@ -409,6 +411,7 @@ lxc_cgroup_SOURCES = tools/lxc_cgroup.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_cgroup_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_cgroup_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -437,6 +440,7 @@ lxc_config_SOURCES = tools/lxc_config.c \
...
@@ -437,6 +440,7 @@ lxc_config_SOURCES = tools/lxc_config.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_config_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_config_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -465,6 +469,7 @@ lxc_console_SOURCES = tools/lxc_console.c \
...
@@ -465,6 +469,7 @@ lxc_console_SOURCES = tools/lxc_console.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_console_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_console_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -493,6 +498,7 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \
...
@@ -493,6 +498,7 @@ lxc_destroy_SOURCES = tools/lxc_destroy.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_destroy_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_destroy_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -521,6 +527,7 @@ lxc_device_SOURCES = tools/lxc_device.c \
...
@@ -521,6 +527,7 @@ lxc_device_SOURCES = tools/lxc_device.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_device_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_device_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -549,6 +556,7 @@ lxc_execute_SOURCES = tools/lxc_execute.c \
...
@@ -549,6 +556,7 @@ lxc_execute_SOURCES = tools/lxc_execute.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_execute_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_execute_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -577,6 +585,7 @@ lxc_freeze_SOURCES = tools/lxc_freeze.c \
...
@@ -577,6 +585,7 @@ lxc_freeze_SOURCES = tools/lxc_freeze.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_freeze_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_freeze_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -605,6 +614,7 @@ lxc_info_SOURCES = tools/lxc_info.c \
...
@@ -605,6 +614,7 @@ lxc_info_SOURCES = tools/lxc_info.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_info_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_info_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -634,6 +644,7 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
...
@@ -634,6 +644,7 @@ lxc_monitor_SOURCES = tools/lxc_monitor.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_monitor_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_monitor_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -663,6 +674,7 @@ lxc_ls_SOURCES = tools/lxc_ls.c \
...
@@ -663,6 +674,7 @@ lxc_ls_SOURCES = tools/lxc_ls.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_ls_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_ls_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -691,6 +703,7 @@ lxc_copy_SOURCES = tools/lxc_copy.c \
...
@@ -691,6 +703,7 @@ lxc_copy_SOURCES = tools/lxc_copy.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
storage/storage_utils.c storage/storage_utils.h
\
storage/storage_utils.c storage/storage_utils.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
...
@@ -720,6 +733,7 @@ lxc_start_SOURCES = tools/lxc_start.c \
...
@@ -720,6 +733,7 @@ lxc_start_SOURCES = tools/lxc_start.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_start_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_start_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -748,6 +762,7 @@ lxc_stop_SOURCES = tools/lxc_stop.c \
...
@@ -748,6 +762,7 @@ lxc_stop_SOURCES = tools/lxc_stop.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_stop_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_stop_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -776,6 +791,7 @@ lxc_top_SOURCES = tools/lxc_top.c \
...
@@ -776,6 +791,7 @@ lxc_top_SOURCES = tools/lxc_top.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_top_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_top_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -804,6 +820,7 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
...
@@ -804,6 +820,7 @@ lxc_unfreeze_SOURCES = tools/lxc_unfreeze.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_unfreeze_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_unfreeze_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -832,6 +849,7 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \
...
@@ -832,6 +849,7 @@ lxc_unshare_SOURCES = tools/lxc_unshare.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
\
string_utils.c string_utils.h
\
syscall_numbers.h
\
syscall_numbers.h
\
syscall_wrappers.h
syscall_wrappers.h
...
@@ -862,6 +880,7 @@ lxc_wait_SOURCES = tools/lxc_wait.c \
...
@@ -862,6 +880,7 @@ lxc_wait_SOURCES = tools/lxc_wait.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_wait_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_wait_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -890,6 +909,7 @@ lxc_create_SOURCES = tools/lxc_create.c \
...
@@ -890,6 +909,7 @@ lxc_create_SOURCES = tools/lxc_create.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
storage/storage_utils.c storage/storage_utils.h
\
storage/storage_utils.c storage/storage_utils.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
...
@@ -919,6 +939,7 @@ lxc_snapshot_SOURCES = tools/lxc_snapshot.c \
...
@@ -919,6 +939,7 @@ lxc_snapshot_SOURCES = tools/lxc_snapshot.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_snapshot_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_snapshot_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -947,6 +968,7 @@ lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \
...
@@ -947,6 +968,7 @@ lxc_checkpoint_SOURCES = tools/lxc_checkpoint.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
string_utils.c string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_checkpoint_SOURCES
+=
seccomp.c lxcseccomp.h
lxc_checkpoint_SOURCES
+=
seccomp.c lxcseccomp.h
...
@@ -997,6 +1019,7 @@ lxc_monitord_SOURCES = cmd/lxc_monitord.c \
...
@@ -997,6 +1019,7 @@ lxc_monitord_SOURCES = cmd/lxc_monitord.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
\
string_utils.c string_utils.h
\
syscall_numbers.h
\
syscall_numbers.h
\
utils.c utils.h
utils.c utils.h
...
@@ -1028,6 +1051,7 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
...
@@ -1028,6 +1051,7 @@ lxc_user_nic_SOURCES = cmd/lxc_user_nic.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
\
string_utils.c string_utils.h
\
syscall_numbers.h
\
syscall_numbers.h
\
syscall_wrappers.h
syscall_wrappers.h
...
@@ -1060,6 +1084,7 @@ lxc_usernsexec_SOURCES = cmd/lxc_usernsexec.c \
...
@@ -1060,6 +1084,7 @@ lxc_usernsexec_SOURCES = cmd/lxc_usernsexec.c \
process_utils.c process_utils.h
\
process_utils.c process_utils.h
\
ringbuf.c ringbuf.h
\
ringbuf.c ringbuf.h
\
start.c start.h
\
start.c start.h
\
state.c state.h
\
string_utils.c string_utils.h
\
string_utils.c string_utils.h
\
syscall_wrappers.h
\
syscall_wrappers.h
\
utils.c utils.h
utils.c utils.h
...
...
src/lxc/state.h
View file @
c864bf04
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
#ifndef __LXC_STATE_H
#ifndef __LXC_STATE_H
#define __LXC_STATE_H
#define __LXC_STATE_H
#include "compiler.h"
#define MAX_STATE_LENGTH (8 + 1)
#define MAX_STATE_LENGTH (8 + 1)
typedef
enum
{
typedef
enum
{
...
@@ -23,10 +25,11 @@ enum {
...
@@ -23,10 +25,11 @@ enum {
REBOOT_INIT
REBOOT_INIT
};
};
extern
lxc_state_t
lxc_getstate
(
const
char
*
name
,
const
char
*
lxcpath
);
__hidden
extern
lxc_state_t
lxc_getstate
(
const
char
*
name
,
const
char
*
lxcpath
);
extern
lxc_state_t
lxc_str2state
(
const
char
*
state
);
__hidden
extern
lxc_state_t
lxc_str2state
(
const
char
*
state
);
extern
const
char
*
lxc_state2str
(
lxc_state_t
state
);
__hidden
extern
const
char
*
lxc_state2str
(
lxc_state_t
state
);
extern
int
lxc_wait
(
const
char
*
lxcname
,
const
char
*
states
,
int
timeout
,
const
char
*
lxcpath
);
__hidden
extern
int
lxc_wait
(
const
char
*
lxcname
,
const
char
*
states
,
int
timeout
,
const
char
*
lxcpath
);
#endif
#endif
/* __LXC_STATE_H */
src/tests/Makefile.am
View file @
c864bf04
...
@@ -29,6 +29,7 @@ lxc_test_api_reboot_SOURCES = api_reboot.c \
...
@@ -29,6 +29,7 @@ lxc_test_api_reboot_SOURCES = api_reboot.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_api_reboot_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_api_reboot_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
@@ -57,6 +58,7 @@ lxc_test_attach_SOURCES = attach.c \
...
@@ -57,6 +58,7 @@ lxc_test_attach_SOURCES = attach.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_attach_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_attach_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
@@ -85,6 +87,7 @@ lxc_test_cgpath_SOURCES = cgpath.c \
...
@@ -85,6 +87,7 @@ lxc_test_cgpath_SOURCES = cgpath.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_cgpath_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_cgpath_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
@@ -115,6 +118,7 @@ lxc_test_config_jump_table_SOURCES = config_jump_table.c \
...
@@ -115,6 +118,7 @@ lxc_test_config_jump_table_SOURCES = config_jump_table.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_config_jump_table_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_config_jump_table_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
@@ -166,6 +170,7 @@ lxc_test_parse_config_file_SOURCES = parse_config_file.c \
...
@@ -166,6 +170,7 @@ lxc_test_parse_config_file_SOURCES = parse_config_file.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_parse_config_file_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_parse_config_file_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
@@ -217,6 +222,7 @@ lxc_test_utils_SOURCES = lxc-test-utils.c \
...
@@ -217,6 +222,7 @@ lxc_test_utils_SOURCES = lxc-test-utils.c \
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/process_utils.c ../lxc/process_utils.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/ringbuf.c ../lxc/ringbuf.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/start.c ../lxc/start.h
\
../lxc/state.c ../lxc/state.h
\
../lxc/string_utils.c ../lxc/string_utils.h
../lxc/string_utils.c ../lxc/string_utils.h
if
ENABLE_SECCOMP
if
ENABLE_SECCOMP
lxc_test_utils_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
lxc_test_utils_SOURCES
+=
../lxc/seccomp.c ../lxc/lxcseccomp.h
...
...
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