| Server IP : 77.68.64.21 / Your IP : 216.73.217.145 Web Server : Apache System : Linux hp3-wp-1011352.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2516497 ( 2094697) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/selinux/devel/include/system/ |
Upload File : |
## <summary>Policy for getty.</summary> ######################################## ## <summary> ## Execute gettys in the getty domain. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed to transition. ## </summary> ## </param> # interface(`getty_domtrans',` gen_require(` type getty_t, getty_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, getty_exec_t, getty_t) ') ######################################## ## <summary> ## Inherit and use getty file descriptors. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`getty_use_fds',` gen_require(` type getty_t; ') allow $1 getty_t:fd use; ') ######################################## ## <summary> ## Allow process to read getty log file. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`getty_read_log',` gen_require(` type getty_log_t; ') logging_search_logs($1) allow $1 getty_log_t:file read_file_perms; ') ######################################## ## <summary> ## Allow process to read getty config file. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`getty_read_config',` gen_require(` type getty_etc_t; ') files_search_etc($1) allow $1 getty_etc_t:file read_file_perms; ') ######################################## ## <summary> ## Allow process to edit getty config file. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> ## <rolecap/> # interface(`getty_rw_config',` gen_require(` type getty_etc_t; ') files_search_etc($1) allow $1 getty_etc_t:file rw_file_perms; ') ######################################## ## <summary> ## Execute getty server in the getty domain. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed to transition. ## </summary> ## </param> # interface(`getty_systemctl',` gen_require(` type getty_unit_file_t; type getty_t; ') systemd_exec_systemctl($1) allow $1 getty_unit_file_t:file read_file_perms; allow $1 getty_unit_file_t:service manage_service_perms; ps_process_pattern($1, getty_t) ') ######################################## ## <summary> ## Start getty unit files domain. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed to transition. ## </summary> ## </param> # interface(`getty_start_services',` gen_require(` type getty_unit_file_t; ') systemd_exec_systemctl($1) allow $1 getty_unit_file_t:service start; ')