Home
last modified time | relevance | path

Searched refs:isolation (Results 1 – 19 of 19) sorted by relevance

/unit/test/
H A Dtest_python_isolation.py28 isolation = {'rootfs': temp_dir}
31 isolation['namespaces'] = {
37 self.load('ns_inspect', isolation=isolation)
65 isolation = {'rootfs': temp_dir, 'automount': {'language_deps': False}}
67 self.load('empty', isolation=isolation)
73 isolation['automount']['language_deps'] = True
75 self.load('empty', isolation=isolation)
89 isolation = {'rootfs': temp_dir, 'automount': {'procfs': False}}
91 self.load('ns_inspect', isolation=isolation)
97 isolation['automount']['procfs'] = True
[all …]
H A Dtest_go_isolation.py92 isolation={
152 isolation={
168 isolation={
228 self.load('ns_inspect', isolation=isolation)
282 isolation['namespaces'] = {
288 self.load('ns_inspect', isolation=isolation)
304 isolation = {
309 self.load('ns_inspect', isolation=isolation)
340 isolation['namespaces'] = {
348 self.load('ns_inspect', isolation=isolation)
[all …]
H A Dtest_php_isolation.py25 isolation = {'rootfs': temp_dir}
28 isolation['namespaces'] = {
34 self.load('phpinfo', isolation=isolation)
61 isolation = {'rootfs': temp_dir}
64 isolation['namespaces'] = {
70 self.load('list-extensions', isolation=isolation)
H A Dtest_ruby_isolation.py25 isolation = {'rootfs': option.temp_dir}
28 isolation['namespaces'] = {
34 self.load('status_int', isolation=isolation)
H A Dtest_python_isolation_chroot.py12 isolation = {
16 self.load('ns_inspect', isolation=isolation)
H A Dtest_go_isolation_rootfs.py21 isolation = {
25 self.load('ns_inspect', isolation=isolation)
H A Dtest_java_isolation_rootfs.py57 isolation = {
61 self.load('empty_war', isolation=isolation)
H A Dconftest.py19 from unit.check.isolation import check_isolation
/unit/src/
H A Dnxt_isolation.c77 if (app_conf->isolation != NULL) { in nxt_isolation_main_prefork()
121 if (process->isolation.rootfs != NULL) { in nxt_isolation_main_prefork()
238 clone = &process->isolation.clone; in nxt_isolation_set_creds()
326 clone = &process->isolation.clone; in nxt_isolation_vldt_creds()
490 automount = &process->isolation.automount; in nxt_isolation_set_automount()
577 rootfs = process->isolation.rootfs; in nxt_isolation_set_lang_mounts()
593 if (process->isolation.automount.tmpfs) { in nxt_isolation_set_lang_mounts()
619 if (process->isolation.automount.procfs) { in nxt_isolation_set_lang_mounts()
646 process->isolation.mounts = mounts; in nxt_isolation_set_lang_mounts()
682 mounts = process->isolation.mounts; in nxt_isolation_unmount_all()
[all …]
H A Dnxt_application.h100 nxt_conf_value_t *isolation; member
H A Dnxt_process.c22 nxt_is_clone_flag_set(process->isolation.clone.flags, NEWPID)
310 pid = nxt_clone(SIGCHLD | process->isolation.clone.flags); in nxt_process_create()
750 && nxt_is_clone_flag_set(process->isolation.clone.flags, NEWUSER)) in nxt_process_apply_creds()
769 if (nxt_slow_path(process->isolation.new_privs == 0 in nxt_process_apply_creds()
H A Dnxt_process.h124 nxt_process_isolation_t isolation; member
H A Dnxt_main_process.c136 offsetof(nxt_common_app_conf_t, isolation),
572 if (nxt_is_clone_flag_set(process->isolation.clone.flags, NEWUSER)) { in nxt_main_process_created_handler()
575 &process->isolation.clone) in nxt_main_process_created_handler()
1019 if (process->isolation.cleanup != NULL) { in nxt_main_process_cleanup()
1020 process->isolation.cleanup(task, process); in nxt_main_process_cleanup()
H A Dnxt_java.c85 rootfs = (char *) process->isolation.rootfs; in nxt_java_setup()
112 p = nxt_cpymem(path, process->isolation.rootfs, rootfs_len); in nxt_java_setup()
H A Dnxt_application.c544 if (process->isolation.rootfs != NULL) { in nxt_proto_setup()
545 if (process->isolation.mounts != NULL) { in nxt_proto_setup()
/unit/auto/
H A Dsummary31 process isolation: ......... $NXT_ISOLATION
H A Disolation31 # Test all isolation flags
/unit/
H A Dconfigure137 . auto/isolation
H A DCHANGES223 isolation was used; the bug had appeared in 1.21.0.
235 isolation is used.
263 *) Feature: the "procfs" and "tmpfs" automount isolation options to
270 "rootfs" isolation.
275 applications that use "rootfs" isolation.
306 *) Feature: the "automount" option in the "isolation" object allows to
365 *) Feature: the "rootfs" isolation option for changing root filesystem
473 *) Bugfix: explicit setting a namespaces isolation option to false might
495 *) Feature: isolation of application processes with Linux namespaces.