Lines Matching refs:bprm
25 static int load_em86(struct linux_binprm *bprm,struct pt_regs *regs)
33 elf_ex = *((struct elfhdr *)bprm->buf);
41 (!bprm->file->f_op || !bprm->file->f_op->mmap)) {
45 bprm->recursion_depth++; /* Well, the bang-shell is implicit... */
46 allow_write_access(bprm->file);
47 fput(bprm->file);
48 bprm->file = NULL;
65 remove_arg_zero(bprm);
66 retval = copy_strings_kernel(1, &bprm->filename, bprm);
68 bprm->argc++;
70 retval = copy_strings_kernel(1, &i_arg, bprm);
72 bprm->argc++;
74 retval = copy_strings_kernel(1, &i_name, bprm);
76 bprm->argc++;
87 bprm->file = file;
89 retval = prepare_binprm(bprm);
93 return search_binary_handler(bprm, regs);