Home
last modified time | relevance | path

Searched refs:arg_start (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dlsm.c121 bpf_copy_from_user(args, sizeof(args), (void *)bprm->vma->vm_mm->arg_start); in BPF_PROG()
122 bpf_copy_from_user(args, sizeof(args), (void *)bprm->mm->arg_start); in BPF_PROG()
Dprofiler.inc.h741 void* arg_start = (void*)BPF_CORE_READ(task, mm, arg_start); in raw_tracepoint__sched_process_exec() local
743 unsigned int cmdline_length = probe_read_lim(payload, arg_start, in raw_tracepoint__sched_process_exec()
744 arg_end - arg_start, MAX_ARGS_LEN); in raw_tracepoint__sched_process_exec()
/linux-6.6.21/mm/
Dutil.c1000 unsigned long arg_start, arg_end, env_start, env_end; in get_cmdline() local
1007 arg_start = mm->arg_start; in get_cmdline()
1013 len = arg_end - arg_start; in get_cmdline()
1018 res = access_process_vm(task, arg_start, buffer, len, FOLL_FORCE); 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.h142 __u64 arg_start; /* command line arguments bounds */ member
/linux-6.6.21/tools/include/uapi/linux/
Dprctl.h142 __u64 arg_start; /* command line arguments bounds */ member
/linux-6.6.21/kernel/
Dsys.c1940 offsetof(struct prctl_mm_map, arg_start), in validate_prctl_map_addr()
1967 error |= __prctl_check_order(arg_start, <=, arg_end); in validate_prctl_map_addr()
2075 mm->arg_start = prctl_map.arg_start; in prctl_set_mm_map()
2179 prctl_map.arg_start = mm->arg_start; in prctl_set_mm()
2207 prctl_map.arg_start = addr; in prctl_set_mm()
2252 mm->arg_start = prctl_map.arg_start; in prctl_set_mm()
Dauditsc.c1140 const char __user *p = (const char __user *)current->mm->arg_start; in audit_log_execve_info()
/linux-6.6.21/fs/
Dbinfmt_flat.c106 static int create_flat_tables(struct linux_binprm *bprm, unsigned long arg_start) in create_flat_tables() argument
112 p = (char __user *)arg_start; in create_flat_tables()
134 current->mm->arg_start = (unsigned long)p; in create_flat_tables()
Dbinfmt_elf_fdpic.c689 current->mm->arg_start = bprm->p; in create_elf_fdpic_tables()
691 current->mm->arg_start = current->mm->start_stack - in create_elf_fdpic_tables()
695 p = (char __user *) current->mm->arg_start; in create_elf_fdpic_tables()
1328 len = mm->arg_end - mm->arg_start; in fill_psinfo()
1332 (const char __user *) mm->arg_start, len)) in fill_psinfo()
Dbinfmt_elf.c335 p = mm->arg_end = mm->arg_start; in create_elf_tables()
1580 len = mm->arg_end - mm->arg_start; in fill_psinfo()
1584 (const char __user *)mm->arg_start, len)) in fill_psinfo()
Dexec.c782 mm->arg_start = bprm->p - stack_shift; in setup_arg_pages()
795 mm->arg_start = bprm->p; in setup_arg_pages()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c203 len = min_t(int, mm->arg_end - mm->arg_start, in bnxt_fill_cmdline()
206 (char __user *)mm->arg_start, len)) { in bnxt_fill_cmdline()
/linux-6.6.21/fs/proc/
Dbase.c221 unsigned long arg_start) in get_mm_proctitle() argument
234 got = access_remote_vm(mm, arg_start, page, PAGE_SIZE, FOLL_ANON); in get_mm_proctitle()
259 unsigned long arg_start, arg_end, env_start, env_end; in get_mm_cmdline() local
268 arg_start = mm->arg_start; in get_mm_cmdline()
274 if (arg_start >= arg_end) in get_mm_cmdline()
284 len = env_end - arg_start; in get_mm_cmdline()
303 return get_mm_proctitle(mm, buf, count, pos, arg_start); in get_mm_cmdline()
309 pos += arg_start; in get_mm_cmdline()
310 if (pos < arg_start || pos >= arg_end) in get_mm_cmdline()
Darray.c646 seq_put_decimal_ull(m, " ", mm->arg_start); in do_task_stat()
/linux-6.6.21/include/linux/
Dmm_types.h811 unsigned long arg_start, arg_end, env_start, env_end; member
/linux-6.6.21/Documentation/filesystems/
Dproc.rst382 arg_start address above which program command line is placed