🚩Tasks & what's done
- ✅ Translate more syscall
dir_link_attr::enter()
chdir()
、getcwd()
、chmod_access_mknod_at::enter()
- ✅ Refactor
- Change field
fs
of Tracee
from FileSystem
to Rc<RefCell<FileSystem>>
- Add path canonicalization and checking to
Filesystem::set_root()
, Filesystem::add_binding()
, Filesystem::set_cwd()
- ⏳ Unit test addition
- ✅ Add a unit test helper function
test_with_proot()
- ⏳ Write unit tests for system call translation function with
test_with_proot()
- 🚧 Unplanned things
- Fix the existing unit test helper function
test_in_subprocess()
, because it doesn't really catch panic from the subprocess. see here