Lines Matching refs:bprm
38 static int load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs);
64 static void create_som_tables(struct linux_binprm *bprm)
67 int argc = bprm->argc;
68 int envc = bprm->envc;
73 sp = (unsigned long *)((bprm->p + 3) & ~3);
85 bprm->p = (unsigned long) sp;
185 load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs)
194 som_ex = (struct som_hdr *) bprm->buf;
210 retval = kernel_read(bprm->file, som_ex->aux_header_location,
219 retval = flush_old_exec(bprm);
226 setup_new_exec(bprm);
240 retval = map_som_binary(bprm->file, hpuxhdr);
248 install_exec_creds(bprm);
249 setup_arg_pages(bprm, STACK_TOP, EXSTACK_DEFAULT);
251 create_som_tables(bprm);
253 current->mm->start_stack = bprm->p;
258 start_thread_som(regs, som_entry, bprm->p);