On Thu, Apr 26, 2018 at 02:51:13PM +0200, Sebastien Marie wrote: > The following diff adds pledge(2) on ripgrep: > - "stdio rpath" in common use-cases > - "stdio rpath proc exec" when -z is used in order to call external > decompressors > > The purpose was mostly educational, in order to see how pledge(2) fit > inside Rust code. From syscall point of vue it is good (no extra > syscalls...) > > It was done using direct FFI. > > Tested on amd64. > $ make test > ... > test result: ok. 156 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Great!
All fine, OK kn.
