## <summary>policy for vdagent</summary>
+#####################################
+## <summary>
+## Getattr on vdagent executable.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed to transition.
+## </summary>
+## </param>
+#
+interface(`vdagent_getattr_exec',`
+ gen_require(`
+ type vdagent_exec_t;
+ ')
+
+ allow $1 vdagent_exec_t:file getattr;
+')
########################################
## <summary>
domtrans_pattern($1, vdagent_exec_t, vdagent_t)
')
+#######################################
+## <summary>
+## Get the attributes of vdagent logs.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+#
+interface(`vdagent_getattr_log',`
+ gen_require(`
+ type vdagent_log_t;
+ ')
+
+ logging_search_logs($1)
+ allow $1 vdagent_log_t:file getattr_file_perms;
+')
########################################
## <summary>
optional_policy(`
ppp_run_cond($1_t, $1_r)
')
+
+ optional_policy(`
+ vdagent_getattr_log($1_t)
+ vdagent_getattr_exec($1_t)
+ vdagent_stream_connect($1_t)
+ ')
')
#######################################