2017-02-13 19:31:58

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] thunderbird: allow stream connections to cups so that it can print

Let thunderbird connect to cups using socket files so that it is
possible to print.

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/thunderbird.te | 1 +
1 file changed, 1 insertion(+)

diff -pru a/policy/modules/contrib/thunderbird.te b/policy/modules/contrib/thunderbird.te
--- a/policy/modules/contrib/thunderbird.te 2017-01-08 14:22:54.198247722 +0100
+++ b/policy/modules/contrib/thunderbird.te 2017-02-13 20:14:39.721795807 +0100
@@ -150,6 +150,7 @@ optional_policy(`

optional_policy(`
cups_read_rw_config(thunderbird_t)
+ cups_stream_connect(thunderbird_t)
')

optional_policy(`


2017-02-14 00:24:54

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] thunderbird: allow stream connections to cups so that it can print

On 02/13/17 14:31, Guido Trentalancia via refpolicy wrote:
> Let thunderbird connect to cups using socket files so that it is
> possible to print.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/contrib/thunderbird.te | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -pru a/policy/modules/contrib/thunderbird.te b/policy/modules/contrib/thunderbird.te
> --- a/policy/modules/contrib/thunderbird.te 2017-01-08 14:22:54.198247722 +0100
> +++ b/policy/modules/contrib/thunderbird.te 2017-02-13 20:14:39.721795807 +0100
> @@ -150,6 +150,7 @@ optional_policy(`
>
> optional_policy(`
> cups_read_rw_config(thunderbird_t)
> + cups_stream_connect(thunderbird_t)
> ')
>
> optional_policy(`

Merged.

--
Chris PeBenito

2017-02-14 00:27:16

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] thunderbird: allow stream connections to cups so that it can print

Hello Christopher.

A similar patch has been posted a few days ago for the mozilla module... It is still pending.

Regards,

Guido

On the 14th of February 2017 01:24:54 CET, Chris PeBenito <[email protected]> wrote:
>On 02/13/17 14:31, Guido Trentalancia via refpolicy wrote:
>> Let thunderbird connect to cups using socket files so that it is
>> possible to print.
>>
>> Signed-off-by: Guido Trentalancia <[email protected]>
>> ---
>> policy/modules/contrib/thunderbird.te | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff -pru a/policy/modules/contrib/thunderbird.te
>b/policy/modules/contrib/thunderbird.te
>> --- a/policy/modules/contrib/thunderbird.te 2017-01-08
>14:22:54.198247722 +0100
>> +++ b/policy/modules/contrib/thunderbird.te 2017-02-13
>20:14:39.721795807 +0100
>> @@ -150,6 +150,7 @@ optional_policy(`
>>
>> optional_policy(`
>> cups_read_rw_config(thunderbird_t)
>> + cups_stream_connect(thunderbird_t)
>> ')
>>
>> optional_policy(`
>
>Merged.