From owner-p4-projects Thu Mar 28 13:22:25 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 72E5437B405; Thu, 28 Mar 2002 13:22:07 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 98CD037B416 for ; Thu, 28 Mar 2002 13:22:06 -0800 (PST) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SLM6098294 for perforce@freebsd.org; Thu, 28 Mar 2002 13:22:06 -0800 (PST) (envelope-from green@freebsd.org) Date: Thu, 28 Mar 2002 13:22:06 -0800 (PST) Message-Id: <200203282122.g2SLM6098294@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 8590 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8590 Change 8590 by green@green_laptop_2 on 2002/03/28 13:21:48 Synch SEBSD with the MAC operation vector declaration change. Affected files ... ... //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#2 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#2 (text+ko) ==== @@ -112,71 +112,11 @@ } } -static struct mac_policy_ops sebsd_ops = -{ - sebsd_init, - sebsd_destroy, - NULL, /* copy label */ - NULL, /* dominate */ - NULL, /* equal label */ - NULL, /* print label */ - NULL, /* validate label */ - NULL, /* create devfs dev */ - NULL, /* create devfs dir */ - NULL, /* create vnode */ - NULL, /* mount fs */ - sebsd_create_root_mount, /* mount rootfs */ - NULL, /* mbuf from socket */ - NULL, /* create socket */ - NULL, /* relabel socket */ - NULL, /* create bpf */ - NULL, /* create ifnet */ - NULL, /* mbuf datagram from fragq */ - NULL, /* mbuf fragment */ - NULL, /* mbuf fragment queue */ - NULL, /* mbuf from mbuf */ - NULL, /* mbuf linklayer */ - NULL, /* mbuf from bpf */ - NULL, /* mbuf from ifnet */ - NULL, /* mbuf multicast encap */ - NULL, /* mbuf netlayer */ - NULL, /* fragment queue match */ - NULL, /* relabel ifnet */ - NULL, /* update fragment queue */ - NULL, /* create subject */ - NULL, /* transition */ - NULL, /* will transition */ - NULL, /* proc0 */ - NULL, /* proc1 */ - NULL, /* relabel subject */ - NULL, /* bpfdesc check ifnet */ - NULL, - NULL, - NULL, /* check relabel ifnet */ - NULL, /* check relabel socket */ - NULL, /* check relabel subject */ - NULL, /* check relabel vnode */ - NULL, /* check statfs */ - NULL, - NULL, /* exec file */ - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, /* ifnet check send mbuf */ - NULL, /* socket check receive mbuf */ +static struct mac_policy_op_entry sebsd_ops[] = { + { MAC_INIT, (macop_t)sebsd_init }, + { MAC_DESTROY, (macop_t)sebsd_destroy }, + { MAC_CREATE_ROOT_MOUNT, (macop_t)sebsd_create_root_mount }, + { MAC_OP_LAST, NULL } }; MAC_POLICY_SET(sebsd_ops, trustedbsd_sebsd, "Security Enhanced BSD", 1); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message