forked from p7px8vou9/system_call_expand
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.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| .vscode | 4 years ago | |
| include | 4 years ago | |
| .DS_Store | 4 years ago | |
| Makefile | 4 years ago | |
| README | 4 years ago | |
| clone.c | 4 years ago | |
| echo.c | 4 years ago | |
| execve.c | 4 years ago | |
| execve2.c | 4 years ago | |
| getcwd.c | 4 years ago | |
| getdents.c | 4 years ago | |
| mmap.c | 4 years ago | |
| munmap.c | 4 years ago | |
| new.h | 4 years ago | |
| oscomp_syscalls.html | 4 years ago | |
| oscomp_syscalls.md | 4 years ago | |
| pipe.c | 4 years ago | |
| sleep.c | 4 years ago | |
README
1.新的系统调用号定义在../include/unistd.h中。 2.为了在Linux 0.11中顺利进行make,需要在bochs虚拟机中对硬盘作一些调整,如下: cd /bin mv sh sh.old ln bash sh 3.编译 编译所有文件: make 编译某个文件,如: make execve2 4.测试 make test 4.清除中间文件 make clean