From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Mon, 12 Jul 2010 13:52:52 -0400 Subject: [refpolicy] some Debian specific patches In-Reply-To: <20100711184859.57714jpvyqkmc6ww@webmail.tuffmail.net> References: <201007071702.17347.russell@coker.com.au> <20100711184859.57714jpvyqkmc6ww@webmail.tuffmail.net> Message-ID: <4C3B5674.3010805@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 07/11/10 13:48, Martin Orr wrote: > On Wed 7 Jul 08:02:17 2010, Russell Coker wrote: >> I've put in a couple of ifdef(`distro_redhat' entries, in some of >> those cases >> we might want to make either the Debian or the Red Hat way the default >> for >> other distributions. > > It seems to me rather pointless to put in all these distro defines, > especially in file contexts - whatever distro you are running, if you > have a file at /usr/libexec/dcc/dbclean then you probably want it > labelled as dcc_dbclean_exec_t. And fcs for files that don't exist are > harmless beyond using a few bytes. > > However I leave that up to Chris, I tend to agree. > I have not touched the distro defines > in my amended patch (except as suggested by Guido). -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com