SandboxSelector#
Added in version 2.0.
- class SandboxSelector#
Sandbox mechanisms
- ::: warning
Using
GLY_SANDBOX_SELECTOR_NOT_SANDBOXEDwill disable an important security layer that sandboxes loaders. It is only intended for testing and development purposes.
Fields#
- class SandboxSelector
- AUTO#
This mode selects
bwrapoutside of Flatpaks and usuallyflatpak-spawninside of Flatpaks. The sandbox is disabled automatically inside of Flatpak development environments. Inside of Flatpaks,flatpak-spawnis used to create the sandbox. This mechanism starts an installed Flatpak with the same app id. For development, Flatpak are usually not installed and the sandbox can therefore not be used. If the sandbox has been started viaflatpak-builder --run(i.e. without installed Flatpak) and the app id ends withDevel, the sandbox is disabled.
- BWRAP#
Bwrap
- FLATPAK_SPAWN#
Flatpak-spawn
- NOT_SANDBOXED#
Disable sandbox. Unsafe, only use for testing and development.