Lines Matching refs:ret

69     nxt_int_t              ret;  in nxt_isolation_main_prefork()  local
78 ret = nxt_isolation_set(task, app_conf->isolation, process); in nxt_isolation_main_prefork()
79 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
80 return ret; in nxt_isolation_main_prefork()
91 ret = nxt_process_creds_set(task, process, &app_conf->user, in nxt_isolation_main_prefork()
94 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
95 return ret; in nxt_isolation_main_prefork()
124 ret = nxt_isolation_set_mounts(task, process, &app_conf->type); in nxt_isolation_main_prefork()
125 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
126 return ret; in nxt_isolation_main_prefork()
144 ret = nxt_isolation_vldt_creds(task, process); in nxt_isolation_main_prefork()
145 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
146 return ret; in nxt_isolation_main_prefork()
206 nxt_int_t ret; in nxt_isolation_set_namespaces() local
213 ret = nxt_isolation_clone_flags(task, obj, &process->isolation.clone); in nxt_isolation_set_namespaces()
214 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_set_namespaces()
231 nxt_int_t ret; in nxt_isolation_set_creds() local
242 ret = nxt_isolation_credential_map(task, process->mem_pool, array, in nxt_isolation_set_creds()
245 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_set_creds()
252 ret = nxt_isolation_credential_map(task, process->mem_pool, array, in nxt_isolation_set_creds()
255 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_set_creds()
268 nxt_int_t ret; in nxt_isolation_credential_map() local
306 ret = nxt_conf_map_object(mp, obj, nxt_clone_map_entry_conf, in nxt_isolation_credential_map()
309 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_credential_map()
322 nxt_int_t ret; in nxt_isolation_vldt_creds() local
351 ret = nxt_clone_vldt_credential_uidmap(task, &clone->uidmap, creds); in nxt_isolation_vldt_creds()
352 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_vldt_creds()
522 nxt_int_t ret, cap_chroot; in nxt_isolation_set_mounts() local
543 ret = nxt_isolation_set_lang_mounts(task, process, lang->mounts); in nxt_isolation_set_mounts()
544 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_set_mounts()
702 nxt_int_t ret; in nxt_isolation_prepare_rootfs() local
729 ret = nxt_fs_mkdir_all(dst, S_IRWXU | S_IRWXG | S_IRWXO); in nxt_isolation_prepare_rootfs()
730 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_prepare_rootfs()
735 ret = nxt_fs_mount(task, &mnt[i]); in nxt_isolation_prepare_rootfs()
736 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_prepare_rootfs()
761 nxt_int_t ret; in nxt_isolation_change_root() local
768 ret = nxt_isolation_pivot_root(task, rootfs); in nxt_isolation_change_root()
771 ret = nxt_isolation_chroot(task, rootfs); in nxt_isolation_change_root()
774 if (nxt_fast_path(ret == NXT_OK)) { in nxt_isolation_change_root()
781 return ret; in nxt_isolation_change_root()
849 nxt_int_t ret, index, nmounts; in nxt_isolation_make_private_mount() local
854 ret = NXT_ERROR; in nxt_isolation_make_private_mount()
975 ret = NXT_OK; in nxt_isolation_make_private_mount()
999 return ret; in nxt_isolation_make_private_mount()