Lines Matching refs:bprm
614 struct linux_binprm *bprm = ee->bprm; in tomoyo_environ() local
619 unsigned long pos = bprm->p; in tomoyo_environ()
621 int argv_count = bprm->argc; in tomoyo_environ()
622 int envp_count = bprm->envc; in tomoyo_environ()
635 if (!tomoyo_dump_page(bprm, pos, &env_page)) in tomoyo_environ()
699 int tomoyo_find_next_domain(struct linux_binprm *bprm) in tomoyo_find_next_domain() argument
703 const char *original_name = bprm->filename; in tomoyo_find_next_domain()
720 ee->bprm = bprm; in tomoyo_find_next_domain()
722 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
893 bool tomoyo_dump_page(struct linux_binprm *bprm, unsigned long pos, in tomoyo_dump_page() argument
912 if (get_user_pages_remote(current, bprm->mm, pos, 1, in tomoyo_dump_page()
916 page = bprm->page[pos / PAGE_SIZE]; in tomoyo_dump_page()