diff options
author | 2015-10-03 05:36:34 +0000 | |
---|---|---|
committer | 2015-10-03 05:36:34 +0000 | |
commit | dce6c6ad6218139c75b7ab9bf88a3da07723234f (patch) | |
tree | 381f40cc0e66751f31095423f477140b984cef53 /lib/libssl/src | |
parent | tame "stdio getpw rpath" can be done quite early after the getopt. (diff) | |
download | wireguard-openbsd-dce6c6ad6218139c75b7ab9bf88a3da07723234f.tar.xz wireguard-openbsd-dce6c6ad6218139c75b7ab9bf88a3da07723234f.zip |
grep only opens files read-only, reads via stdio or other methods, performs
computation, and outputs result to stdout. (note: in the tame model,
malloc is implicit because stdio needs it, and mmap is implicit since
malloc needs it; libz is satisfied by this environment also).
this tame change consists of 1 line, setting "stdio rpath" before
getopt. this protection is fairly strict. grep could be improved
further by computing a wpathlist based on argv, keeping -R in mind.
feel free to take a shot at it.
grep was an early target of capsicum also. know anyone running capsicum grep?
ok doug
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions