diff --git a/sandboxed_api/sandbox2/namespace.cc b/sandboxed_api/sandbox2/namespace.cc index d0664ce..99916b0 100644 --- a/sandboxed_api/sandbox2/namespace.cc +++ b/sandboxed_api/sandbox2/namespace.cc @@ -73,10 +73,6 @@ void PrepareChroot(const Mounts& mounts) { // Walk the tree and perform all the mount operations. mounts.CreateMounts(kSandbox2ChrootPath); - - SAPI_RAW_PCHECK( - mount("/", "/", "", MS_BIND | MS_REMOUNT | MS_RDONLY, nullptr) != -1, - "Remounting / RO failed"); } void TryDenySetgroups() {