The current OCI mount with `options: ["rbind", "ro"]` is (surprisingly) not recursively read-only. `mount_setattr(2)` introduced in [kernel 5.12](https://github.com/torvalds/linux/commit/2a1867219c7b27f928e2545782b86daaf9ad50bd) can be used for creating recursively-readonly bind mounts: ```c struct mount_attr attr = { .attr_set = MOUNT_ATTR_RDONLY, }; rc = mount_setattr(-1, "/mnt/ro", AT_RECURSIVE, &attr, sizeof(attr)); ``` runc implementation will need runtime spec PR to be approved: https://github.com/opencontainers/runtime-spec/pull/1090