summaryrefslogtreecommitdiff
path: root/bubblewrap.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-06-23 10:17:42 +0100
committerGitHub <noreply@github.com>2021-06-23 10:17:42 +0100
commit80dc9b5e86e4abc8b7ea78c703564259cde955ed (patch)
treedaaada3d844cff5ade11c7fe96a3c96e351634b7 /bubblewrap.c
parent79e9a0712c4e3418ba4993abcfdb86a68f9c4507 (diff)
parent04c0ca17ad945c50aaff61abad475bbd627e0584 (diff)
downloadbubblewrap-80dc9b5e86e4abc8b7ea78c703564259cde955ed.tar.gz
Merge pull request #403 from RyuzakiKK/case_insensitive_fs
Add support for bind-mount on case-insensitive filesystems
Diffstat (limited to 'bubblewrap.c')
-rw-r--r--bubblewrap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index 6b91f22..3bca513 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -866,14 +866,6 @@ get_newroot_path (const char *path)
return strconcat ("/newroot/", path);
}
-static char *
-get_oldroot_path (const char *path)
-{
- while (*path == '/')
- path++;
- return strconcat ("/oldroot/", path);
-}
-
static void
write_uid_gid_map (uid_t sandbox_uid,
uid_t parent_uid,