system/mount.if: Add mount_rw_loopback_files interface
This commit is contained in:
parent
2b621e2c09
commit
0aa6f5b644
|
@ -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;
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue