system/mount.if: Add mount_rw_loopback_files interface

This commit is contained in:
Luis Ressel 2014-08-11 15:33:16 +02:00 committed by Chris PeBenito
parent 2b621e2c09
commit 0aa6f5b644
1 changed files with 18 additions and 0 deletions

View File

@ -191,3 +191,21 @@ interface(`mount_read_loopback_files',`
allow $1 mount_loopback_t:file read_file_perms;
')
########################################
## <summary>
## Read and write loopback filesystem image files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`mount_rw_loopback_files',`
gen_require(`
type mount_loopback_t;
')
allow $1 mount_loopback_t:file rw_file_perms;
')