PERFORCE change 18112 for review

Adam Migus amigus at freebsd.org
Wed Sep 25 03:28:43 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18112

Change 18112 by amigus at amigus_ganymede on 2002/09/24 20:28:39

	Oops.  Tweak.

Affected files ...

.. //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#9 edit

Differences ...

==== //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#9 (text+ko) ====

@@ -275,6 +275,13 @@
 	error = system(sysbuf);
 	if (error)
 		fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
+	memset(sysbuf, NULL, sizeof (sysbuf));
+	p = sysbuf;
+	p = strcat(p, "install -m 555 -o root -g wheel ");
+	p = strcat(p, "relabeluser /usr/local/sbin");
+	error = system(sysbuf);
+	if (error)
+		fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
 
 	progressdialog->setLabelText("TrustedBSD MLS Installation\n"
 	    "Enable boot program");
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list