Merge pull request #142 from fishilico/mount-search-bin
This commit is contained in:
commit
ce968cefbb
|
@ -15,6 +15,7 @@ interface(`mount_domtrans',`
|
|||
type mount_t, mount_exec_t;
|
||||
')
|
||||
|
||||
corecmd_search_bin($1)
|
||||
domtrans_pattern($1, mount_exec_t, mount_t)
|
||||
')
|
||||
|
||||
|
@ -64,6 +65,7 @@ interface(`mount_exec',`
|
|||
allow $1 mount_exec_t:dir list_dir_perms;
|
||||
|
||||
allow $1 mount_exec_t:lnk_file read_lnk_file_perms;
|
||||
corecmd_search_bin($1)
|
||||
can_exec($1, mount_exec_t)
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue