add newrole:fd use

This commit is contained in:
Chris PeBenito 2005-05-02 21:01:31 +00:00
parent 3a9aef9246
commit ab64c30fc3
2 changed files with 28 additions and 0 deletions

View File

@ -124,6 +124,20 @@ type newrole_t;
class process sigchld;
')
#######################################
#
# selinux_newrole_use_file_descriptors(domain)
#
define(`selinux_newrole_use_file_descriptors',`
requires_block_template(selinux_newrole_use_file_descriptors_depend)
allow $1 newrole_t:fd use;
')
define(`selinux_newrole_use_file_descriptors_depend',`
type newrole_t;
class fd use;
')
#######################################
#
# selinux_restorecon_transition(domain)

View File

@ -124,6 +124,20 @@ type newrole_t;
class process sigchld;
')
#######################################
#
# selinux_newrole_use_file_descriptors(domain)
#
define(`selinux_newrole_use_file_descriptors',`
requires_block_template(selinux_newrole_use_file_descriptors_depend)
allow $1 newrole_t:fd use;
')
define(`selinux_newrole_use_file_descriptors_depend',`
type newrole_t;
class fd use;
')
#######################################
#
# selinux_restorecon_transition(domain)