projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40828f
)
jail: don't attempt to mount /sys with noatime
author
Daniel Golle
<daniel@makrotopia.org>
Thu, 26 Nov 2020 04:49:35 +0000
(
04:49
+0000)
committer
Daniel Golle
<daniel@makrotopia.org>
Fri, 27 Nov 2020 01:06:09 +0000
(
01:06
+0000)
Because that won't work. Use relatime instead.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c
patch
|
blob
|
history
diff --git
a/jail/jail.c
b/jail/jail.c
index 5229c4feb448b73f613235b723ed2474b74e1a22..80da47fa41583081f39b47ed45d0db1220886f56 100644
(file)
--- a/
jail/jail.c
+++ b/
jail/jail.c
@@
-2755,7
+2755,7
@@
static void post_main(struct uloop_timeout *t)
}
if (opts.sysfs || opts.ocibundle)
- add_mount("sysfs", "/sys", "sysfs", MS_
NO
ATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_RDONLY, 0, NULL, -1);
+ add_mount("sysfs", "/sys", "sysfs", MS_
REL
ATIME | MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_RDONLY, 0, NULL, -1);
if (opts.ocibundle)
add_mount("shm", "/dev/shm", "tmpfs", MS_NOSUID | MS_NOEXEC | MS_NODEV, 0, "mode=1777", -1);