book icon indicating copy to clipboard operation
book copied to clipboard

Tutorial does not work on Fedora 25 - SELinux ?

Open cyplo opened this issue 8 years ago • 2 comments

Hello ! I tried to follow the tutorial on Fedora 25, default installation. I believe docker needs additional mount flag to behave properly on SELinux systems -Z Not sure what does this flag do if the systems is not SELinux-enabled tbh, can find out.

I can try writing a PR for the docs to mention that case, please let me know if that would be ok.

thanks a lot and have a great day !

docker run -v $(pwd):/source -it corey/afl.rs sh
# cargo build
error: could not find `Cargo.toml` in `/source` or any parent directory
# pwd
/source
# ls -hal
ls: cannot open directory '.': Permission denied
docker run -v $(pwd):/source:Z -it corey/afl.rs sh
# ls -hal     
[works]

cyplo avatar Apr 25 '17 10:04 cyplo

cargo-fuzz is the preferred way to fuzz with Rust now (instead of afl.rs)

i've been slowly updating this book to add a section for cargo-fuzz: https://rust-fuzz.github.io/book/

let me know if that ends up working for you or if you run into any issues

frewsxcv avatar May 08 '17 02:05 frewsxcv

Heyo, thank you for that ! Will try and let you know :)

cyplo avatar May 11 '17 06:05 cyplo