From owner-trustedbsd-discuss@FreeBSD.ORG Sun Mar 5 19:14:03 2006 Return-Path: X-Original-To: trustedbsd-discuss@FreeBSD.org Delivered-To: trustedbsd-discuss@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF7116A420 for ; Sun, 5 Mar 2006 19:14:03 +0000 (GMT) (envelope-from James.Pendergrass@jhuapl.edu) Received: from aplesjustice.dom1.jhuapl.edu (APLesJustice.dom1.jhuapl.edu [128.244.198.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0DA243D46 for ; Sun, 5 Mar 2006 19:14:02 +0000 (GMT) (envelope-from James.Pendergrass@jhuapl.edu) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Sun, 5 Mar 2006 14:13:59 -0500 Message-ID: <7292F66980B8DB43BD9C4FD4E019F83614014B@aplesjustice.dom1.jhuapl.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DSEP 20060213, SEDarwin Module Thread-Index: AcZAiPTTNfMu1AiWSsm/dmLCy9g+Ag== From: "Pendergrass, James A." To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: DSEP 20060213, SEDarwin Module X-BeenThere: trustedbsd-discuss@FreeBSD.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TrustedBSD General Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2006 19:14:03 -0000 Hello, I just learned of the SEDarwin project at the SELinux symposium last = week, and I thought I'd try to get involved in = development/testing/whatever is needed. I've set up a test machine and downloaded/built the DSEP 20060213 = tarball available from the SEDarwin page of the SEBSD site. =20 But the SEDarwin module won't build. There are many errors in the = sebsd.c file, mostly relating to dereferencing incomplete structures = types. It looks like a number of structs (like struct proc, and struct = mount and others) have been made opaque in the transition from 10.3.x to = 10.4.x and the MacFramework/SEDarwin code has not been updated to expose = accessors to relevant members of these structures. =20 I'm new to XNU kernel programming so this is really just a guess based = on the error messages. Can someone verify that this is indeed the = problem? Also, would it be helpful to the community for me to devote = some energy into fixing this breakage, or is someone else already on top = of it? I tried checking out the CVSup repository, but it seems woefully = out of date. In general, I would like to know what is available for me = to work on that would be of use to the rest of the community. =20 Thanks, J. Aaron Pendergrass