Lines Matching refs:bprm
26 static int load_em86(struct linux_binprm *bprm) in load_em86() argument
35 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
43 !bprm->file->f_op->mmap) { in load_em86()
48 if (bprm->interp_flags & BINPRM_FLAGS_PATH_INACCESSIBLE) in load_em86()
51 allow_write_access(bprm->file); in load_em86()
52 fput(bprm->file); in load_em86()
53 bprm->file = NULL; in load_em86()
70 remove_arg_zero(bprm); in load_em86()
71 retval = copy_strings_kernel(1, &bprm->filename, bprm); in load_em86()
73 bprm->argc++; in load_em86()
75 retval = copy_strings_kernel(1, &i_arg, bprm); in load_em86()
77 bprm->argc++; in load_em86()
79 retval = copy_strings_kernel(1, &i_name, bprm); in load_em86()
81 bprm->argc++; in load_em86()
92 bprm->file = file; in load_em86()
94 retval = prepare_binprm(bprm); in load_em86()
98 return search_binary_handler(bprm); in load_em86()