Lines Matching defs:j
146 void minijail_preenter(struct minijail *j) in minijail_preenter()
161 void minijail_preexec(struct minijail *j) in minijail_preexec()
215 void API minijail_change_uid(struct minijail *j, uid_t uid) in minijail_change_uid()
223 void API minijail_change_gid(struct minijail *j, gid_t gid) in minijail_change_gid()
231 void API minijail_set_supplementary_gids(struct minijail *j, size_t size, in minijail_set_supplementary_gids()
259 int API minijail_change_user(struct minijail *j, const char *user) in minijail_change_user()
293 int API minijail_change_group(struct minijail *j, const char *group) in minijail_change_group()
323 void API minijail_use_seccomp(struct minijail *j) in minijail_use_seccomp()
328 void API minijail_no_new_privs(struct minijail *j) in minijail_no_new_privs()
333 void API minijail_use_seccomp_filter(struct minijail *j) in minijail_use_seccomp_filter()
338 void API minijail_log_seccomp_filter_failures(struct minijail *j) in minijail_log_seccomp_filter_failures()
343 void API minijail_use_caps(struct minijail *j, uint64_t capmask) in minijail_use_caps()
349 void API minijail_reset_signal_mask(struct minijail* j) { in minijail_reset_signal_mask()
353 void API minijail_namespace_vfs(struct minijail *j) in minijail_namespace_vfs()
358 void API minijail_namespace_enter_vfs(struct minijail *j, const char *ns_path) in minijail_namespace_enter_vfs()
368 void API minijail_namespace_pids(struct minijail *j) in minijail_namespace_pids()
376 void API minijail_namespace_ipc(struct minijail *j) in minijail_namespace_ipc()
381 void API minijail_namespace_net(struct minijail *j) in minijail_namespace_net()
386 void API minijail_namespace_enter_net(struct minijail *j, const char *ns_path) in minijail_namespace_enter_net()
396 void API minijail_remount_proc_readonly(struct minijail *j) in minijail_remount_proc_readonly()
402 void API minijail_namespace_user(struct minijail *j) in minijail_namespace_user()
407 int API minijail_uidmap(struct minijail *j, const char *uidmap) in minijail_uidmap()
420 int API minijail_gidmap(struct minijail *j, const char *gidmap) in minijail_gidmap()
433 void API minijail_inherit_usergroups(struct minijail *j) in minijail_inherit_usergroups()
438 void API minijail_run_as_init(struct minijail *j) in minijail_run_as_init()
447 int API minijail_enter_chroot(struct minijail *j, const char *dir) in minijail_enter_chroot()
458 int API minijail_enter_pivot_root(struct minijail *j, const char *dir) in minijail_enter_pivot_root()
483 char API *minijail_get_original_path(struct minijail *j, in minijail_get_original_path()
525 void API minijail_mount_tmp(struct minijail *j) in minijail_mount_tmp()
530 int API minijail_write_pid_file(struct minijail *j, const char *path) in minijail_write_pid_file()
539 int API minijail_add_to_cgroup(struct minijail *j, const char *path) in minijail_add_to_cgroup()
551 int API minijail_mount(struct minijail *j, const char *src, const char *dest, in minijail_mount()
596 int API minijail_bind(struct minijail *j, const char *src, const char *dest, in minijail_bind()
607 void API minijail_parse_seccomp_filters(struct minijail *j, const char *path) in minijail_parse_seccomp_filters()
637 int API minijail_use_alt_syscall(struct minijail *j, const char *table) in minijail_use_alt_syscall()
676 const struct minijail *j) in minijail_marshal_helper()
709 size_t API minijail_size(const struct minijail *j) in minijail_size()
717 int minijail_marshal(const struct minijail *j, char *buf, size_t available) in minijail_marshal()
759 int minijail_unmarshal(struct minijail *j, char *serialized, size_t length) in minijail_unmarshal()
920 static void write_ugid_mappings(const struct minijail *j) in write_ugid_mappings()
975 static void enter_user_namespace(const struct minijail *j) in enter_user_namespace()
990 static int mount_one(const struct minijail *j, struct mountpoint *m) in mount_one()
1028 int enter_chroot(const struct minijail *j) in enter_chroot()
1044 int enter_pivot_root(const struct minijail *j) in enter_pivot_root()
1099 int remount_proc_readonly(const struct minijail *j) in remount_proc_readonly()
1130 static void write_pid_file(const struct minijail *j) in write_pid_file()
1135 static void add_to_cgroups(const struct minijail *j) in add_to_cgroups()
1143 void drop_ugid(const struct minijail *j) in drop_ugid()
1204 void drop_caps(const struct minijail *j, unsigned int last_valid_cap) in drop_caps()
1263 void set_seccomp_filter(const struct minijail *j) in set_seccomp_filter()
1314 void API minijail_enter(const struct minijail *j) in minijail_enter()
1464 int API minijail_from_fd(int fd, struct minijail *j) in minijail_from_fd()
1487 int API minijail_to_fd(struct minijail *j, int fd) in minijail_to_fd()
1576 int API minijail_run(struct minijail *j, const char *filename, in minijail_run()
1583 int API minijail_run_pid(struct minijail *j, const char *filename, in minijail_run_pid()
1590 int API minijail_run_pipe(struct minijail *j, const char *filename, in minijail_run_pipe()
1597 int API minijail_run_pid_pipes(struct minijail *j, const char *filename, in minijail_run_pid_pipes()
1605 int API minijail_run_no_preload(struct minijail *j, const char *filename, in minijail_run_no_preload()
1612 int API minijail_run_pid_pipes_no_preload(struct minijail *j, in minijail_run_pid_pipes_no_preload()
1622 int minijail_run_internal(struct minijail *j, const char *filename, in minijail_run_internal()
1930 int API minijail_kill(struct minijail *j) in minijail_kill()
1940 int API minijail_wait(struct minijail *j) in minijail_wait()
1976 void API minijail_destroy(struct minijail *j) in minijail_destroy()