Module jail_warden

Source
Expand description

Manages minijails creation after VM starts. Minijail is created during a device hotplug.

Structs§

JailWardenImpl
Implementation of JailWarden
PermissiveJailWarden
PermissiveJailWarden act as a JailWarden, but does not jail the device.

Enums§

JailCommand
Control commands to jail warden process.
JailResponse
Response to control commands.

Traits§

JailWarden
JailWarden takes ResourceCarrier, jail it, and returns a proxy to the created device.

Functions§

jail_worker_process 🔒
The worker thread of the warden process for creating jails and locking devices inside.