2005-06-24 13:36:57 +00:00
|
|
|
## <summary>Network analysis utilities</summary>
|
2005-05-25 19:52:21 +00:00
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|
2005-06-13 17:35:46 +00:00
|
|
|
# netutils_domtrans(domain)
|
2005-05-25 19:52:21 +00:00
|
|
|
#
|
2005-06-22 19:21:31 +00:00
|
|
|
interface(`netutils_domtrans',`
|
2005-06-17 18:27:08 +00:00
|
|
|
gen_require(`
|
|
|
|
type netutils_t, netutils_exec_t;
|
|
|
|
class process sigchld;
|
|
|
|
class fd use;
|
|
|
|
class fifo_file rw_file_perms;
|
|
|
|
')
|
2005-06-03 12:25:14 +00:00
|
|
|
|
2005-06-17 18:27:08 +00:00
|
|
|
domain_auto_trans($1,netutils_exec_t,netutils_t)
|
2005-06-03 12:25:14 +00:00
|
|
|
|
|
|
|
allow $1 netutils_t:fd use;
|
|
|
|
allow netutils_t $1:fd use;
|
|
|
|
allow netutils_t $1:fifo_file rw_file_perms;
|
|
|
|
allow netutils_t $1:process sigchld;
|
2005-05-25 19:52:21 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
#
|
2005-06-13 17:35:46 +00:00
|
|
|
# netutils_exec(domain)
|
2005-05-25 19:52:21 +00:00
|
|
|
#
|
2005-06-22 19:21:31 +00:00
|
|
|
interface(`netutils_exec',`
|
2005-06-17 18:27:08 +00:00
|
|
|
gen_require(`
|
|
|
|
type netutils_exec_t;
|
|
|
|
')
|
2005-06-03 12:25:14 +00:00
|
|
|
|
2005-06-09 17:21:52 +00:00
|
|
|
can_exec($1,netutils_exec_t)
|
2005-05-25 19:52:21 +00:00
|
|
|
')
|