Skip to contentSkip to conversation

sasl authd uses kerberos

PATCH Daniel J Walsh 2 participants 2 messages Mar 23, 2007 – Apr 11, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/sasl.te +11 -0
@@ -10,6 +10,9 @@
 type saslauthd_exec_t;
 init_daemon_domain(saslauthd_t,saslauthd_exec_t)
 
+type saslauthd_tmp_t;
+files_tmp_file(saslauthd_tmp_t)
+
 type saslauthd_var_run_t;
 files_pid_file(saslauthd_var_run_t)
 
@@ -26,6 +29,10 @@
 allow saslauthd_t self:unix_stream_socket create_stream_socket_perms;
 allow saslauthd_t self:tcp_socket create_socket_perms;
 
+manage_files_pattern(saslauthd_t,saslauthd_tmp_t,saslauthd_tmp_t)
+allow saslauthd_t saslauthd_tmp_t:dir setattr;
+files_tmp_filetrans(saslauthd_t,saslauthd_tmp_t,file)
+
 manage_files_pattern(saslauthd_t,saslauthd_var_run_t,saslauthd_var_run_t)
 manage_sock_files_pattern(saslauthd_t,saslauthd_var_run_t,saslauthd_var_run_t)
 files_pid_filetrans(saslauthd_t,saslauthd_var_run_t,file)
@@ -89,6 +96,10 @@
 ')
 
 optional_policy(`
+	kerberos_read_keytab(saslauthd_t)
+')
+
+optional_policy(`
 	mysql_search_db(saslauthd_t)
 	mysql_stream_connect(saslauthd_t)
 ')
#1 lore raw
Quoted 24 lines · Daniel J Walsh
policy/modules/services/sasl.te 2007-03-22 15:06:59.000000000 -0400 renamed from policy/modules/services/sasl.te 2007-03-20 23:38:13.000000000 -0400 +7 -0
@@ -10,6 +10,9 @@
 type saslauthd_exec_t;
 init_daemon_domain(saslauthd_t,saslauthd_exec_t)
 
+type saslauthd_tmp_t;
+files_tmp_file(saslauthd_tmp_t)
+
 type saslauthd_var_run_t;
 files_pid_file(saslauthd_var_run_t)
 
@@ -26,6 +29,10 @@
 allow saslauthd_t self:unix_stream_socket create_stream_socket_perms;
 allow saslauthd_t self:tcp_socket create_socket_perms;
 
+manage_files_pattern(saslauthd_t,saslauthd_tmp_t,saslauthd_tmp_t)
+allow saslauthd_t saslauthd_tmp_t:dir setattr;
+files_tmp_filetrans(saslauthd_t,saslauthd_tmp_t,file)
+
 manage_files_pattern(saslauthd_t,saslauthd_var_run_t,saslauthd_var_run_t)
 manage_sock_files_pattern(saslauthd_t,saslauthd_var_run_t,saslauthd_var_run_t)
 files_pid_filetrans(saslauthd_t,saslauthd_var_run_t,file)

policy/modules/services/sasl.te 2007-03-22 15:06:59.000000000 -0400 line 105

Quoted 10 lines
policy/modules/services/sasl.te 2007-03-22 15:06:59.000000000 -0400 renamed from policy/modules/services/sasl.te 2007-03-20 23:38:13.000000000 -0400 +4 -0
@@ -89,6 +96,10 @@
 ')
 
 optional_policy(`
+       kerberos_read_keytab(saslauthd_t)
+')
+
+optional_policy(`
        mysql_search_db(saslauthd_t)
        mysql_stream_connect(saslauthd_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.