From: guido@trentalancia.net (Guido Trentalancia) Date: Sun, 04 Dec 2016 13:01:37 +0100 Subject: [refpolicy] [PATCH] Add debian path for fprintd daemon In-Reply-To: <20161203233032.25321-1-bigon@debian.org> References: <20161203233032.25321-1-bigon@debian.org> Message-ID: <41B8EA40-0B4D-4575-9C48-EA62A3950E5E@trentalancia.net> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Hello! I think the file context that you want to add should be enclosed within an ifdef block specific to your distribution. Guido On the 4th of December 2016 00:30:32 CET, Laurent Bigonville via refpolicy wrote: >From: Laurent Bigonville > >Add debian path for fprintd daemon (/usr/lib/fprintd/fprintd) >--- > fprintd.fc | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/fprintd.fc b/fprintd.fc >index d861e88..81317ea 100644 >--- a/fprintd.fc >+++ b/fprintd.fc >@@ -1,3 +1,5 @@ >+/usr/lib/fprintd/fprintd -- gen_context(system_u:object_r:fprintd_exec_t,s0) >+ >/usr/libexec/fprintd -- gen_context(system_u:object_r:fprintd_exec_t,s0) > >/var/lib/fprint(/.*)? gen_context(system_u:object_r:fprintd_var_lib_t,s0)