Patch procf (#90)

* 1234

* 123

* 合并master

* procfs

* 1

* procfs展示进程基本信息

* modified code

* 恢复权限

* 恢复权限

 #恢复权限

* modify permission

* 删除run.sh

* 解决第一次编译时磁盘镜像权限错误的问题

* 恢复.vscode/c_cpp_properties.json

* 删除process.c中错误的do_fork

* remake procfs

* 修改一些变量名

* 修改类型

* modified

* data_puts缓冲区溢出后return

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
DaJiYuQia
2022-11-26 17:34:00 +08:00
committed by GitHub
parent ad23fcddf8
commit 27a97abd24
19 changed files with 664 additions and 45 deletions

View File

@ -312,7 +312,6 @@ int shell_cmd_cat(int argc, char **argv)
file_size -= l;
printf("%s", buf);
}
close(fd);
free(buf);
free(file_path);