mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Honor readonly flag for root mount
Updates #1487 PiperOrigin-RevId: 330580699
This commit is contained in:
committed by
gVisor bot
parent
284e6811e4
commit
c8f1ce288d
@@ -342,7 +342,7 @@ func setup(t *testing.T) *testutil.System {
|
||||
AllowUserMount: true,
|
||||
})
|
||||
|
||||
mntns, err := k.VFS().NewMountNamespace(ctx, creds, "", "tmpfs", &vfs.GetFilesystemOptions{})
|
||||
mntns, err := k.VFS().NewMountNamespace(ctx, creds, "", "tmpfs", &vfs.MountOptions{})
|
||||
if err != nil {
|
||||
t.Fatalf("NewMountNamespace(): %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user