[selinux-policy: 2362/3172] Tftp patch from Dan Walsh.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 22:29:41 UTC 2010


commit 2650ca57ec14d66f2c091b660575173e1e0642e8
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Thu Jan 7 09:01:10 2010 -0500

    Tftp patch from Dan Walsh.

 policy/modules/services/tftp.fc |    2 +-
 policy/modules/services/tftp.if |    2 +-
 policy/modules/services/tftp.te |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/policy/modules/services/tftp.fc b/policy/modules/services/tftp.fc
index 72274cd..25eee43 100644
--- a/policy/modules/services/tftp.fc
+++ b/policy/modules/services/tftp.fc
@@ -5,4 +5,4 @@
 /tftpboot		-d	gen_context(system_u:object_r:tftpdir_t,s0)
 /tftpboot/.*			gen_context(system_u:object_r:tftpdir_t,s0)
 
-/var/lib/tftpboot(/.*)?		gen_context(system_u:object_r:tftpdir_t,s0)
+/var/lib/tftpboot(/.*)?		gen_context(system_u:object_r:tftpdir_rw_t,s0)
diff --git a/policy/modules/services/tftp.if b/policy/modules/services/tftp.if
index 2cbde68..65d53fc 100644
--- a/policy/modules/services/tftp.if
+++ b/policy/modules/services/tftp.if
@@ -20,7 +20,7 @@ interface(`tftp_read_content',`
 
 ########################################
 ## <summary>
-##	All of the rules required to administrate 
+##	All of the rules required to administrate
 ##	an tftp environment
 ## </summary>
 ## <param name="domain">
diff --git a/policy/modules/services/tftp.te b/policy/modules/services/tftp.te
index 04ec94e..c6f45cc 100644
--- a/policy/modules/services/tftp.te
+++ b/policy/modules/services/tftp.te
@@ -1,5 +1,5 @@
 
-policy_module(tftp, 1.11.0)
+policy_module(tftp, 1.11.1)
 
 ########################################
 #
@@ -93,7 +93,7 @@ userdom_dontaudit_search_user_home_dirs(tftpd_t)
 
 tunable_policy(`tftp_anon_write',`
 	miscfiles_manage_public_files(tftpd_t)
-') 
+')
 
 optional_policy(`
 	inetd_udp_service_domain(tftpd_t, tftpd_exec_t)


More information about the scm-commits mailing list