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
b113348e
Commit
b113348e
authored
Sep 04, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change header inclusion path
parent
d6cfdf43
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
27 additions
and
26 deletions
+27
-26
create.c
src/lxc/create.c
+1
-1
destroy.c
src/lxc/destroy.c
+1
-1
execute.c
src/lxc/execute.c
+1
-1
freezer.c
src/lxc/freezer.c
+1
-1
kill.c
src/lxc/kill.c
+1
-1
lxc_cgroup.c
src/lxc/lxc_cgroup.c
+1
-1
lxc_conf.c
src/lxc/lxc_conf.c
+1
-1
lxc_config.c
src/lxc/lxc_config.c
+1
-1
lxc_console.c
src/lxc/lxc_console.c
+1
-1
lxc_create.c
src/lxc/lxc_create.c
+2
-2
lxc_destroy.c
src/lxc/lxc_destroy.c
+1
-1
lxc_execute.c
src/lxc/lxc_execute.c
+1
-1
lxc_freeze.c
src/lxc/lxc_freeze.c
+1
-1
lxc_info.c
src/lxc/lxc_info.c
+1
-1
lxc_kill.c
src/lxc/lxc_kill.c
+1
-1
lxc_lock.c
src/lxc/lxc_lock.c
+1
-1
lxc_monitor.c
src/lxc/lxc_monitor.c
+1
-1
lxc_priority.c
src/lxc/lxc_priority.c
+1
-1
lxc_start.c
src/lxc/lxc_start.c
+1
-1
lxc_state.c
src/lxc/lxc_state.c
+1
-1
lxc_stop.c
src/lxc/lxc_stop.c
+1
-1
lxc_unfreeze.c
src/lxc/lxc_unfreeze.c
+1
-1
monitor.c
src/lxc/monitor.c
+2
-1
start.c
src/lxc/start.c
+1
-1
stop.c
src/lxc/stop.c
+1
-1
No files found.
src/lxc/create.c
View file @
b113348e
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
static
int
dir_filter
(
const
struct
dirent
*
dirent
)
static
int
dir_filter
(
const
struct
dirent
*
dirent
)
{
{
...
...
src/lxc/destroy.c
View file @
b113348e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include <errno.h>
#include <errno.h>
#include <sys/param.h>
#include <sys/param.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
#include "monitor.h"
#include "monitor.h"
static
int
dir_filter
(
const
struct
dirent
*
dirent
)
static
int
dir_filter
(
const
struct
dirent
*
dirent
)
...
...
src/lxc/execute.c
View file @
b113348e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include <sys/file.h>
#include <sys/file.h>
#include <sys/mount.h>
#include <sys/mount.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
LXC_TTY_HANDLER
(
SIGINT
);
LXC_TTY_HANDLER
(
SIGINT
);
LXC_TTY_HANDLER
(
SIGQUIT
);
LXC_TTY_HANDLER
(
SIGQUIT
);
...
...
src/lxc/freezer.c
View file @
b113348e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <sys/types.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/param.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
static
int
freeze_unfreeze
(
const
char
*
name
,
int
freeze
)
static
int
freeze_unfreeze
(
const
char
*
name
,
int
freeze
)
{
{
...
...
src/lxc/kill.c
View file @
b113348e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <fcntl.h>
#include <fcntl.h>
#include <sys/param.h>
#include <sys/param.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
int
lxc_kill
(
const
char
*
name
,
int
signum
)
int
lxc_kill
(
const
char
*
name
,
int
signum
)
{
{
...
...
src/lxc/lxc_cgroup.c
View file @
b113348e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
#define MAXPRIOLEN 24
#define MAXPRIOLEN 24
#define MTAB "/etc/mtab"
#define MTAB "/etc/mtab"
...
...
src/lxc/lxc_conf.c
View file @
b113348e
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
#include <network.h>
#include <network.h>
#define MAXHWLEN 18
#define MAXHWLEN 18
...
...
src/lxc/lxc_config.c
View file @
b113348e
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
typedef
int
(
*
file_cb
)(
char
*
buffer
,
void
*
data
);
typedef
int
(
*
file_cb
)(
char
*
buffer
,
void
*
data
);
typedef
int
(
*
config_cb
)(
char
*
value
,
struct
lxc_conf
*
lxc_conf
);
typedef
int
(
*
config_cb
)(
char
*
value
,
struct
lxc_conf
*
lxc_conf
);
...
...
src/lxc/lxc_console.c
View file @
b113348e
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
...
src/lxc/lxc_create.c
View file @
b113348e
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
#include
"lxc_config.h"
#include
<lxc/lxc_config.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_destroy.c
View file @
b113348e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <libgen.h>
#include <libgen.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_execute.c
View file @
b113348e
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_freeze.c
View file @
b113348e
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include <libgen.h>
#include <libgen.h>
#include <string.h>
#include <string.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_info.c
View file @
b113348e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <libgen.h>
#include <libgen.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_kill.c
View file @
b113348e
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
...
...
src/lxc/lxc_lock.c
View file @
b113348e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/file.h>
#include <sys/file.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
int
lxc_get_lock
(
const
char
*
name
)
int
lxc_get_lock
(
const
char
*
name
)
{
{
...
...
src/lxc/lxc_monitor.c
View file @
b113348e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_priority.c
View file @
b113348e
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_start.c
View file @
b113348e
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_state.c
View file @
b113348e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/file.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
#include "monitor.h"
#include "monitor.h"
static
char
*
strstate
[]
=
{
static
char
*
strstate
[]
=
{
...
...
src/lxc/lxc_stop.c
View file @
b113348e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/lxc_unfreeze.c
View file @
b113348e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <libgen.h>
#include <libgen.h>
#include <sys/types.h>
#include <sys/types.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
void
usage
(
char
*
cmd
)
void
usage
(
char
*
cmd
)
{
{
...
...
src/lxc/monitor.c
View file @
b113348e
...
@@ -34,7 +34,8 @@
...
@@ -34,7 +34,8 @@
#include <sys/un.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if.h>
#include <lxc.h>
#include <lxc/lxc.h>
#ifndef UNIX_PATH_MAX
#ifndef UNIX_PATH_MAX
#define UNIX_PATH_MAX 108
#define UNIX_PATH_MAX 108
...
...
src/lxc/start.c
View file @
b113348e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include <sys/prctl.h>
#include <sys/prctl.h>
#include <sys/wait.h>
#include <sys/wait.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
LXC_TTY_HANDLER
(
SIGINT
);
LXC_TTY_HANDLER
(
SIGINT
);
LXC_TTY_HANDLER
(
SIGQUIT
);
LXC_TTY_HANDLER
(
SIGQUIT
);
...
...
src/lxc/stop.c
View file @
b113348e
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
#include <lxc.h>
#include <lxc
/lxc
.h>
int
lxc_stop
(
const
char
*
name
)
int
lxc_stop
(
const
char
*
name
)
{
{
...
...
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