For virtd_lxc

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
Dominick Grift 2012-10-21 14:20:16 +02:00 committed by Chris PeBenito
parent 0122830bd9
commit f4a0be2dfc
1 changed files with 18 additions and 0 deletions

View File

@ -3906,6 +3906,24 @@ interface(`fs_dontaudit_getattr_tmpfs_dirs',`
dontaudit $1 tmpfs_t:dir getattr;
')
########################################
## <summary>
## Mount on tmpfs directories.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`fs_mounton_tmpfs',`
gen_require(`
type tmpfs_t;
')
allow $1 tmpfs_t:dir mounton;
')
########################################
## <summary>
## Set the attributes of tmpfs directories.