Get attributes of generic ptys, from Russell Coker.

This commit is contained in:
Chris PeBenito 2016-07-30 16:25:42 -04:00
parent 9f55b76f2a
commit 461451d7a7
3 changed files with 19 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3c2cbee38e9d220b9cf1844ceb53f46e0a7b210e Subproject commit a4b70fa0fe684595d4b3ff5f12fa043a9e723d11

View File

@ -536,6 +536,23 @@ interface(`term_relabel_pty_dirs',`
allow $1 devpts_t:dir relabel_dir_perms; allow $1 devpts_t:dir relabel_dir_perms;
') ')
########################################
## <summary>
## Get the attributes of generic pty devices.
## </summary>
## <param name="domain">
## <summary>
## Domain to allow
## </summary>
## </param>
#
interface(`term_getattr_generic_ptys',`
gen_require(`
type devpts_t;
')
allow $1 devpts_t:chr_file getattr;
')
######################################## ########################################
## <summary> ## <summary>
## Do not audit attempts to get the attributes ## Do not audit attempts to get the attributes

View File

@ -1,4 +1,4 @@
policy_module(terminal, 1.14.0) policy_module(terminal, 1.14.1)
######################################## ########################################
# #