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
d3aba1db
Unverified
Commit
d3aba1db
authored
Sep 02, 2018
by
Wolfgang Bumiller
Committed by
GitHub
Sep 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2581 from brauner/2018-09-02/macro
macro: move MS_* macros
parents
04a49be6
6e5655e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
conf.c
src/lxc/conf.c
+1
-8
macro.h
src/lxc/macro.h
+10
-2
No files found.
src/lxc/conf.c
View file @
d3aba1db
...
@@ -101,6 +101,7 @@
...
@@ -101,6 +101,7 @@
#include "lsm/lsm.h"
#include "lsm/lsm.h"
#include "lxclock.h"
#include "lxclock.h"
#include "lxcseccomp.h"
#include "lxcseccomp.h"
#include "macro.h"
#include "namespace.h"
#include "namespace.h"
#include "network.h"
#include "network.h"
#include "parse.h"
#include "parse.h"
...
@@ -111,14 +112,6 @@
...
@@ -111,14 +112,6 @@
#include "terminal.h"
#include "terminal.h"
#include "utils.h"
#include "utils.h"
#ifndef MS_PRIVATE
#define MS_PRIVATE (1<<18)
#endif
#ifndef MS_LAZYTIME
#define MS_LAZYTIME (1<<25)
#endif
lxc_log_define
(
conf
,
lxc
);
lxc_log_define
(
conf
,
lxc
);
/* The lxc_conf of the container currently being worked on in an API call.
/* The lxc_conf of the container currently being worked on in an API call.
...
...
src/lxc/macro.h
View file @
d3aba1db
...
@@ -303,14 +303,22 @@ extern int __build_bug_on_failed;
...
@@ -303,14 +303,22 @@ extern int __build_bug_on_failed;
#define LXC_AUDS_ADDR_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
#define LXC_AUDS_ADDR_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
/* mount */
/* mount */
#ifndef MS_
REC
#ifndef MS_
PRIVATE
#define MS_
REC 16384
#define MS_
PRIVATE (1<<18)
#endif
#endif
#ifndef MS_SLAVE
#ifndef MS_SLAVE
#define MS_SLAVE (1 << 19)
#define MS_SLAVE (1 << 19)
#endif
#endif
#ifndef MS_LAZYTIME
#define MS_LAZYTIME (1<<25)
#endif
#ifndef MS_REC
#define MS_REC 16384
#endif
/* open */
/* open */
#ifndef O_PATH
#ifndef O_PATH
#define O_PATH 010000000
#define O_PATH 010000000
...
...
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