2016-08-10 20:44:15

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] Update the policy for module apm

Update needed for the normal functioning of the acpi daemon.

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

--- refpolicy-git-06082016-orig/policy/modules/contrib/apm.te 2016-08-06 21:27:11.329094052 +0200
+++ refpolicy-git-06082016/policy/modules/contrib/apm.te 2016-08-10 22:36:30.067236754 +0200
@@ -64,6 +64,7 @@ dontaudit apmd_t self:capability { setui
allow apmd_t self:process { signal_perms getsession };
allow apmd_t self:fifo_file rw_fifo_file_perms;
allow apmd_t self:netlink_socket create_socket_perms;
+allow apmd_t self:netlink_generic_socket create_socket_perms;
allow apmd_t self:unix_stream_socket { accept listen };

allow apmd_t apmd_lock_t:file manage_file_perms;


2016-08-13 13:34:25

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] Update the policy for module apm

On 08/10/16 16:44, Guido Trentalancia wrote:
> Update needed for the normal functioning of the acpi daemon.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/contrib/apm.te | 1 +
> 1 file changed, 1 insertion(+)
>
> --- refpolicy-git-06082016-orig/policy/modules/contrib/apm.te 2016-08-06 21:27:11.329094052 +0200
> +++ refpolicy-git-06082016/policy/modules/contrib/apm.te 2016-08-10 22:36:30.067236754 +0200
> @@ -64,6 +64,7 @@ dontaudit apmd_t self:capability { setui
> allow apmd_t self:process { signal_perms getsession };
> allow apmd_t self:fifo_file rw_fifo_file_perms;
> allow apmd_t self:netlink_socket create_socket_perms;
> +allow apmd_t self:netlink_generic_socket create_socket_perms;
> allow apmd_t self:unix_stream_socket { accept listen };
>
> allow apmd_t apmd_lock_t:file manage_file_perms;

Merged.

--
Chris PeBenito