For virtd lxc
Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
parent
193760f130
commit
e04ad5fe92
|
@ -382,6 +382,25 @@ interface(`term_getattr_pty_fs',`
|
||||||
allow $1 devpts_t:filesystem getattr;
|
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>
|
## <summary>
|
||||||
## Do not audit attempts to get the
|
## Do not audit attempts to get the
|
||||||
|
|
Loading…
Reference in New Issue