| Server IP : 67.43.7.42 / Your IP : 216.73.216.241 Web Server : Apache System : Linux host.isabellascookies.com 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : isabella ( 503) PHP Version : 5.5.38 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/selinux/devel/include/services/ |
Upload File : |
## <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>
## Execute a domain transition to run vdagent.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`vdagent_domtrans',`
gen_require(`
type vdagent_t, vdagent_exec_t;
')
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>
## Read vdagent PID files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`vdagent_read_pid_files',`
gen_require(`
type vdagent_var_run_t;
')
files_search_pids($1)
allow $1 vdagent_var_run_t:file read_file_perms;
')
#####################################
## <summary>
## Connect to vdagent over a unix domain
## stream socket.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`vdagent_stream_connect',`
gen_require(`
type vdagent_var_run_t, vdagent_t;
')
files_search_pids($1)
stream_connect_pattern($1, vdagent_var_run_t, vdagent_var_run_t, vdagent_t)
')
########################################
## <summary>
## All of the rules required to administrate
## an vdagent environment
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`vdagent_admin',`
gen_require(`
type vdagent_t;
type vdagent_var_run_t;
')
allow $1 vdagent_t:process { ptrace signal_perms };
ps_process_pattern($1, vdagent_t)
files_search_pids($1)
admin_pattern($1, vdagent_var_run_t)
')