Proot Rs Versions Save

Rust implementation of PRoot, a ptrace-based sandbox

v0.1.0

2 years ago

0.1.0 - 2021-08-19

Added

  • Support for path translation.
  • Support for multi-tracee.
  • Support for cross-compiling, including compiling to Android platform.
  • Unit test helper function test_with_proot() to enable testing proot-rs event loops in unit tests.
  • Integration tests.
  • GitHub workflow scripts to automate testing and building release files.

Changed

  • Port loader.c to Rust
  • Refactor errors.rs.
  • Refactor executable loading process to support iterative loading.

Fixed

  • Incorrect return value of system call.
  • Incorrect handling of trailing slash in paths during path translation.
  • Problem with incorrect handling of shebang.
  • Existing unit test function test_in_subprocess() so that it can report failed tests correctly.