Lines Matching refs:bprm
39 static int load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs);
65 static void create_som_tables(struct linux_binprm *bprm) in create_som_tables() argument
68 int argc = bprm->argc; in create_som_tables()
69 int envc = bprm->envc; in create_som_tables()
74 sp = (unsigned long *)((bprm->p + 3) & ~3); in create_som_tables()
86 bprm->p = (unsigned long) sp; in create_som_tables()
186 do_load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs) in do_load_som_binary() argument
196 som_ex = (struct som_hdr *) bprm->buf; in do_load_som_binary()
212 retval = kernel_read(bprm->file, som_ex->aux_header_location, in do_load_som_binary()
220 get_file(bprm->file); in do_load_som_binary()
221 fd_install(som_exec_fileno = retval, bprm->file); in do_load_som_binary()
224 retval = flush_old_exec(bprm); in do_load_som_binary()
244 retval = map_som_binary(bprm->file, hpuxhdr); in do_load_som_binary()
252 compute_creds(bprm); in do_load_som_binary()
253 setup_arg_pages(bprm); in do_load_som_binary()
255 create_som_tables(bprm); in do_load_som_binary()
257 current->mm->start_stack = bprm->p; in do_load_som_binary()
271 start_thread_som(regs, som_entry, bprm->p); in do_load_som_binary()
284 load_som_binary(struct linux_binprm * bprm, struct pt_regs * regs) in load_som_binary() argument
289 retval = do_load_som_binary(bprm, regs); in load_som_binary()