PERFORCE change 174219 for review

Robert Watson rwatson at FreeBSD.org
Wed Feb 3 10:39:53 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=174219

Change 174219 by rwatson at rwatson_vimage_client on 2010/02/03 10:39:06

	Can't create sandboxes from a statically linked binary, so don't
	try.
	
	Remove debugging printf, we can now micro-benchmark sandbox creation.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/tools/tools/syscall_timing/Makefile#4 edit
.. //depot/projects/trustedbsd/capabilities/src/tools/tools/syscall_timing/syscall_timing.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/tools/tools/syscall_timing/Makefile#4 (text+ko) ====

@@ -3,7 +3,7 @@
 #
 
 PROG=	syscall_timing
-CFLAGS+=	-static -O -Wall -rdynamic
+CFLAGS+=	-O -Wall -rdynamic
 NO_MAN=
 LDADD=	-lcapsicum -lsbuf
 

==== //depot/projects/trustedbsd/capabilities/src/tools/tools/syscall_timing/syscall_timing.c#7 (text+ko) ====

@@ -476,7 +476,6 @@
 	ch = 'X';
 	iov.iov_base = &ch;
 	iov.iov_len = sizeof(ch);
-	printf("lch_rpc\n");
 	if (lch_rpc(lcsp, 0, &iov, 1, &iov, 1, &len) < 0)
 		err(-1, "lch_rpc");
 	if (len != sizeof(ch))


More information about the p4-projects mailing list