python-validity/selinux/python3-validity.te
Veit Wahlich e6a7713d07 RPM packaging (Fedora) and SELinux module
* added specfile for rpmbuild
 * added missing [Install] unit to systemd service unit
 * added SELinux module to grant python-validity the required permissions
2020-11-14 00:16:27 +01:00

19 lines
456 B
Text

module python3-validity 1.0;
require {
type init_tmp_t;
type usr_t;
type usb_device_t;
type init_t;
class chr_file { ioctl open read write };
class file { execute map write };
}
#============= init_t ==============
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files'
allow init_t init_tmp_t:file map;
allow init_t init_tmp_t:file execute;
allow init_t usb_device_t:chr_file { ioctl open read write };
allow init_t usr_t:file write;