Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2005 16:42:12 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87587 for review
Message-ID:  <200512011642.jB1GgCKf056646@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87587

Change 87587 by millert@millert_ibook on 2005/12/01 16:41:14

	Cosmetic changes to reduce diffs with DSEP

Affected files ...

.. //depot/projects/trustedbsd/sedarwin7/src/ipctrace/ipctrace.c#4 edit
.. //depot/projects/trustedbsd/sedarwin7/src/ipctrace/ipctrace.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin7/src/ipctrace/ipctrace.c#4 (text+ko) ====

@@ -388,12 +388,12 @@
 	.mpo_execve_will_transition = ipctrace_execve_will_transition
 };
 
-static char *labelnamespaces[] = {"ipctrace"};
+static char *labelnamespaces[IPCTRACE_LABEL_NAME_COUNT] = {IPCTRACE_LABEL_NAME};
 struct mac_policy_conf ipctrace_policy_conf = {
 	"ipctrace",		/* policy name */
 	"IPC Trace Module",	/* full name */
-	labelnamespaces,	/* label namespaces */
-	1,			/* namespace count */
+	labelnamespaces,	/* label namespace */
+	IPCTRACE_LABEL_NAME_COUNT, /* namespace count */
 	&ipctrace_ops,		/* policy operations */
 	0,			/* loadtime flags*/
 	&ipctrace_slot,		/* security field */

==== //depot/projects/trustedbsd/sedarwin7/src/ipctrace/ipctrace.h#3 (text+ko) ====

@@ -46,6 +46,9 @@
 #define ITA_COPY_SEND 12
 #define ITA_MOVE_RECV 13
 
+#define	IPCTRACE_LABEL_NAME		"ipctrace"
+#define	IPCTRACE_LABEL_NAME_COUNT	1
+
 /* system calls */
 
 #define IT_CALL_GET 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512011642.jB1GgCKf056646>