(filecon "/dev/\.mdadm\.map" file (system_u object_r mdadm_var_run_t (systemlow systemlow)))
(filecon "/dev/md/.*" file (system_u object_r mdadm_var_run_t (systemlow systemlow)))
(filecon "/etc/rc\.d/init\.d/mdmonitor" file (system_u object_r mdadm_initrc_exec_t (systemlow systemlow)))
(filecon "/sbin/iprdump" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/iprinit" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/iprupdate" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/mdadm" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/mdmon" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/mdmpd" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/sbin/raid-check" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/iprdump" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/iprinit" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/iprupdate" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/mdadm" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/mdmpd" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/usr/sbin/raid-check" file (system_u object_r mdadm_exec_t (systemlow systemlow)))
(filecon "/var/run/mdadm(/.*)?" any (system_u object_r mdadm_var_run_t (systemlow systemlow)))
(typealias mdadm_map_t)
(typealiasactual mdadm_map_t mdadm_var_run_t)
(roleattribute mdadm_roles)
(roletype mdadm_roles mdadm_t)
(type mdadm_t)
(roletype object_r mdadm_t)
(type mdadm_exec_t)
(roletype object_r mdadm_exec_t)
(type mdadm_initrc_exec_t)
(roletype object_r mdadm_initrc_exec_t)
(type mdadm_var_run_t)
(roletype object_r mdadm_var_run_t)
(roleattributeset cil_gen_require system_r)
(roletype system_r mdadm_t)
(typeattributeset cil_gen_require initrc_t)
(typeattributeset cil_gen_require daemon)
(typeattributeset daemon (mdadm_t ))
(typeattributeset cil_gen_require domain)
(typeattributeset domain (mdadm_t ))
(typeattributeset cil_gen_require init_t)
(typeattributeset cil_gen_require sysfs_t)
(typeattributeset cil_gen_require entry_type)
(typeattributeset entry_type (mdadm_exec_t mdadm_initrc_exec_t ))
(typeattributeset cil_gen_require exec_type)
(typeattributeset exec_type (mdadm_exec_t mdadm_initrc_exec_t ))
(typeattributeset cil_gen_require file_type)
(typeattributeset file_type (mdadm_exec_t mdadm_initrc_exec_t mdadm_var_run_t ))
(typeattributeset cil_gen_require non_security_file_type)
(typeattributeset non_security_file_type (mdadm_exec_t mdadm_initrc_exec_t mdadm_var_run_t ))
(typeattributeset cil_gen_require non_auth_file_type)
(typeattributeset non_auth_file_type (mdadm_exec_t mdadm_initrc_exec_t mdadm_var_run_t ))
(typeattributeset cil_gen_require console_device_t)
(typeattributeset cil_gen_require initrc_devpts_t)
(typeattributeset cil_gen_require devpts_t)
(typeattributeset cil_gen_require device_t)
(typeattributeset cil_gen_require var_t)
(typeattributeset cil_gen_require var_run_t)
(typeattributeset cil_gen_require init_script_file_type)
(typeattributeset init_script_file_type (mdadm_initrc_exec_t ))
(typeattributeset cil_gen_require init_run_all_scripts_domain)
(typeattributeset cil_gen_require pidfile)
(typeattributeset pidfile (mdadm_var_run_t ))
(typeattributeset cil_gen_require tmpfs_t)
(typeattributeset cil_gen_require tmp_t)
(typeattributeset cil_gen_require proc_t)
(typeattributeset cil_gen_require proc_kcore_t)
(typeattributeset cil_gen_require sysctl_t)
(typeattributeset cil_gen_require sysctl_kernel_t)
(typeattributeset cil_gen_require kernel_t)
(typeattributeset cil_gen_require proc_mdstat_t)
(typeattributeset cil_gen_require bin_t)
(typeattributeset cil_gen_require shell_exec_t)
(typeattributeset cil_gen_require device_node)
(typeattributeset cil_gen_require clock_device_t)
(typeattributeset cil_gen_require memory_device_t)
(typeattributeset cil_gen_require memory_raw_read)
(typeattributeset memory_raw_read (mdadm_t ))
(typeattributeset cil_gen_require privfd)
(typeattributeset cil_gen_require etc_t)
(typeattributeset cil_gen_require etc_runtime_t)
(typeattributeset cil_gen_require filesystem_type)
(typeattributeset cil_gen_require autofs_t)
(typeattributeset cil_gen_require hugetlbfs_t)
(typeattributeset cil_gen_require cgroup_t)
(typeattributeset cil_gen_require mlsfileread)
(typeattributeset mlsfileread (mdadm_t ))
(typeattributeset cil_gen_require mlsfilewrite)
(typeattributeset mlsfilewrite (mdadm_t ))
(typeattributeset cil_gen_require fixed_disk_device_t)
(typeattributeset cil_gen_require fixed_disk_raw_read)
(typeattributeset fixed_disk_raw_read (mdadm_t ))
(typeattributeset cil_gen_require fixed_disk_raw_write)
(typeattributeset fixed_disk_raw_write (mdadm_t ))
(typeattributeset cil_gen_require scsi_generic_read)
(typeattributeset scsi_generic_read (mdadm_t ))
(typeattributeset cil_gen_require scsi_generic_device_t)
(typeattributeset cil_gen_require scsi_generic_write)
(typeattributeset scsi_generic_write (mdadm_t ))
(typeattributeset cil_gen_require tty_device_t)
(typeattributeset cil_gen_require initctl_t)
(typeattributeset cil_gen_require syslogd_t)
(typeattributeset cil_gen_require syslogd_var_run_t)
(typeattributeset cil_gen_require devlog_t)
(typeattributeset cil_gen_require init_var_run_t)
(typeattributeset cil_gen_require locale_t)
(typeattributeset cil_gen_require usr_t)
(typeattributeset cil_gen_require unpriv_userdomain)
(typeattributeset cil_gen_require user_home_t)
(typeattributeset cil_gen_require user_tty_device_t)
(typeattributeset cil_gen_require user_devpts_t)
(allow mdadm_t mdadm_exec_t (file (entrypoint)))
(allow mdadm_t mdadm_exec_t (file (ioctl read getattr lock execute open)))
(allow initrc_t mdadm_exec_t (file (read getattr execute open)))
(allow initrc_t mdadm_t (process (transition)))
(dontaudit initrc_t mdadm_t (process (noatsecure siginh rlimitinh)))
(typetransition initrc_t mdadm_exec_t process mdadm_t)
(allow mdadm_t initrc_t (fd (use)))
(allow mdadm_t initrc_t (fifo_file (ioctl read write getattr lock append open)))
(allow mdadm_t initrc_t (process (sigchld)))
(dontaudit mdadm_t init_t (fd (use)))
(dontaudit mdadm_t console_device_t (chr_file (ioctl read write getattr lock append open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (lnk_file (read getattr)))
(allow mdadm_t devpts_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t initrc_devpts_t (chr_file (ioctl read write getattr lock append open)))
(allow initrc_t mdadm_initrc_exec_t (file (entrypoint)))
(allow initrc_t mdadm_initrc_exec_t (file (ioctl read getattr lock execute open)))
(allow init_run_all_scripts_domain mdadm_initrc_exec_t (file (read getattr execute open)))
(allow init_run_all_scripts_domain initrc_t (process (transition)))
(dontaudit init_run_all_scripts_domain initrc_t (process (noatsecure siginh rlimitinh)))
(typetransition init_run_all_scripts_domain mdadm_initrc_exec_t process initrc_t)
(allow initrc_t init_run_all_scripts_domain (fd (use)))
(allow initrc_t init_run_all_scripts_domain (fifo_file (ioctl read write getattr lock append open)))
(allow initrc_t init_run_all_scripts_domain (process (sigchld)))
(allow mdadm_var_run_t device_t (filesystem (associate)))
(allow mdadm_var_run_t tmpfs_t (filesystem (associate)))
(allow mdadm_t self (capability (dac_override ipc_lock sys_admin)))
(dontaudit mdadm_t self (capability (sys_tty_config)))
(allow mdadm_t self (process (sigchld sigkill sigstop signull signal getsched setsched)))
(allow mdadm_t self (fifo_file (ioctl read write getattr lock append open)))
(allow mdadm_t self (netlink_kobject_uevent_socket (ioctl read write create getattr setattr append bind connect getopt setopt shutdown)))
(allow mdadm_t mdadm_var_run_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(allow mdadm_t mdadm_var_run_t (dir (ioctl read write create getattr setattr lock unlink link rename add_name remove_name reparent search rmdir open)))
(allow mdadm_t mdadm_var_run_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(allow mdadm_t mdadm_var_run_t (file (ioctl read write create getattr setattr lock append unlink link rename open)))
(allow mdadm_t mdadm_var_run_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(allow mdadm_t mdadm_var_run_t (lnk_file (ioctl read write create getattr setattr lock unlink link rename)))
(allow mdadm_t mdadm_var_run_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(allow mdadm_t mdadm_var_run_t (sock_file (ioctl read write create getattr setattr lock append unlink link rename open)))
(allow mdadm_t device_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(typetransition mdadm_t device_t file mdadm_var_run_t)
(allow mdadm_var_run_t device_t (filesystem (associate)))
(allow mdadm_var_run_t tmpfs_t (filesystem (associate)))
(allow mdadm_var_run_t tmp_t (filesystem (associate)))
(allow mdadm_t var_t (dir (getattr search open)))
(allow mdadm_t var_run_t (lnk_file (read getattr)))
(allow mdadm_t var_run_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(typetransition mdadm_t var_run_t dir mdadm_var_run_t)
(typetransition mdadm_t var_run_t file mdadm_var_run_t)
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_kcore_t (file (getattr)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_t (file (ioctl read getattr lock open)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_t (lnk_file (read getattr)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t sysctl_t (dir (getattr search open)))
(allow mdadm_t sysctl_kernel_t (dir (getattr search open)))
(allow mdadm_t sysctl_kernel_t (file (ioctl read getattr lock open)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t sysctl_t (dir (getattr search open)))
(allow mdadm_t sysctl_kernel_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t kernel_t (system (module_request)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_mdstat_t (file (ioctl read write getattr lock append open)))
(allow mdadm_t proc_t (dir (getattr search open)))
(allow mdadm_t proc_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t bin_t (dir (getattr search open)))
(allow mdadm_t bin_t (lnk_file (read getattr)))
(allow mdadm_t bin_t (dir (getattr search open)))
(allow mdadm_t bin_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t bin_t (file (ioctl read getattr lock execute execute_no_trans open)))
(allow mdadm_t bin_t (dir (getattr search open)))
(allow mdadm_t bin_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t bin_t (dir (getattr search open)))
(allow mdadm_t bin_t (lnk_file (read getattr)))
(allow mdadm_t shell_exec_t (file (ioctl read getattr lock execute execute_no_trans open)))
(allow mdadm_t sysfs_t (dir (getattr search open)))
(allow mdadm_t sysfs_t (file (ioctl read write getattr lock append open)))
(allow mdadm_t sysfs_t (dir (getattr search open)))
(allow mdadm_t sysfs_t (lnk_file (read getattr)))
(allow mdadm_t sysfs_t (dir (getattr search open)))
(allow mdadm_t sysfs_t (dir (ioctl read getattr lock search open)))
(dontaudit mdadm_t device_t (blk_file (getattr)))
(dontaudit mdadm_t device_node (blk_file (getattr)))
(dontaudit mdadm_t device_t (chr_file (getattr)))
(dontaudit mdadm_t device_node (chr_file (getattr)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t clock_device_t (chr_file (ioctl read getattr lock open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t memory_device_t (chr_file (ioctl read getattr lock open)))
(allow mdadm_t self (capability (sys_rawio)))
(allow mdadm_t privfd (fd (use)))
(allow mdadm_t etc_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t etc_t (dir (getattr search open)))
(allow mdadm_t etc_t (file (ioctl read getattr lock open)))
(allow mdadm_t etc_t (dir (getattr search open)))
(allow mdadm_t etc_t (lnk_file (read getattr)))
(allow mdadm_t etc_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t etc_t (dir (getattr search open)))
(allow mdadm_t etc_runtime_t (file (ioctl read getattr lock open)))
(allow mdadm_t etc_t (dir (getattr search open)))
(allow mdadm_t etc_runtime_t (lnk_file (read getattr)))
(dontaudit mdadm_t file_type (file (getattr)))
(allow mdadm_t filesystem_type (filesystem (getattr)))
(allow mdadm_t file_type (filesystem (getattr)))
(allow mdadm_t autofs_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t hugetlbfs_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t cgroup_t (dir (getattr search open)))
(allow mdadm_t cgroup_t (file (ioctl read write getattr lock append open)))
(allow mdadm_t sysfs_t (dir (getattr search open)))
(allow mdadm_t sysfs_t (dir (getattr search open)))
(dontaudit mdadm_t tmpfs_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (ioctl read write getattr lock add_name remove_name search open)))
(typetransition mdadm_t device_t blk_file fixed_disk_device_t)
(allow fixed_disk_device_t device_t (filesystem (associate)))
(allow fixed_disk_device_t tmpfs_t (filesystem (associate)))
(allow fixed_disk_device_t tmp_t (filesystem (associate)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (lnk_file (read getattr)))
(allow mdadm_t self (capability (mknod)))
(allow mdadm_t fixed_disk_device_t (blk_file (ioctl read write create getattr setattr lock append unlink link rename open)))
(allow mdadm_t fixed_disk_device_t (chr_file (ioctl read write create getattr setattr lock append unlink link rename open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (lnk_file (read getattr)))
(allow mdadm_t scsi_generic_device_t (chr_file (ioctl read getattr lock open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (lnk_file (read getattr)))
(allow mdadm_t scsi_generic_device_t (chr_file (ioctl write getattr lock append open)))
(dontaudit mdadm_t devpts_t (dir (read getattr search)))
(dontaudit mdadm_t tty_device_t (chr_file (ioctl read write getattr lock append open)))
(dontaudit mdadm_t initctl_t (fifo_file (getattr)))
(allow mdadm_t devlog_t (sock_file (write getattr append open)))
(allow mdadm_t var_run_t (lnk_file (read getattr)))
(allow mdadm_t var_t (dir (getattr search open)))
(allow mdadm_t var_run_t (dir (getattr search open)))
(allow mdadm_t init_var_run_t (dir (getattr search open)))
(allow mdadm_t syslogd_var_run_t (dir (getattr search open)))
(allow mdadm_t syslogd_t (unix_dgram_socket (sendto)))
(allow mdadm_t syslogd_t (unix_stream_socket (connectto)))
(allow mdadm_t self (unix_dgram_socket (ioctl read write create getattr setattr append bind connect getopt setopt shutdown)))
(allow mdadm_t self (unix_stream_socket (ioctl read write create getattr setattr append bind connect getopt setopt shutdown)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t device_t (dir (getattr search open)))
(allow mdadm_t device_t (lnk_file (read getattr)))
(allow mdadm_t console_device_t (chr_file (ioctl write getattr lock append open)))
(dontaudit mdadm_t console_device_t (chr_file (ioctl read getattr lock open)))
(allow mdadm_t etc_t (dir (getattr search open)))
(allow mdadm_t etc_t (lnk_file (read getattr)))
(allow mdadm_t usr_t (dir (getattr search open)))
(allow mdadm_t locale_t (dir (ioctl read getattr lock search open)))
(allow mdadm_t locale_t (dir (getattr search open)))
(allow mdadm_t locale_t (file (ioctl read getattr lock open)))
(allow mdadm_t locale_t (dir (getattr search open)))
(allow mdadm_t locale_t (lnk_file (read getattr)))
(dontaudit mdadm_t unpriv_userdomain (fd (use)))
(dontaudit mdadm_t user_home_t (dir (getattr search open)))
(dontaudit mdadm_t user_tty_device_t (chr_file (ioctl read write getattr append open)))
(dontaudit mdadm_t user_devpts_t (chr_file (ioctl read write getattr append open)))
(optional raid_optional_2
    (typeattributeset cil_gen_require init_t)
    (allow mdadm_t init_t (process (sigchld)))
    (allow mdadm_t init_t (process (signull)))
    (optional raid_optional_3
        (typeattributeset cil_gen_require rpm_t)
        (allow mdadm_t rpm_t (fd (use)))
        (allow mdadm_t rpm_t (fifo_file (ioctl read getattr lock open)))
    )
    (optional raid_optional_4
        (typeattributeset cil_gen_require security_t)
        (typeattributeset cil_gen_require sysfs_t)
        (dontaudit mdadm_t security_t (filesystem (getattr)))
        (dontaudit mdadm_t sysfs_t (filesystem (getattr)))
        (dontaudit mdadm_t sysfs_t (dir (getattr search open)))
        (dontaudit mdadm_t security_t (dir (getattr search open)))
        (dontaudit mdadm_t security_t (file (ioctl read getattr lock open)))
    )
    (optional raid_optional_5
        (typeattributeset cil_gen_require selinux_config_t)
        (dontaudit mdadm_t selinux_config_t (dir (getattr search open)))
        (dontaudit mdadm_t selinux_config_t (file (ioctl read getattr lock open)))
    )
    (optional raid_optional_6
        (typeattributeset cil_gen_require nscd_t)
        (typeattributeset cil_gen_require nscd_var_run_t)
        (typeattributeset cil_gen_require var_t)
        (typeattributeset cil_gen_require var_run_t)
        (booleanif (nscd_use_shm)
            (true
                (allow mdadm_t nscd_var_run_t (sock_file (read getattr open)))
                (allow mdadm_t nscd_var_run_t (dir (ioctl read getattr lock search open)))
                (dontaudit mdadm_t nscd_var_run_t (file (ioctl read getattr lock open)))
                (allow mdadm_t nscd_t (unix_stream_socket (connectto)))
                (allow mdadm_t nscd_var_run_t (sock_file (write getattr append open)))
                (allow mdadm_t nscd_var_run_t (dir (getattr search open)))
                (allow mdadm_t var_run_t (dir (getattr search open)))
                (allow mdadm_t var_t (dir (getattr search open)))
                (allow mdadm_t var_run_t (lnk_file (read getattr)))
                (allow mdadm_t nscd_t (fd (use)))
                (allow mdadm_t nscd_t (nscd (getpwd getgrp gethost shmempwd shmemgrp shmemhost)))
                (allow mdadm_t self (unix_stream_socket (ioctl read write create getattr setattr append bind connect listen accept getopt setopt shutdown)))
            )
            (false
                (allow nscd_t mdadm_t (process (getattr)))
                (allow nscd_t mdadm_t (lnk_file (read getattr)))
                (allow nscd_t mdadm_t (file (ioctl read getattr lock open)))
                (allow nscd_t mdadm_t (dir (ioctl read getattr lock search open)))
                (dontaudit mdadm_t nscd_var_run_t (file (ioctl read getattr lock open)))
                (allow mdadm_t nscd_t (unix_stream_socket (connectto)))
                (allow mdadm_t nscd_var_run_t (sock_file (write getattr append open)))
                (allow mdadm_t nscd_var_run_t (dir (getattr search open)))
                (allow mdadm_t var_run_t (dir (getattr search open)))
                (allow mdadm_t var_t (dir (getattr search open)))
                (allow mdadm_t var_run_t (lnk_file (read getattr)))
                (dontaudit mdadm_t nscd_t (nscd (shmempwd shmemgrp shmemhost getserv shmemserv)))
                (dontaudit mdadm_t nscd_t (fd (use)))
                (allow mdadm_t nscd_t (nscd (getpwd getgrp gethost)))
                (allow mdadm_t self (unix_stream_socket (ioctl read write create getattr setattr append bind connect getopt setopt shutdown)))
            )
        )
    )
    (optional raid_optional_7
        (typeattributeset cil_gen_require crond_t)
        (typeattributeset cil_gen_require system_cronjob_t)
        (allow system_cronjob_t mdadm_exec_t (file (read getattr execute open)))
        (allow system_cronjob_t mdadm_t (process (transition)))
        (dontaudit system_cronjob_t mdadm_t (process (noatsecure siginh rlimitinh)))
        (typetransition system_cronjob_t mdadm_exec_t process mdadm_t)
        (allow mdadm_t system_cronjob_t (fd (use)))
        (allow mdadm_t system_cronjob_t (fifo_file (ioctl read write getattr lock append open)))
        (allow mdadm_t system_cronjob_t (process (sigchld)))
        (allow crond_t mdadm_exec_t (file (read getattr execute open)))
        (allow crond_t mdadm_t (process (transition)))
        (dontaudit crond_t mdadm_t (process (noatsecure siginh rlimitinh)))
        (typetransition crond_t mdadm_exec_t process mdadm_t)
        (allow mdadm_t crond_t (fd (use)))
        (allow mdadm_t crond_t (fifo_file (ioctl read write getattr lock append open)))
        (allow mdadm_t crond_t (process (sigchld)))
    )
    (optional raid_optional_8
        (typeattributeset cil_gen_require gpmctl_t)
        (dontaudit mdadm_t gpmctl_t (sock_file (getattr)))
    )
    (optional raid_optional_9
        (typeattributeset cil_gen_require bin_t)
        (typeattributeset cil_gen_require system_mail_t)
        (typeattributeset cil_gen_require mta_exec_type)
        (typeattributeset cil_gen_require mta_user_agent)
        (allow mdadm_t bin_t (dir (getattr search open)))
        (allow mdadm_t bin_t (dir (getattr search open)))
        (allow mdadm_t mta_exec_type (file (read getattr execute open)))
        (allow mdadm_t system_mail_t (process (transition)))
        (dontaudit mdadm_t system_mail_t (process (noatsecure siginh rlimitinh)))
        (typetransition mdadm_t mta_exec_type process system_mail_t)
        (allow system_mail_t mdadm_t (fd (use)))
        (allow system_mail_t mdadm_t (fifo_file (ioctl read write getattr lock append open)))
        (allow system_mail_t mdadm_t (process (sigchld)))
        (allow mdadm_t mta_exec_type (lnk_file (read getattr)))
        (dontaudit mta_user_agent mdadm_t (fd (use)))
    )
    (optional raid_optional_10
        (typeattributeset cil_gen_require newrole_t)
        (allow mdadm_t newrole_t (process (sigchld)))
    )
    (optional raid_optional_11
        (typeattributeset cil_gen_require device_t)
        (typeattributeset cil_gen_require var_t)
        (typeattributeset cil_gen_require etc_t)
        (typeattributeset cil_gen_require udev_tbl_t)
        (typeattributeset cil_gen_require udev_var_run_t)
        (typeattributeset cil_gen_require var_lib_t)
        (allow mdadm_t udev_tbl_t (dir (ioctl read getattr lock search open)))
        (allow mdadm_t udev_tbl_t (dir (getattr search open)))
        (allow mdadm_t udev_tbl_t (file (ioctl read getattr lock open)))
        (allow mdadm_t udev_tbl_t (dir (getattr search open)))
        (allow mdadm_t udev_tbl_t (lnk_file (read getattr)))
        (allow mdadm_t device_t (dir (getattr search open)))
        (allow mdadm_t device_t (dir (ioctl read getattr lock search open)))
        (allow mdadm_t device_t (dir (getattr search open)))
        (allow mdadm_t device_t (lnk_file (read getattr)))
        (allow mdadm_t etc_t (dir (getattr search open)))
        (allow mdadm_t var_t (dir (getattr search open)))
        (allow mdadm_t var_lib_t (dir (getattr search open)))
        (allow mdadm_t udev_var_run_t (dir (getattr search open)))
        (allow mdadm_t udev_var_run_t (dir (getattr search open)))
    )
)
