From 2eff47009102d53844906aa90fb2b8eddae78c1b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 14 Mar 2025 02:12:35 +0900 Subject: sandbox/mount: pass custom tmpfs name The tmpfs driver allows arbitrary fsname. Signed-off-by: Ophestra --- internal/sandbox/sequential.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/sandbox/sequential.go') diff --git a/internal/sandbox/sequential.go b/internal/sandbox/sequential.go index 75d62685..719af5f1 100644 --- a/internal/sandbox/sequential.go +++ b/internal/sandbox/sequential.go @@ -87,7 +87,7 @@ func (t *MountTmpfs) apply(*InitParams) error { return fmsg.WrapError(syscall.EBADE, fmt.Sprintf("size %d out of bounds", t.Size)) } - return mountTmpfs(t.Path, t.Size, t.Perm) + return mountTmpfs("tmpfs", t.Path, t.Size, t.Perm) } func (t *MountTmpfs) Is(op Op) bool { vt, ok := op.(*MountTmpfs); return ok && *t == *vt } -- cgit v1.3.1