For virtd lxc

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

View File

@ -1872,6 +1872,24 @@ interface(`files_delete_root_dir_entry',`
allow $1 root_t:dir rw_dir_perms;
')
########################################
## <summary>
## Associate to root file system.
## </summary>
## <param name="file_type">
## <summary>
## Type of the file to associate.
## </summary>
## </param>
#
interface(`files_associate_rootfs',`
gen_require(`
type root_t;
')
allow $1 root_t:filesystem associate;
')
########################################
## <summary>
## Relabel to and from rootfs file system.