Date: Thu, 28 Mar 2002 13:22:06 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 8590 for review Message-ID: <200203282122.g2SLM6098294@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203282122.g2SLM6098294>