Skip to contentSkip to conversation

Update the policy for module apm

PATCH New Guido Trentalancia 2 participants 2 messages Aug 10, 2016 – Aug 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update the policy for module apm

Update needed for the normal functioning of the acpi daemon.

---
 policy/modules/contrib/apm.te |    1 +
 1 file changed, 1 insertion(+)
policy/modules/contrib/apm.te +1 -0
@@ -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;
#1 lore raw

PATCH 1/1 Update the policy for module apm

Quoted 10 lines · Guido Trentalancia

Update needed for the normal functioning of the acpi daemon.

---
 policy/modules/contrib/apm.te |    1 +
 1 file changed, 1 insertion(+)

policy/modules/contrib/apm.te dontaudit apmd_t self:capability { setui · line 70

Quoted 7 lines
policy/modules/contrib/apm.te +1 -0
@@ -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.

Signature · 1 line
Chris PeBenito