Use can_exec.
This commit is contained in:
parent
1e92803c62
commit
618ce85f86
@ -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)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user