projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a8a178
)
mnt: function rename
author
Robert Swiecki
<robert@swiecki.net>
Sat, 28 Jul 2018 22:30:08 +0000
(
00:30
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Sat, 28 Jul 2018 22:30:08 +0000
(
00:30
+0200)
mnt.cc
patch
|
blob
|
history
diff --git
a/mnt.cc
b/mnt.cc
index 8851d4954eef1cce69a0e0a309a7c4e22f4bbb1a..4c8844a6a1863dafe5556a88121bbc2bb3811cb2 100644
(file)
--- a/
mnt.cc
+++ b/
mnt.cc
@@
-220,7
+220,7
@@
static bool mountPt(mount_t* mpt, const char* newroot, const char* tmpdir) {
return true;
}
-static bool remount(const mount_t& mpt) {
+static bool remount
Pt
(const mount_t& mpt) {
if (!mpt.mounted) {
return true;
}
@@
-417,7
+417,7
@@
static bool initNsInternal(nsjconf_t* nsjconf) {
}
for (const auto& p : nsjconf->mountpts) {
- if (!remount(p) && p.is_mandatory) {
+ if (!remount
Pt
(p) && p.is_mandatory) {
return false;
}
}