Lines Matching refs:bprm
8 static int load_binary(struct linux_binprm *bprm, struct pt_regs *regs)
10 struct exec *eh = (struct exec *)bprm->buf;
18 if (bprm->loader)
21 allow_write_access(bprm->file);
22 fput(bprm->file);
23 bprm->file = NULL;
25 loader = bprm->vma->vm_end - sizeof(void *);
33 bprm->taso = eh->ah.entry < 0x100000000UL;
35 bprm->file = file;
36 bprm->loader = loader;
37 retval = prepare_binprm(bprm);
40 return search_binary_handler(bprm,regs);