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
2ec47d51
Unverified
Commit
2ec47d51
authored
May 11, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: s/strncpy()/strlcpy()/g
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
acb1bd4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Makefile.am
src/lxc/Makefile.am
+4
-0
lxc_monitor.c
src/lxc/tools/lxc_monitor.c
+4
-0
No files found.
src/lxc/Makefile.am
View file @
2ec47d51
...
@@ -290,6 +290,10 @@ if ENABLE_TOOLS
...
@@ -290,6 +290,10 @@ if ENABLE_TOOLS
if
!HAVE_GETSUBOPT
if
!HAVE_GETSUBOPT
lxc_copy_SOURCES
+=
tools/include/getsubopt.c tools/include/getsubopt.h
lxc_copy_SOURCES
+=
tools/include/getsubopt.c tools/include/getsubopt.h
endif
endif
if
!HAVE_STRLCPY
lxc_monitor_SOURCES
+=
../include/strlcpy.c ../include/strlcpy.h
endif
endif
endif
if
ENABLE_COMMANDS
if
ENABLE_COMMANDS
...
...
src/lxc/tools/lxc_monitor.c
View file @
2ec47d51
...
@@ -47,6 +47,10 @@
...
@@ -47,6 +47,10 @@
#include "arguments.h"
#include "arguments.h"
#include "tool_utils.h"
#include "tool_utils.h"
#ifndef HAVE_STRLCPY
#include "include/strlcpy.h"
#endif
static
bool
quit_monitord
;
static
bool
quit_monitord
;
static
int
my_parser
(
struct
lxc_arguments
*
args
,
int
c
,
char
*
arg
)
static
int
my_parser
(
struct
lxc_arguments
*
args
,
int
c
,
char
*
arg
)
...
...
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