(roleattribute loadkeys_roles)
(roletype loadkeys_roles loadkeys_t)
(type loadkeys_t)
(roletype object_r loadkeys_t)
(type loadkeys_exec_t)
(roletype object_r loadkeys_exec_t)
(roleattributeset cil_gen_require system_r)
(roletype system_r loadkeys_t)
(typeattributeset cil_gen_require initrc_t)
(typeattributeset cil_gen_require systemprocess)
(typeattributeset systemprocess (loadkeys_t ))
(typeattributeset cil_gen_require application_domain_type)
(typeattributeset application_domain_type (loadkeys_t ))
(typeattributeset cil_gen_require domain)
(typeattributeset domain (loadkeys_t ))
(typeattributeset cil_gen_require init_t)
(typeattributeset cil_gen_require application_exec_type)
(typeattributeset application_exec_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require exec_type)
(typeattributeset exec_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require file_type)
(typeattributeset file_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require non_security_file_type)
(typeattributeset non_security_file_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require non_auth_file_type)
(typeattributeset non_auth_file_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require entry_type)
(typeattributeset entry_type (loadkeys_exec_t ))
(typeattributeset cil_gen_require proc_t)
(typeattributeset cil_gen_require bin_t)
(typeattributeset cil_gen_require usr_t)
(typeattributeset cil_gen_require shell_exec_t)
(typeattributeset cil_gen_require etc_t)
(typeattributeset cil_gen_require etc_runtime_t)
(typeattributeset cil_gen_require var_t)
(typeattributeset cil_gen_require var_run_t)
(typeattributeset cil_gen_require src_t)
(typeattributeset cil_gen_require tmp_t)
(typeattributeset cil_gen_require console_device_t)
(typeattributeset cil_gen_require tty_device_t)
(typeattributeset cil_gen_require device_t)
(typeattributeset cil_gen_require initrc_tmp_t)
(typeattributeset cil_gen_require local_login_t)
(typeattributeset cil_gen_require locale_t)
(typeattributeset cil_gen_require user_devpts_t)
(typeattributeset cil_gen_require devpts_t)
(typeattributeset cil_gen_require user_tty_device_t)
(typeattributeset cil_gen_require user_home_t)
(allow loadkeys_t loadkeys_exec_t (file (entrypoint)))
(allow loadkeys_t loadkeys_exec_t (file (ioctl read getattr lock map execute open)))
(allow initrc_t loadkeys_exec_t (file (ioctl read getattr map execute open)))
(allow initrc_t loadkeys_t (process (transition)))
(dontaudit initrc_t loadkeys_t (process (noatsecure siginh rlimitinh)))
(typetransition initrc_t loadkeys_exec_t process loadkeys_t)
(allow loadkeys_t initrc_t (fd (use)))
(allow loadkeys_t initrc_t (fifo_file (ioctl read write getattr lock append)))
(allow loadkeys_t initrc_t (process (sigchld)))
(allow loadkeys_t self (capability (dac_override dac_read_search setuid sys_tty_config)))
(allow loadkeys_t self (fifo_file (ioctl read write getattr lock append open)))
(allow loadkeys_t self (unix_stream_socket (create connect)))
(allow loadkeys_t proc_t (dir (getattr open search)))
(allow loadkeys_t proc_t (file (ioctl read getattr lock open)))
(allow loadkeys_t proc_t (dir (getattr open search)))
(allow loadkeys_t proc_t (lnk_file (read getattr)))
(allow loadkeys_t proc_t (dir (getattr open search)))
(allow loadkeys_t proc_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t init_t (fd (use)))
(allow loadkeys_t bin_t (dir (getattr open search)))
(allow loadkeys_t bin_t (lnk_file (read getattr)))
(allow loadkeys_t usr_t (dir (getattr open search)))
(allow loadkeys_t bin_t (dir (getattr open search)))
(allow loadkeys_t bin_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t bin_t (file (ioctl read getattr lock map execute open execute_no_trans)))
(allow loadkeys_t bin_t (dir (getattr open search)))
(allow loadkeys_t bin_t (lnk_file (read getattr)))
(allow loadkeys_t usr_t (dir (getattr open search)))
(allow loadkeys_t bin_t (dir (getattr open search)))
(allow loadkeys_t bin_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t shell_exec_t (file (ioctl read getattr lock map execute open execute_no_trans)))
(allow loadkeys_t etc_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t etc_t (dir (getattr open search)))
(allow loadkeys_t etc_t (file (ioctl read getattr lock open)))
(allow loadkeys_t etc_t (dir (getattr open search)))
(allow loadkeys_t etc_t (lnk_file (read getattr)))
(allow loadkeys_t etc_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t etc_t (dir (getattr open search)))
(allow loadkeys_t etc_runtime_t (file (ioctl read getattr lock open)))
(allow loadkeys_t etc_t (dir (getattr open search)))
(allow loadkeys_t etc_runtime_t (lnk_file (read getattr)))
(allow loadkeys_t usr_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t usr_t (dir (getattr open search)))
(allow loadkeys_t usr_t (file (ioctl read getattr lock open)))
(allow loadkeys_t usr_t (dir (getattr open search)))
(allow loadkeys_t usr_t (lnk_file (read getattr)))
(allow loadkeys_t var_run_t (lnk_file (read getattr)))
(allow loadkeys_t var_t (dir (getattr open search)))
(allow loadkeys_t var_run_t (dir (getattr open search)))
(allow loadkeys_t src_t (dir (getattr open search)))
(allow loadkeys_t tmp_t (dir (getattr open search)))
(dontaudit loadkeys_t file_type (dir (getattr)))
(dontaudit loadkeys_t console_device_t (chr_file (ioctl read write getattr lock append open)))
(allow loadkeys_t device_t (dir (getattr open search)))
(allow loadkeys_t device_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t device_t (dir (getattr open search)))
(allow loadkeys_t device_t (lnk_file (read getattr)))
(allow loadkeys_t tty_device_t (chr_file (ioctl read write getattr lock append open)))
(allow loadkeys_t tmp_t (dir (getattr open search)))
(allow loadkeys_t initrc_tmp_t (dir (getattr open search)))
(allow loadkeys_t initrc_tmp_t (file (ioctl read getattr lock open)))
(allow loadkeys_t local_login_t (fd (use)))
(allow loadkeys_t etc_t (dir (getattr open search)))
(allow loadkeys_t etc_t (lnk_file (read getattr)))
(allow loadkeys_t usr_t (dir (getattr open search)))
(allow loadkeys_t locale_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t locale_t (dir (getattr open search)))
(allow loadkeys_t locale_t (file (ioctl read getattr lock open)))
(allow loadkeys_t locale_t (dir (getattr open search)))
(allow loadkeys_t locale_t (lnk_file (read getattr)))
(allow loadkeys_t locale_t (file (map)))
(allow loadkeys_t device_t (dir (getattr open search)))
(allow loadkeys_t device_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t device_t (dir (getattr open search)))
(allow loadkeys_t device_t (lnk_file (read getattr)))
(allow loadkeys_t devpts_t (dir (ioctl read getattr lock open search)))
(allow loadkeys_t user_devpts_t (chr_file (ioctl read write getattr append open)))
(allow loadkeys_t user_tty_device_t (chr_file (ioctl read write getattr append open)))
(allow loadkeys_t user_home_t (dir (ioctl read getattr lock open search)))
(optional loadkeys_optional_2
    (typeattributeset cil_gen_require init_t)
    (allow loadkeys_t init_t (process (sigchld)))
    (allow loadkeys_t init_t (process (signull)))
    (optional loadkeys_optional_3
        (typeattributeset cil_gen_require rpm_t)
        (allow loadkeys_t rpm_t (fd (use)))
        (allow loadkeys_t rpm_t (fifo_file (ioctl read getattr lock open)))
    )
    (optional loadkeys_optional_4
        (typeattributeset cil_gen_require security_t)
        (typeattributeset cil_gen_require sysfs_t)
        (dontaudit loadkeys_t security_t (filesystem (getattr)))
        (dontaudit loadkeys_t sysfs_t (filesystem (getattr)))
        (dontaudit loadkeys_t sysfs_t (dir (getattr open search)))
        (dontaudit loadkeys_t security_t (dir (getattr open search)))
        (dontaudit loadkeys_t security_t (file (ioctl read getattr lock open)))
    )
    (optional loadkeys_optional_5
        (typeattributeset cil_gen_require selinux_config_t)
        (dontaudit loadkeys_t selinux_config_t (dir (getattr open search)))
        (dontaudit loadkeys_t selinux_config_t (file (ioctl read getattr lock open)))
    )
    (optional loadkeys_optional_6
        (typeattributeset cil_gen_require etc_t)
        (typeattributeset cil_gen_require consolesetup_conf_t)
        (allow loadkeys_t etc_t (dir (getattr open search)))
        (allow loadkeys_t consolesetup_conf_t (dir (ioctl read getattr lock open search)))
        (allow loadkeys_t consolesetup_conf_t (file (ioctl read getattr lock open)))
        (allow loadkeys_t consolesetup_conf_t (lnk_file (read getattr)))
    )
    (optional loadkeys_optional_7
        (typeattributeset cil_gen_require nscd_runtime_t)
        (dontaudit loadkeys_t nscd_runtime_t (dir (getattr open search)))
    )
)
(filecon "/usr/bin/loadkeys" file (system_u object_r loadkeys_exec_t (systemlow systemlow)))
(filecon "/usr/bin/unikeys" file (system_u object_r loadkeys_exec_t (systemlow systemlow)))
