Skip to content

Add /proc/gvisor/kernel_is_gvisor marker file used to detect gVisor. #11643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2025

Conversation

copybara-service[bot]
Copy link

Add /proc/gvisor/kernel_is_gvisor marker file used to detect gVisor.

This change adds a configuration option to gVisor that, when enabled,
creates a file at /proc/gvisor/kernel_is_gvisor that can be used by
applications to detect whether they are running inside a gVisor sandbox.

Useful for testing and introspection.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Apr 16, 2025
This change adds a configuration option to gVisor that, when enabled,
creates a file at `/proc/gvisor/kernel_is_gvisor` that can be used by
applications to detect whether they are running inside a gVisor sandbox.

Useful for testing and introspection.

PiperOrigin-RevId: 749217117
@copybara-service copybara-service bot merged commit f45c79e into master Apr 19, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl748080480 branch April 19, 2025 02:17
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