• Home
  • Raw
  • Download

Lines Matching refs:simple_jail

302 fn simple_jail(cfg: &Config, policy: &str) -> Result<Option<Minijail>> {  in simple_jail()  function
362 jail: simple_jail(&cfg, "block_device.policy")?, in create_block_device()
371 jail: simple_jail(&cfg, "rng_device.policy")?, in create_rng_device()
383 let mut tpm_jail = simple_jail(&cfg, "tpm_device.policy")?; in create_tpm_device()
434 jail: simple_jail(&cfg, "input_device.policy")?, in create_single_touch_device()
449 jail: simple_jail(&cfg, "input_device.policy")?, in create_trackpad_device()
463 jail: simple_jail(&cfg, "input_device.policy")?, in create_mouse_device()
477 jail: simple_jail(&cfg, "input_device.policy")?, in create_keyboard_device()
492 jail: simple_jail(&cfg, "input_device.policy")?, in create_vinput_device()
501 jail: simple_jail(&cfg, "balloon_device.policy")?, in create_balloon_device()
516 jail: simple_jail(&cfg, "net_device.policy")?, in create_tap_net_device()
546 jail: simple_jail(&cfg, policy)?, in create_net_device()
571 let jail = match simple_jail(&cfg, "gpu_device.policy")? { in create_gpu_device()
636 let jail = match simple_jail(&cfg, "wl_device.policy")? { in create_wayland_device()
672 jail: simple_jail(&cfg, "vhost_vsock_device.policy")?, in create_vhost_vsock_device()
677 let (jail, root) = match simple_jail(&cfg, "9p_device.policy")? { in create_9p_device()
768 jail: simple_jail(&cfg, "block_device.policy")?, in create_pmem_device()
923 simple_jail(&cfg, "cras_audio_device.policy")?, in create_devices()
933 simple_jail(&cfg, "null_audio_device.policy")?, in create_devices()
938 pci_devices.push((usb_controller, simple_jail(&cfg, "xhci.policy")?)); in create_devices()