Home
last modified time | relevance | path

Searched refs:saved_auxv (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/kernel/
Dsys.c1996 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_mm_map()
2018 prctl_map.auxv_size > sizeof(mm->saved_auxv)) in prctl_set_mm_map()
2090 memcpy(mm->saved_auxv, user_auxv, sizeof(user_auxv)); in prctl_set_mm_map()
2118 BUILD_BUG_ON(sizeof(user_auxv) != sizeof(mm->saved_auxv)); in prctl_set_auxv()
2121 memcpy(mm->saved_auxv, user_auxv, len); in prctl_set_auxv()
2425 unsigned long size = min_t(unsigned long, sizeof(mm->saved_auxv), len); in prctl_get_auxv()
2427 if (size && copy_to_user(addr, mm->saved_auxv, size)) in prctl_get_auxv()
2429 return sizeof(mm->saved_auxv); in prctl_get_auxv()
Dfork.c3272 offsetof(struct mm_struct, saved_auxv), in mm_cache_init()
3273 sizeof_field(struct mm_struct, saved_auxv), in mm_cache_init()
/linux-6.6.21/fs/
Dbinfmt_elf.c243 elf_info = (elf_addr_t *)mm->saved_auxv; in create_elf_tables()
298 memset(elf_info, 0, (char *)mm->saved_auxv + in create_elf_tables()
299 sizeof(mm->saved_auxv) - (char *)elf_info); in create_elf_tables()
304 ei_index = elf_info - (elf_addr_t *)mm->saved_auxv; in create_elf_tables()
365 if (copy_to_user(sp, mm->saved_auxv, ei_index * sizeof(elf_addr_t))) in create_elf_tables()
1617 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note()
Dbinfmt_elf_fdpic.c1530 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
/linux-6.6.21/include/linux/
Dmm_types.h813 unsigned long saved_auxv[AT_VECTOR_SIZE]; /* for /proc/PID/auxv */ member
/linux-6.6.21/fs/proc/
Dbase.c1026 } while (mm->saved_auxv[nwords - 2] != 0); /* AT_NULL */ in auxv_read()
1027 return simple_read_from_buffer(buf, count, ppos, mm->saved_auxv, in auxv_read()
1028 nwords * sizeof(mm->saved_auxv[0])); in auxv_read()