From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Tue, 3 Jul 2012 21:18:56 +0200 Subject: [refpolicy] [PATCH 3/6] Reshuffle tunable/optional In-Reply-To: <1341343139-5179-1-git-send-email-sven.vermeulen@siphos.be> References: <1341343139-5179-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1341343139-5179-4-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com As per the Reference Policy Style Guide, tunable_policy blocks need to go before the optional_policy blocks. Signed-off-by: Sven Vermeulen --- telnet.te | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/telnet.te b/telnet.te index f40e67b..3858d35 100644 --- a/telnet.te +++ b/telnet.te @@ -86,11 +86,6 @@ remotelogin_domtrans(telnetd_t) userdom_search_user_home_dirs(telnetd_t) userdom_setattr_user_ptys(telnetd_t) -optional_policy(` - kerberos_keytab_template(telnetd, telnetd_t) - kerberos_manage_host_rcache(telnetd_t) -') - tunable_policy(`use_nfs_home_dirs',` fs_search_nfs(telnetd_t) ') @@ -98,3 +93,8 @@ tunable_policy(`use_nfs_home_dirs',` tunable_policy(`use_samba_home_dirs',` fs_search_cifs(telnetd_t) ') + +optional_policy(` + kerberos_keytab_template(telnetd, telnetd_t) + kerberos_manage_host_rcache(telnetd_t) +') -- 1.7.8.6