A hook filesystem and utils to inject IO chaos
Go to file
YangKeao 819af9bd40
bump version to v0.1.23
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
2022-01-13 14:16:18 +08:00
.cargo fix bugs in handling link 2020-10-20 19:32:35 +08:00
.github/workflows add fuse config to /etc/fuse.conf 2020-10-27 16:23:00 +08:00
config-examples fix performance issue && add close (#22) 2021-04-06 13:14:22 +08:00
example refine ptrace 2021-01-19 20:20:20 +08:00
src cancel the waiting injector 2022-01-13 14:16:00 +08:00
tests fix test compile bug 2021-01-18 21:25:23 +08:00
.dockerignore add auto release script 2020-09-10 12:06:10 +08:00
.gitignore modify example 2020-12-28 13:44:36 +08:00
Cargo.lock bump version to v0.1.23 2022-01-13 14:16:18 +08:00
Cargo.toml bump version to v0.1.23 2022-01-13 14:16:18 +08:00
Dockerfile fix cwd replacer 2022-01-13 14:07:18 +08:00
LICENSE add license 2020-09-22 11:37:38 +08:00
Makefile modify example 2020-12-28 13:44:36 +08:00
README.md Bump version to 0.1.16 2021-01-18 21:19:08 +08:00
rust-toolchain fix cwd replacer 2022-01-13 14:07:18 +08:00

README.md

FOSSA Status

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 stat a fd after it has been deleted

License

FOSSA Status