Lines Matching refs:bprm
616 struct linux_binprm *bprm = ee->bprm; in tomoyo_environ() local
621 unsigned long pos = bprm->p; in tomoyo_environ()
623 int argv_count = bprm->argc; in tomoyo_environ()
624 int envp_count = bprm->envc; in tomoyo_environ()
637 if (!tomoyo_dump_page(bprm, pos, &env_page)) in tomoyo_environ()
701 int tomoyo_find_next_domain(struct linux_binprm *bprm) in tomoyo_find_next_domain() argument
705 const char *original_name = bprm->filename; in tomoyo_find_next_domain()
722 ee->bprm = bprm; in tomoyo_find_next_domain()
724 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
729 exename.name = tomoyo_realpath_from_path(&bprm->file->f_path); in tomoyo_find_next_domain()
898 bool tomoyo_dump_page(struct linux_binprm *bprm, unsigned long pos, in tomoyo_dump_page() argument
919 mmap_read_lock(bprm->mm); in tomoyo_dump_page()
920 ret = get_user_pages_remote(bprm->mm, pos, 1, in tomoyo_dump_page()
922 mmap_read_unlock(bprm->mm); in tomoyo_dump_page()
926 page = bprm->page[pos / PAGE_SIZE]; in tomoyo_dump_page()