Use can_exec.

This commit is contained in:
Dominick Grift 2010-09-17 12:36:31 +02:00
parent 1e92803c62
commit 618ce85f86

View File

@ -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)
')
########################################