All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Add debian path for fprintd daemon
@ 2016-12-03 23:30 Laurent Bigonville
  2016-12-04 12:01 ` Guido Trentalancia
  2016-12-04 17:48 ` Chris PeBenito
  0 siblings, 2 replies; 4+ messages in thread
From: Laurent Bigonville @ 2016-12-03 23:30 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

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)
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [refpolicy] [PATCH] Add debian path for fprintd daemon
  2016-12-03 23:30 [refpolicy] [PATCH] Add debian path for fprintd daemon Laurent Bigonville
@ 2016-12-04 12:01 ` Guido Trentalancia
  2016-12-04 17:12   ` Dominick Grift
  2016-12-04 17:48 ` Chris PeBenito
  1 sibling, 1 reply; 4+ messages in thread
From: Guido Trentalancia @ 2016-12-04 12:01 UTC (permalink / raw)
  To: refpolicy

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 <refpolicy@oss.tresys.com> wrote:
>From: Laurent Bigonville <bigon@bigon.be>
>
>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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [refpolicy] [PATCH] Add debian path for fprintd daemon
  2016-12-04 12:01 ` Guido Trentalancia
@ 2016-12-04 17:12   ` Dominick Grift
  0 siblings, 0 replies; 4+ messages in thread
From: Dominick Grift @ 2016-12-04 17:12 UTC (permalink / raw)
  To: refpolicy

On 12/04/2016 01:01 PM, Guido Trentalancia via refpolicy wrote:
> Hello!
> 
> I think the file context that you want to add should be enclosed within an ifdef block specific to your distribution.
> 

I believe we decided some time ago to no longer do that. Besides that
would inevitably favor one implementation over another.

> Guido 
> 
> On the 4th of December 2016 00:30:32 CET, Laurent Bigonville via refpolicy <refpolicy@oss.tresys.com> wrote:
>> From: Laurent Bigonville <bigon@bigon.be>
>>
>> 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)
> 
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
> 
g

-- 
Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8  02D5 3B6C 5F1D 2C7B 6B02
https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02
Dominick Grift

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20161204/3c477643/attachment.bin 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [refpolicy] [PATCH] Add debian path for fprintd daemon
  2016-12-03 23:30 [refpolicy] [PATCH] Add debian path for fprintd daemon Laurent Bigonville
  2016-12-04 12:01 ` Guido Trentalancia
@ 2016-12-04 17:48 ` Chris PeBenito
  1 sibling, 0 replies; 4+ messages in thread
From: Chris PeBenito @ 2016-12-04 17:48 UTC (permalink / raw)
  To: refpolicy

On 12/03/16 18:30, Laurent Bigonville via refpolicy wrote:
> From: Laurent Bigonville <bigon@bigon.be>
>
> 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)

Merged.

-- 
Chris PeBenito

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-04 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-03 23:30 [refpolicy] [PATCH] Add debian path for fprintd daemon Laurent Bigonville
2016-12-04 12:01 ` Guido Trentalancia
2016-12-04 17:12   ` Dominick Grift
2016-12-04 17:48 ` Chris PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.