You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
511 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# linux_lab_os_exp1
在6.21日实现了sys_getcwd函数在6.22日实现sys_getdents和sys_sleep在6.23日实现了sys_execve2
其中sys_getcwd,sys_getdents,sys_sleep 在sys.c中定义sys_execve2在memory.c中定义
sys_getcwd参照了find_entry的实现方式sys_getdents和sys_getcwd基本原理相似没有回溯回根节点的过程而已
sys_sleep的实现就是signalalarmpause的混合
sys_execve2模仿sys_execve在do_execve的基础上加了类似do_no_page的代码