Terminal patch from Dan Walsh.

This commit is contained in:
Chris PeBenito 2010-06-09 08:22:31 -04:00
parent 98652c65a3
commit 135b1b4c54
2 changed files with 20 additions and 1 deletions

View File

@ -651,6 +651,25 @@ interface(`term_use_controlling_term',`
allow $1 devtty_t:chr_file { rw_term_perms lock append };
')
########################################
## <summary>
## Do not audit attempts to get attributes
## on the pty multiplexor (/dev/ptmx).
## </summary>
## <param name="domain">
## <summary>
## Domain to not audit.
## </summary>
## </param>
#
interface(`term_dontaudit_getattr_ptmx',`
gen_require(`
type ptmx_t;
')
dontaudit $1 ptmx_t:chr_file getattr;
')
########################################
## <summary>
## Read and write the pty multiplexor (/dev/ptmx).

View File

@ -1,5 +1,5 @@
policy_module(terminal, 1.8.0)
policy_module(terminal, 1.8.1)
########################################
#