MFC r282436 (the portion that makes sense):

Remove "capability mode sandbox enabled" messages.

These messages serve little purpose and break some consumers.

PR:		199855
Differential Revision:	https://reviews.freebsd.org/D2440
Reviewed by:	rwatson
Approved by:	pjd
Sponsored by:	DARPA, AFRL
This commit is contained in:
brooks 2015-05-19 19:01:52 +00:00
parent 4d744c17ad
commit b4fe1f9ecc

View File

@ -1618,8 +1618,6 @@ main(int argc, char **argv)
cansandbox = (nflag && VFileName == NULL && zflag == NULL);
if (cansandbox && cap_enter() < 0 && errno != ENOSYS)
error("unable to enter the capability mode");
if (cap_sandboxed())
fprintf(stderr, "capability mode sandbox enabled\n");
#endif /* __FreeBSD__ */
do {