Skip to content

runsc: support for mount uid/gid mappings#13237

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919268146
Open

runsc: support for mount uid/gid mappings#13237
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl919268146

Conversation

@copybara-service
Copy link
Copy Markdown

runsc: support for mount uid/gid mappings

Adds to the gofer-to-host RPC a mechanism for the gofer to request an id-mapped
mount, which is created using open_tree() and mount_setattr(). The gofer then
calls move_mount() to place the mount in the sandbox's directory hierarchy,
and calls mount_setattr() once again to configure the mount.

ID-mapped mounts are only valid if at least one UID and GID mapping is
specified.

@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 21, 2026
Adds to the gofer-to-host RPC a mechanism for the gofer to request an id-mapped
mount, which is created using open_tree() and mount_setattr(). The gofer then
calls move_mount() to place the mount in the sandbox's directory hierarchy,
and calls mount_setattr() once again to configure the mount.

ID-mapped mounts are only valid if at least one UID *and* GID mapping is
specified.

PiperOrigin-RevId: 919268146
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant