From 618ce85f8644651501724947b134855e9e827a74 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Fri, 17 Sep 2010 12:36:31 +0200 Subject: [PATCH] Use can_exec. --- policy/modules/services/ftp.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/ftp.if b/policy/modules/services/ftp.if index bc274219..943219f0 100644 --- a/policy/modules/services/ftp.if +++ b/policy/modules/services/ftp.if @@ -67,7 +67,7 @@ interface(`ftp_check_exec',` ') corecmd_search_bin($1) - allow $1 ftpd_exec_t:file { getattr execute }; + can_exec($1, ftpd_exec_t) ') ########################################