freebsd-dev/usr.bin/bsdiff/bspatch
Allan Jude 76723b39ca Capsicumize bspatch
Move all of the fopen() and open() calls to the top of main()

Restrict each FD to least privilege (read/seek only, write only, etc)

cap_enter(), and make all except the output FD read/seek only.

Reviewed by:	emaste, ed, oshogbo, delphij
Approved by:	so
MFC after:	3 days
Relnotes:	yes
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D7358
2016-08-25 15:08:33 +00:00
..
bspatch.1 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
bspatch.c Capsicumize bspatch 2016-08-25 15:08:33 +00:00
Makefile Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00