Searched refs:elf_addr_t (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/include/linux/
H A Delf.h30 #define elf_addr_t Elf32_Off macro
40 #define elf_addr_t Elf64_Off macro
/linux-4.1.27/fs/
H A Dcompat_binfmt_elf.c33 #undef elf_addr_t macro
38 #define elf_addr_t Elf32_Addr macro
H A Dbinfmt_elf.c127 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) + (items))
131 elf_addr_t __user *old_sp = (elf_addr_t __user *)sp; sp += len; \
134 #define STACK_ADD(sp, items) ((elf_addr_t __user *)(sp) - (items))
156 elf_addr_t __user *argv; create_elf_tables()
157 elf_addr_t __user *envp; create_elf_tables()
158 elf_addr_t __user *sp; create_elf_tables()
159 elf_addr_t __user *u_platform; create_elf_tables()
160 elf_addr_t __user *u_base_platform; create_elf_tables()
161 elf_addr_t __user *u_rand_bytes; create_elf_tables()
166 elf_addr_t *elf_info; create_elf_tables()
189 u_platform = (elf_addr_t __user *)STACK_ALLOC(p, len); create_elf_tables()
202 u_base_platform = (elf_addr_t __user *)STACK_ALLOC(p, len); create_elf_tables()
211 u_rand_bytes = (elf_addr_t __user *) create_elf_tables()
217 elf_info = (elf_addr_t *)current->mm->saved_auxv; create_elf_tables()
248 NEW_AUX_ENT(AT_RANDOM, (elf_addr_t)(unsigned long)u_rand_bytes); create_elf_tables()
255 (elf_addr_t)(unsigned long)u_platform); create_elf_tables()
259 (elf_addr_t)(unsigned long)u_base_platform); create_elf_tables()
279 sp = (elf_addr_t __user *)bprm->p - items - ei_index; create_elf_tables()
282 sp = (elf_addr_t __user *)bprm->p; create_elf_tables()
304 if (__put_user((elf_addr_t)p, argv++)) create_elf_tables()
316 if (__put_user((elf_addr_t)p, envp++)) create_elf_tables()
328 sp = (elf_addr_t __user *)envp + 1; create_elf_tables()
329 if (copy_to_user(sp, elf_info, ei_index * sizeof(elf_addr_t))) create_elf_tables()
1471 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; fill_auxv_note()
1476 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); fill_auxv_note()
2092 elf_addr_t e_shoff, int segs) fill_extnum_info()
2127 elf_addr_t e_shoff; elf_core_dump()
2128 elf_addr_t *vma_filesz = NULL; elf_core_dump()
H A Dbinfmt_elf_fdpic.c591 (elf_addr_t) (unsigned long) u_platform); create_elf_fdpic_tables()
598 (elf_addr_t) (unsigned long) u_base_platform); create_elf_fdpic_tables()
621 NEW_AUX_ENT(AT_UID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->uid)); create_elf_fdpic_tables()
622 NEW_AUX_ENT(AT_EUID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->euid)); create_elf_fdpic_tables()
623 NEW_AUX_ENT(AT_GID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->gid)); create_elf_fdpic_tables()
624 NEW_AUX_ENT(AT_EGID, (elf_addr_t) from_kgid_munged(cred->user_ns, cred->egid)); create_elf_fdpic_tables()
1459 elf_addr_t e_shoff, int segs) fill_extnum_info()
1551 elf_addr_t *auxv; elf_fdpic_core_dump()
1555 elf_addr_t e_shoff; elf_fdpic_core_dump()
1642 auxv = (elf_addr_t *) current->mm->saved_auxv; elf_fdpic_core_dump()
1649 i * sizeof(elf_addr_t), auxv); elf_fdpic_core_dump()
/linux-4.1.27/arch/parisc/include/asm/
H A Dprocessor.h299 elf_addr_t *sp = (elf_addr_t *)new_sp; \
301 elf_addr_t pc = (elf_addr_t)new_pc | 3; \
/linux-4.1.27/arch/arm64/include/asm/
H A Delf.h142 (elf_addr_t)current->mm->context.vdso); \
/linux-4.1.27/arch/arm/include/asm/
H A Delf.h135 (elf_addr_t)current->mm->context.vdso); \

Completed in 293 milliseconds