From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 25 10:17:31 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0405106564A; Fri, 25 Feb 2011 10:17:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9172C8FC16; Fri, 25 Feb 2011 10:17:31 +0000 (UTC) Received: from outgoing.leidinger.net (p5B32EA03.dip.t-dialin.net [91.50.234.3]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 2F2D6844012; Fri, 25 Feb 2011 11:17:25 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id E9DC82D3B; Fri, 25 Feb 2011 11:17:21 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p1PAHLaN099403; Fri, 25 Feb 2011 11:17:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 25 Feb 2011 11:17:21 +0100 Message-ID: <20110225111721.36912bbuq9erz740@webmail.leidinger.net> Date: Fri, 25 Feb 2011 11:17:21 +0100 From: Alexander Leidinger To: Robert Watson References: <20110211103028.12684f54yrw8tgqo@webmail.leidinger.net> <20110212151442.000016bb@unknown> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 2F2D6844012.A55A3 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.874, required 6, autolearn=disabled, J_CHICKENPOX_73 0.60, RDNS_NONE 1.27) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1299233848.5347@1jrgnscEevTRaXOlGc3xiA X-EBL-Spam-Status: No X-Mailman-Approved-At: Fri, 25 Feb 2011 12:23:29 +0000 Cc: hackers@FreeBSD.org, kibab@FreeBSD.org Subject: Re: CFR: FEATURE macros for AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/PMC/SYSV/... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 10:17:32 -0000 Quoting Robert Watson (from Sat, 12 Feb 2011 19:08:59 +0000 (GMT)): > > On Sat, 12 Feb 2011, Alexander Leidinger wrote: > >> On Sat, 12 Feb 2011 00:52:48 +0000 (GMT) Robert Watson >> wrote: >> >>> The one comment I'd make is that the MAC case should indicate that >>> "The MAC Framework" is supported, rather than mandatory access >>> controls being present -- the presence of the framework doesn't >>> imply the presence of mandatory access control policies. >> >> Does >> FEATURE(mac, "Mandatory Access Control Framework support"); >> look better? >> >> Alternatively/additionally we could use mac_framework as the name >> of the feature. > > The above seems fine -- while I've been moving to names like > mac_framework.h, it's still "options MAC" and "security/mac", etc, > and think that "mac" is the most consistent options. Committed. If you want you can modify some userland applications to check for it now with feature_present(3). When every feature macro of the GSoC project is committed, I will commit a change to this function (being able to administratively tell a feature is not there when it is there), and a corresponding userland app to be able to use it in scripts. Bye, Alexander. -- One place where you're sure to find the perfect driver is in the back seat. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137