Skip to contentSkip to conversation

pcscd sends itself a signal and communicates with openct

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 11, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/pcscd.te +9 -0
@@ -21,6 +21,7 @@
 #
 
 allow pcscd_t self:capability { dac_override dac_read_search };
+allow pcscd_t self:process signal;
 allow pcscd_t self:fifo_file { read write };
 allow pcscd_t self:unix_stream_socket create_stream_socket_perms;
 allow pcscd_t self:unix_dgram_socket create_socket_perms;
@@ -57,5 +58,13 @@
 sysnet_dns_name_resolve(pcscd_t)
 
 optional_policy(`
+	openct_stream_connect(pcscd_t)
+	openct_read_pid_files(pcscd_t)
+	openct_signull(pcscd_t)
+')
+
+optional_policy(`
 	rpm_use_script_fds(pcscd_t)
 ')
+
+

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 12 lines · On Wed, 2007-05-30 at 10:35 -0400, [email protected] wrote:
policy/modules/services/pcscd.te +1 -0
@@ -21,6 +21,7 @@
 #
 
 allow pcscd_t self:capability { dac_override dac_read_search };
+allow pcscd_t self:process signal;
 allow pcscd_t self:fifo_file { read write };
 allow pcscd_t self:unix_stream_socket create_stream_socket_perms;
 allow pcscd_t self:unix_dgram_socket create_socket_perms;
@@ -57,5 +58,13 @@
 sysnet_dns_name_resolve(pcscd_t)

policy/modules/services/pcscd.te line 68

Quoted 10 lines
policy/modules/services/pcscd.te +6 -0
 
 optional_policy(`
+	openct_stream_connect(pcscd_t)
+	openct_read_pid_files(pcscd_t)
+	openct_signull(pcscd_t)
+')
+
+optional_policy(`
 	rpm_use_script_fds(pcscd_t)
 ')

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.