From 38e417120d9045534e77bfa20a27c293b718ffd8 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 2 Jul 2018 05:26:22 +0200 Subject: pkgs/sandbox: Expose get_mount_target() I'm going to use the sandboxing implementation as the basis for something else where I'm going to do additional mounts on top of the existing ones. This is just to make it easier to find the mount target. Signed-off-by: aszlig --- pkgs/build-support/build-sandbox/src/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/build-support/build-sandbox/src/setup.c') diff --git a/pkgs/build-support/build-sandbox/src/setup.c b/pkgs/build-support/build-sandbox/src/setup.c index 18b288d9..e4304b1f 100644 --- a/pkgs/build-support/build-sandbox/src/setup.c +++ b/pkgs/build-support/build-sandbox/src/setup.c @@ -120,7 +120,7 @@ static bool makedirs(const char *path, bool do_cache) return true; } -static char *get_mount_target(const char *path) +char *get_mount_target(const char *path) { size_t pathlen = strlen(path), rootdir_len = strlen(FS_ROOT_DIR); char *target; -- cgit 1.4.1