From owner-p4-projects@FreeBSD.ORG Thu Dec 1 16:42:13 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4EF4316A422; Thu, 1 Dec 2005 16:42:13 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12AAA16A41F for ; Thu, 1 Dec 2005 16:42:13 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C5E43D45 for ; Thu, 1 Dec 2005 16:42:12 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB1GgCNU056649 for ; Thu, 1 Dec 2005 16:42:12 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB1GgCKf056646 for perforce@freebsd.org; Thu, 1 Dec 2005 16:42:12 GMT (envelope-from millert@freebsd.org) Date: Thu, 1 Dec 2005 16:42:12 GMT Message-Id: <200512011642.jB1GgCKf056646@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 87587 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 16:42:14 -0000 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