For virtd lxc
Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
parent
f4a0be2dfc
commit
f980fd9208
@ -1872,6 +1872,24 @@ interface(`files_delete_root_dir_entry',`
|
||||
allow $1 root_t:dir rw_dir_perms;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Relabel to and from rootfs file system.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`files_relabel_rootfs',`
|
||||
gen_require(`
|
||||
type root_t;
|
||||
')
|
||||
|
||||
allow $1 root_t:filesystem { relabelto relabelfrom };
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Unmount a rootfs filesystem.
|
||||
|
Loading…
Reference in New Issue
Block a user