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
7ec2e32a
Unverified
Commit
7ec2e32a
authored
Aug 21, 2017
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf{,ile}: warn user once about legacy config
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
54a2454f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
conf.h
src/lxc/conf.h
+6
-0
confile.c
src/lxc/confile.c
+0
-0
confile.h
src/lxc/confile.h
+1
-0
No files found.
src/lxc/conf.h
View file @
7ec2e32a
...
@@ -408,6 +408,12 @@ struct lxc_conf {
...
@@ -408,6 +408,12 @@ struct lxc_conf {
/* RLIMIT_* limits */
/* RLIMIT_* limits */
struct
lxc_list
limits
;
struct
lxc_list
limits
;
/* REMOVE IN LXC 3.0
* Indicator whether the current config file we're using contained any
* legacy configuration keys.
*/
bool
contains_legacy_key
;
};
};
#ifdef HAVE_TLS
#ifdef HAVE_TLS
...
...
src/lxc/confile.c
View file @
7ec2e32a
This diff is collapsed.
Click to expand it.
src/lxc/confile.h
View file @
7ec2e32a
...
@@ -53,6 +53,7 @@ typedef int (*config_clr_cb)(const char *key, struct lxc_conf *conf,
...
@@ -53,6 +53,7 @@ typedef int (*config_clr_cb)(const char *key, struct lxc_conf *conf,
struct
lxc_config_t
{
struct
lxc_config_t
{
char
*
name
;
char
*
name
;
bool
is_legacy_key
;
/* REMOVE in LXC 3.0 */
config_set_cb
set
;
config_set_cb
set
;
config_get_cb
get
;
config_get_cb
get
;
config_clr_cb
clr
;
config_clr_cb
clr
;
...
...
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