Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/process/
Dprocess.c425 int argv_len = strnlen_user(argv[argc], 1023) + 1; in do_execve() local
426 strncpy((char *)(str_addr - argv_len), argv[argc], argv_len - 1); in do_execve()
427 str_addr -= argv_len; in do_execve()
430 ((char *)str_addr)[argv_len] = '\0'; in do_execve()