From 618ce85f8644651501724947b134855e9e827a74 Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Sep 17 2010 12:32:47 +0000 Subject: Use can_exec. --- diff --git a/policy/modules/services/ftp.if b/policy/modules/services/ftp.if index bc27421..943219f 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) ') ########################################