diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-26 15:55:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-26 15:55:46 +0000 |
commit | afc45099796ef993531edb38243a35e0e65a03f2 (patch) | |
tree | b971b16caeb4147eaf28d72235d445fd9308d606 /regress/man/blank/Makefile | |
parent | f7d7aa27e1c4864eb85b6812980df0498fc4c992 (diff) | |
download | mandoc-afc45099796ef993531edb38243a35e0e65a03f2.tar.gz mandoc-afc45099796ef993531edb38243a35e0e65a03f2.tar.zst mandoc-afc45099796ef993531edb38243a35e0e65a03f2.zip |
Do not fork and exec cmp(1); instead, simply fstat(2), mmap(2), and
compare the files directly, allowing a much stricter pledge(2), at
very little cost: merely 15 additional lines of very simple code.
Suggested by George Brown <321 dot george at gmail dot com> on misc@.
Diffstat (limited to 'regress/man/blank/Makefile')
0 files changed, 0 insertions, 0 deletions