HEX
Server: Apache
System: Linux server.enlacediseno.com 4.18.0-553.62.1.el8_10.x86_64 #1 SMP Wed Jul 16 04:08:25 EDT 2025 x86_64
User: maor (1069)
PHP: 7.3.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/selinux/devel/include/contrib/zosremote.if
## <summary>z/OS Remote-services Audit dispatcher plugin.</summary>

########################################
## <summary>
##	Execute a domain transition to run audispd-zos-remote.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed to transition.
##	</summary>
## </param>
#
interface(`zosremote_domtrans',`
	gen_require(`
		type zos_remote_t, zos_remote_exec_t;
	')

	corecmd_search_bin($1)
	domtrans_pattern($1, zos_remote_exec_t, zos_remote_t)
')

########################################
## <summary>
##	Execute zos remote in the zos remote
##	domain, and allow the specified role
##	the zos remote domain.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed to transition.
##	</summary>
## </param>
## <param name="role">
##	<summary>
##	Role allowed access.
##	</summary>
## </param>
## <rolecap/>
#
interface(`zosremote_run',`
	gen_require(`
		attribute_role zos_remote_roles;
	')

	zosremote_domtrans($1)
	roleattribute $2 zos_remote_roles;
')