-
A minimal test case:
```shell
echo 'int main(){return 0;}' | gcc -static -o rootfs/bin/test_static_linked -x c -
./target/debug/proot-rs --rootfs=./rootfs -- /bin/test_static_linked
```
output:…
imlk0 updated
3 years ago
-
Do we have a unit test for this?
```
/// Working directory in guestfs, e.g., `/proc/self/cwd`, is always absolute
```
_Originally posted by @oxr463 in https://github.com/proot-me/proot-rs/pull…
-
This is a bug in handling dead tracee, which can be reproduced with high probability using the following method:
![image](https://user-images.githubusercontent.com/14936301/126582920-77fca34c-3f54-…
imlk0 updated
3 years ago
-
![image](https://user-images.githubusercontent.com/14936301/126581025-4c9fa1e3-47c7-41d3-aefd-ce5c558a8db8.png)
imlk0 updated
3 years ago
-
Resources:
- [How to Write Tests](https://doc.rust-lang.org/book/ch11-01-writing-tests.html)
-
See: https://askubuntu.com/q/906942/799594
-
```
docker run -it rust:alpine /bin/sh
```
-
We still can’t run `cargo test` correctly, it always times out.
see: https://github.com/proot-me/proot-rs/runs/2177032707?check_suite_focus=true
It also times out on my computer running Manjaro …
imlk0 updated
3 years ago
-
Tools
- [x] [Clippy](https://github.com/rust-lang/rust-clippy), (Docs: https://rust-lang.github.io/rust-clippy).
- [x] [rustfmt](https://github.com/rust-lang/rustfmt).
- [x] Pre-commit hook
…
-
# Rust Port
_Rust implementation of PRoot, a ptrace-based sandbox_
## Description
There is already a proof of concept in progress, (See: https://github.com/proot-me/proot-rs). However, this i…