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
052e7c70
Unverified
Commit
052e7c70
authored
May 02, 2017
by
Christian Brauner
Committed by
Stéphane Graber
May 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: add MS_LAZYTIME to mount options
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
a49066d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
conf.c
src/lxc/conf.c
+5
-0
No files found.
src/lxc/conf.c
View file @
052e7c70
...
@@ -170,6 +170,10 @@ static int sethostname(const char * name, size_t len)
...
@@ -170,6 +170,10 @@ static int sethostname(const char * name, size_t len)
#define MS_PRIVATE (1<<18)
#define MS_PRIVATE (1<<18)
#endif
#endif
#ifndef MS_LAZYTIME
#define MS_LAZYTIME (1<<25)
#endif
/* memfd_create() */
/* memfd_create() */
#ifndef MFD_CLOEXEC
#ifndef MFD_CLOEXEC
#define MFD_CLOEXEC 0x0001U
#define MFD_CLOEXEC 0x0001U
...
@@ -294,6 +298,7 @@ static struct mount_opt mount_opt[] = {
...
@@ -294,6 +298,7 @@ static struct mount_opt mount_opt[] = {
{
"diratime"
,
1
,
MS_NODIRATIME
},
{
"diratime"
,
1
,
MS_NODIRATIME
},
{
"dirsync"
,
0
,
MS_DIRSYNC
},
{
"dirsync"
,
0
,
MS_DIRSYNC
},
{
"exec"
,
1
,
MS_NOEXEC
},
{
"exec"
,
1
,
MS_NOEXEC
},
{
"lazytime"
,
0
,
MS_LAZYTIME
},
{
"mand"
,
0
,
MS_MANDLOCK
},
{
"mand"
,
0
,
MS_MANDLOCK
},
{
"noatime"
,
0
,
MS_NOATIME
},
{
"noatime"
,
0
,
MS_NOATIME
},
{
"nodev"
,
0
,
MS_NODEV
},
{
"nodev"
,
0
,
MS_NODEV
},
...
...
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