Searched refs:jail (Results 1 – 3 of 3) sorted by relevance
31 struct minijail* jail = minijail_new(); in MiniJail() local32 if (jail == NULL) { in MiniJail()37 minijail_no_new_privs(jail); in MiniJail()38 minijail_log_seccomp_filter_failures(jail); in MiniJail()39 minijail_use_seccomp_filter(jail); in MiniJail()40 minijail_parse_seccomp_filters(jail, kSeccompFilePath); in MiniJail()41 minijail_enter(jail); in MiniJail()42 minijail_destroy(jail); in MiniJail()
31 struct minijail* jail = minijail_new(); in SetupMinijail() local32 if (jail == nullptr) { in SetupMinijail()36 minijail_no_new_privs(jail); in SetupMinijail()37 minijail_log_seccomp_filter_failures(jail); in SetupMinijail()38 minijail_use_seccomp_filter(jail); in SetupMinijail()39 minijail_parse_seccomp_filters(jail, seccomp_policy_path.c_str()); in SetupMinijail()40 minijail_enter(jail); in SetupMinijail()41 minijail_destroy(jail); in SetupMinijail()
1193 ScopedMinijail jail{minijail_new()}; in seccomp_fork_impl() local1194 if (!jail) { in seccomp_fork_impl()1198 minijail_no_new_privs(jail.get()); in seccomp_fork_impl()1199 minijail_log_seccomp_filter_failures(jail.get()); in seccomp_fork_impl()1200 minijail_use_seccomp_filter(jail.get()); in seccomp_fork_impl()1201 minijail_parse_seccomp_filters_from_fd(jail.get(), tmp_fd.release()); in seccomp_fork_impl()1212 std::thread thread([&jail, &thread_ready]() { in seccomp_fork_impl()1213 minijail_enter(jail.get()); in seccomp_fork_impl()1228 minijail_enter(jail.get()); in seccomp_fork_impl()