For virtd lxc

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

View File

@ -382,6 +382,25 @@ interface(`term_getattr_pty_fs',`
allow $1 devpts_t:filesystem getattr;
')
########################################
## <summary>
## Relabel from and to pty filesystem.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`term_relabel_pty_fs',`
gen_require(`
type devpts_t;
')
dev_list_all_dev_nodes($1)
allow $1 devpts_t:filesystem { relabelto relabelfrom };
')
########################################
## <summary>
## Do not audit attempts to get the