add newrole:fd use
This commit is contained in:
parent
3a9aef9246
commit
ab64c30fc3
@ -124,6 +124,20 @@ type newrole_t;
|
|||||||
class process sigchld;
|
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)
|
# selinux_restorecon_transition(domain)
|
||||||
|
@ -124,6 +124,20 @@ type newrole_t;
|
|||||||
class process sigchld;
|
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)
|
# selinux_restorecon_transition(domain)
|
||||||
|
Loading…
Reference in New Issue
Block a user