2005-05-09 13:26:33 +00:00
|
|
|
# Copyright (C) 2005 Tresys Technology, LLC
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|
|
|
|
# hostname_transition(domain)
|
|
|
|
#
|
|
|
|
define(`hostname_transition',`
|
|
|
|
requires_block_template(`$0'_depend)
|
|
|
|
allow $1 hostname_exec_t:file { getattr read execute };
|
|
|
|
allow $1 hostname_t:process transition;
|
2005-05-24 20:45:27 +00:00
|
|
|
type_transition $1 hostname_exec_t:process hostname_t;
|
2005-05-09 13:26:33 +00:00
|
|
|
dontaudit $1 hostname_t:process { noatsecure siginh rlimitinh };
|
|
|
|
')
|
|
|
|
|
|
|
|
define(`hostname_transition_depend',`
|
|
|
|
type hostname_t, hostname_exec_t;
|
|
|
|
class file { getattr read execute };
|
|
|
|
class process { transition noatsecure siginh rlimitinh };
|
|
|
|
')
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|
|
|
|
# hostname_execute(domain)
|
|
|
|
#
|
|
|
|
define(`hostname_execute',`
|
|
|
|
requires_block_template(`$0'_depend)
|
|
|
|
allow $1 hostname_exec_t:file { getattr read execute execute_no_trans };
|
|
|
|
')
|
|
|
|
|
|
|
|
define(`hostname_execute_depend',`
|
|
|
|
type hostname_exec_t;
|
|
|
|
class file { getattr read execute execute_no_trans };
|
|
|
|
')
|