mirror of https://github.com/chaos-mesh/toda.git
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu> |
||
|---|---|---|
| .cargo | ||
| .github/workflows | ||
| config-examples | ||
| example | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| rust-toolchain | ||
| rustfmt.toml | ||
README.md
Notes:
-
Keep in mind that the result will be cached by system!
If you set read error with a probability < 1, once the program reads successfully, no error will be returned until the cache misses. If you override the attributes with a probability < 1, the first lookup may decide the attributes for a long time (until the cache misses).
But if you set probability == 1, which means the result will be the same all the time during the mount, there will be no problem.
-
Compile this binary with
-Z relro-level=full, then it will load (mmap) all dependencies into memory at the beginning. -
This program should be executed inside the target pid and mnt namespace
Known Issues
-
Cannot work with too long path (near 4096 bytes)
-
Cannot
stata fd after it has been deleted