Home
last modified time | relevance | path

Searched refs:jail (Results 1 – 20 of 20) sorted by relevance

/external/libbrillo/brillo/minijail/
Dminijail.cc28 void Minijail::Destroy(struct minijail* jail) { in Destroy() argument
29 minijail_destroy(jail); in Destroy()
32 void Minijail::DropRoot(struct minijail* jail, uid_t uid, gid_t gid) { in DropRoot() argument
33 minijail_change_uid(jail, uid); in DropRoot()
34 minijail_change_gid(jail, gid); in DropRoot()
37 bool Minijail::DropRoot(struct minijail* jail, in DropRoot() argument
42 return !minijail_change_user(jail, user) && in DropRoot()
43 !minijail_change_group(jail, group); in DropRoot()
46 void Minijail::EnterNewPidNamespace(struct minijail* jail) { in EnterNewPidNamespace() argument
47 minijail_namespace_pids(jail); in EnterNewPidNamespace()
[all …]
Dminijail.h32 virtual void Destroy(struct minijail* jail);
35 virtual void DropRoot(struct minijail* jail, uid_t uid, gid_t gid);
38 virtual bool DropRoot(struct minijail* jail,
43 virtual void EnterNewPidNamespace(struct minijail* jail);
46 virtual void MountTmp(struct minijail* jail);
50 virtual void UseSeccompFilter(struct minijail* jail, const char* path);
53 virtual void UseCapabilities(struct minijail* jail, uint64_t capmask);
56 virtual void ResetSignalMask(struct minijail* jail);
59 virtual void Enter(struct minijail* jail);
62 virtual bool Run(struct minijail* jail, std::vector<char*> args, pid_t* pid);
[all …]
Dmock_minijail.h26 bool(struct minijail* jail,
29 MOCK_METHOD2(UseSeccompFilter, void(struct minijail* jail, const char* path));
30 MOCK_METHOD2(UseCapabilities, void(struct minijail* jail, uint64_t capmask));
31 MOCK_METHOD1(ResetSignalMask, void(struct minijail* jail));
32 MOCK_METHOD1(Enter, void(struct minijail* jail));
34 bool(struct minijail* jail,
38 bool(struct minijail* jail,
42 bool(struct minijail* jail,
46 bool(struct minijail* jail,
50 bool(struct minijail* jail,
[all …]
/external/crosvm/io_jail/src/
Dlib.rs195 jail: *mut libminijail::minijail, field
209 Ok(Minijail { jail: j }) in new()
218 libminijail::minijail_change_uid(self.jail, uid); in change_uid()
223 libminijail::minijail_change_gid(self.jail, gid); in change_gid()
228 libminijail::minijail_set_supplementary_gids(self.jail, ids.len(), ids.as_ptr()); in set_supplementary_gids()
233 libminijail::minijail_keep_supplementary_gids(self.jail); in keep_supplementary_gids()
238 libminijail::minijail_use_seccomp(self.jail); in use_seccomp()
243 libminijail::minijail_no_new_privs(self.jail); in no_new_privs()
248 libminijail::minijail_use_seccomp_filter(self.jail); in use_seccomp_filter()
253 libminijail::minijail_set_seccomp_filter_tsync(self.jail); in set_seccomp_filter_tsync()
[all …]
/external/crosvm/src/
Dlinux.rs362 jail: simple_jail(&cfg, "block_device.policy")?, in create_block_device()
371 jail: simple_jail(&cfg, "rng_device.policy")?, in create_rng_device()
386 Some(jail) => { in create_tpm_device()
389 jail.mount_with_data( in create_tpm_device()
397 let crosvm_ids = add_crosvm_user_to_jail(jail, "tpm")?; in create_tpm_device()
408 jail.mount_bind(&tpm_storage, &tpm_storage, true)?; in create_tpm_device()
420 jail: tpm_jail, 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()
[all …]
/external/crosvm/arch/src/
Dlib.rs63 pub jail: Option<Minijail>, field
164 for (dev_idx, (mut device, jail)) in devices.into_iter().enumerate() { in generate_pci_root()
205 let arced_dev: Arc<Mutex<dyn BusDevice>> = if let Some(jail) = jail { in generate_pci_root()
206 let proxy = ProxyDevice::new(device, &jail, keep_fds) in generate_pci_root()
/external/crosvm/src/plugin/
Dmod.rs523 let jail = if cfg.sandbox { in run_config() localVariable
543 let mut jail = create_plugin_jail(root_path, &policy_path)?; in run_config() localVariable
553 jail.gidmap(&map).map_err(Error::SetGidMap)?; in run_config()
561 jail.mount_bind(&device, &device, true) in run_config()
566 jail.mount_bind(&bind_mount.src, &bind_mount.dst, bind_mount.writable) in run_config()
570 Some(jail) in run_config()
612 let mut plugin = Process::new(vcpu_count, plugin_path, &plugin_args, jail)?; in run_config()
Dprocess.rs145 jail: Option<Minijail>, in new()
164 let plugin_pid = match jail { in new()
165 Some(jail) => { in new()
167 jail.run(cmd, &[0, 1, 2, child_socket.as_raw_fd()], args) in new()
/external/crosvm/devices/src/
Dproxy.rs139 jail: &Minijail, in new()
148 match jail.fork(Some(&keep_fds)).map_err(Error::ForkingJail)? { in new()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs38 pub struct jail {
1230 pub fn jail(jail: *mut ::jail) -> ::c_int; in jail() function
/external/rust/crates/remain/
DREADME.md62 DeviceJail(e) => write!(f, "failed to jail device: {}", e),
/external/cldr/common/testData/transforms/
Dund-Latn-t-und-deva.txt266 जैलेण jailēṇa
267 जैलेश jailēśa
Dund-Latn-t-und-telu.txt428 జైలేణ jailēṇa
Dund-Latn-t-und-taml.txt457 ஜைலேஷ jailēṣa
/external/openssh/
Dsshd_config.0232 (especially those outside the jail). Misconfiguration can lead
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt10878 關押 < put\-in\-jail;
11959 入獄 < go\-to\-jail;
21028 班房 < jail;
29106 關押 > put\-in\-jail;
29614 入獄 > go\-to\-jail;
35661 班房 > jail;
/external/jline/src/src/test/resources/jline/example/
Denglish.gz1Aarhus 2Aaron 3Ababa 4aback 5abaft 6abandon 7abandoned 8abandoning 9abandonment 10 ...
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt102445 jail %34535 ʤel
102446 jail's ʤelz
Dinternal_raw_IPA.txt86416 jail %42139 dʒel
86417 jail's %31959 dʒelz