[selinux-policy: 2707/3172] Fix deprecated interface usage in rhel4 block in su.if.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 23:00:45 UTC 2010


commit 91cbcc66028d5e5e4b554df5bdf208bce631d8ed
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Mon May 24 15:09:18 2010 -0400

    Fix deprecated interface usage in rhel4 block in su.if.

 policy/modules/admin/su.if |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/policy/modules/admin/su.if b/policy/modules/admin/su.if
index b993927..cce9b37 100644
--- a/policy/modules/admin/su.if
+++ b/policy/modules/admin/su.if
@@ -254,10 +254,10 @@ template(`su_role_template',`
 
 		# Relabel ttys and ptys.
 		term_relabel_all_ttys($1_su_t)
-		term_relabel_all_user_ptys($1_su_t)
+		term_relabel_all_ptys($1_su_t)
 		# Close and re-open ttys and ptys to get the fd into the correct domain.
 		term_use_all_ttys($1_su_t)
-		term_use_all_user_ptys($1_su_t)
+		term_use_all_ptys($1_su_t)
 
 		seutil_read_config($1_su_t)
 		seutil_read_default_contexts($1_su_t)


More information about the scm-commits mailing list