Home
last modified time | relevance | path

Searched refs:bprm (Results 1 – 25 of 26) sorted by relevance

12

/arch/alpha/kernel/
Dbinfmt_loader.c9 static int load_binary(struct linux_binprm *bprm) in load_binary() argument
11 struct exec *eh = (struct exec *)bprm->buf; in load_binary()
19 if (bprm->loader) in load_binary()
22 allow_write_access(bprm->file); in load_binary()
23 fput(bprm->file); in load_binary()
24 bprm->file = NULL; in load_binary()
26 loader = bprm->vma->vm_end - sizeof(void *); in load_binary()
34 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
36 bprm->file = file; in load_binary()
37 bprm->loader = loader; in load_binary()
[all …]
/arch/x86/ia32/
Dia32_aout.c222 static u32 __user *create_aout_tables(char __user *p, struct linux_binprm *bprm) in create_aout_tables() argument
225 int argc = bprm->argc, envc = bprm->envc; in create_aout_tables()
263 static int load_aout_binary(struct linux_binprm *bprm) in load_aout_binary() argument
270 ex = *((struct exec *) bprm->buf); /* exec-header */ in load_aout_binary()
274 i_size_read(file_inode(bprm->file)) < in load_aout_binary()
292 retval = flush_old_exec(bprm); in load_aout_binary()
300 setup_new_exec(bprm); in load_aout_binary()
313 retval = setup_arg_pages(bprm, IA32_STACK_TOP, EXSTACK_DEFAULT); in load_aout_binary()
317 install_exec_creds(bprm); in load_aout_binary()
330 error = read_code(bprm->file, text_addr, 32, in load_aout_binary()
[all …]
/arch/arm64/include/asm/
Delf.h155 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
200 extern int aarch32_setup_vectors_page(struct linux_binprm *bprm,
/arch/tile/mm/
Delf.c117 int arch_setup_additional_pages(struct linux_binprm *bprm, in arch_setup_additional_pages() argument
129 sim_notify_exec(bprm->filename); in arch_setup_additional_pages()
/arch/x86/include/asm/
Dia32.h64 extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
Delf.h364 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
366 extern int compat_arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/unicore32/include/asm/
Delf.h91 #define arch_setup_additional_pages(bprm, uses_interp) vectors_user_mapping() argument
/arch/x86/um/vdso/
Dvma.c56 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/x86/entry/vdso/
Dvma.c294 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
303 int compat_arch_setup_additional_pages(struct linux_binprm *bprm, in compat_arch_setup_additional_pages() argument
321 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/sh/kernel/vsyscall/
Dvsyscall.c61 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/hexagon/kernel/
Dvdso.c62 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/arm64/kernel/
Dvdso.c87 int aarch32_setup_vectors_page(struct linux_binprm *bprm, int uses_interp) in aarch32_setup_vectors_page() argument
175 int arch_setup_additional_pages(struct linux_binprm *bprm, in arch_setup_additional_pages() argument
/arch/nios2/mm/
Dinit.c122 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/nios2/include/asm/
Delf.h46 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/tile/include/asm/
Delf.h130 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/metag/include/asm/
Dprocessor.h114 unsigned int *argc = (unsigned int *) bprm->exec; \
/arch/powerpc/include/asm/
Delf.h123 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/parisc/include/asm/
Dprocessor.h269 elf_caddr_t *argv = (elf_caddr_t *)bprm->exec + 1; \
/arch/hexagon/include/asm/
Delf.h230 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/mips/kernel/
Dvdso.c116 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/x86/um/asm/
Delf.h187 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/sh/include/asm/
Delf.h194 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/s390/kernel/
Dvdso.c233 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument
/arch/mips/include/asm/
Delf.h481 extern int arch_setup_additional_pages(struct linux_binprm *bprm,
/arch/arm/kernel/
Dprocess.c420 int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) in arch_setup_additional_pages() argument

12