Home
last modified time | relevance | path

Searched refs:env_start (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/mm/
Dutil.c1000 unsigned long arg_start, arg_end, env_start, env_end; in get_cmdline() local
1009 env_start = mm->env_start; in get_cmdline()
1029 len = env_end - env_start; in get_cmdline()
1032 res += access_process_vm(task, env_start, in get_cmdline()
Ddebug.c206 mm->arg_start, mm->arg_end, mm->env_start, mm->env_end, in dump_mm()
/linux-6.6.21/include/uapi/linux/
Dprctl.h144 __u64 env_start; /* environment variables bounds */ member
/linux-6.6.21/tools/include/uapi/linux/
Dprctl.h144 __u64 env_start; /* environment variables bounds */ member
/linux-6.6.21/kernel/
Dsys.c1942 offsetof(struct prctl_mm_map, env_start), in validate_prctl_map_addr()
1968 error |= __prctl_check_order(env_start, <=, env_end); in validate_prctl_map_addr()
2077 mm->env_start = prctl_map.env_start; in prctl_set_mm_map()
2181 prctl_map.env_start = mm->env_start; in prctl_set_mm()
2213 prctl_map.env_start = addr; in prctl_set_mm()
2254 mm->env_start = prctl_map.env_start; in prctl_set_mm()
/linux-6.6.21/fs/proc/
Dbase.c259 unsigned long arg_start, arg_end, env_start, env_end; in get_mm_cmdline() local
270 env_start = mm->env_start; in get_mm_cmdline()
282 if (env_start != arg_end || env_end < env_start) in get_mm_cmdline()
283 env_start = env_end = arg_end; in get_mm_cmdline()
948 unsigned long env_start, env_end; in environ_read() local
963 env_start = mm->env_start; in environ_read()
971 if (src >= (env_end - env_start)) in environ_read()
974 this_len = env_end - (env_start + src); in environ_read()
979 retval = access_remote_vm(mm, (env_start + src), page, this_len, FOLL_ANON); in environ_read()
Darray.c648 seq_put_decimal_ull(m, " ", mm->env_start); in do_task_stat()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h753 void* env_start = (void*)BPF_CORE_READ(task, mm, env_start); in raw_tracepoint__sched_process_exec() local
755 unsigned long env_len = probe_read_lim(payload, env_start, in raw_tracepoint__sched_process_exec()
756 env_end - env_start, MAX_ENVIRON_LEN); in raw_tracepoint__sched_process_exec()
/linux-6.6.21/include/linux/
Dmm_types.h811 unsigned long arg_start, arg_end, env_start, env_end; member
/linux-6.6.21/fs/
Dbinfmt_flat.c147 current->mm->env_start = (unsigned long) p; in create_flat_tables()
Dbinfmt_elf_fdpic.c709 current->mm->env_start = (unsigned long) p; in create_elf_fdpic_tables()
Dbinfmt_elf.c350 mm->env_end = mm->env_start = p; in create_elf_tables()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst384 env_start address above which program environment is placed