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:
b5e37a6
)
config: support mounts - fix for list insertion order
author
Robert Swiecki
<robert@swiecki.net>
Fri, 26 May 2017 23:17:09 +0000
(
01:17
+0200)
committer
Robert Swiecki
<robert@swiecki.net>
Fri, 26 May 2017 23:17:09 +0000
(
01:17
+0200)
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 2ff1fae2b99238edcc43d3b785524292e0a14f0b..f7069fa842b79231a0b87fa05877a235d1d52ea9 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-196,7
+196,7
@@
static bool configParseInternal(struct nsjconf_t *nsjconf, Nsjail__NsJailConfig
p->isDir = true;
}
}
- TAILQ_INSERT_
HEAD
(&nsjconf->mountpts, p, pointers);
+ TAILQ_INSERT_
TAIL
(&nsjconf->mountpts, p, pointers);
}
return true;