Date: Fri, 25 Feb 2011 11:17:21 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Robert Watson <rwatson@FreeBSD.org> Cc: hackers@FreeBSD.org, kibab@FreeBSD.org Subject: Re: CFR: FEATURE macros for AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/PMC/SYSV/... Message-ID: <20110225111721.36912bbuq9erz740@webmail.leidinger.net> In-Reply-To: <alpine.BSF.2.00.1102121907590.88358@fledge.watson.org> References: <20110211103028.12684f54yrw8tgqo@webmail.leidinger.net> <alpine.BSF.2.00.1102120051320.49899@fledge.watson.org> <20110212151442.000016bb@unknown> <alpine.BSF.2.00.1102121907590.88358@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Watson <rwatson@FreeBSD.org> (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 >> <rwatson@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110225111721.36912bbuq9erz740>