添加prlimit64系统调用 (#438)

注意: 目前仅支持读取默认的rlimit值,尚不支持设置rlimit值.
This commit is contained in:
LoGin
2023-11-12 18:44:15 +08:00
committed by GitHub
parent 4a2d7191a3
commit 0d9b7d9240
6 changed files with 165 additions and 8 deletions

View File

@ -521,7 +521,7 @@ int shell_cmd_exec(int argc, char **argv)
char *file_path = get_target_filepath(argv[1], &path_len);
// printf("before execv, path=%s, argc=%d\n", file_path, argc);
char **real_argv;
char **real_argv = NULL;
if (argc > 1)
{
real_argv = &argv[1];