PERFORCE change 87587 for review
Todd Miller
millert at FreeBSD.org
Thu Dec 1 16:42:12 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=87587
Change 87587 by millert at 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
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