Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: use string_to_security_class() instead of class ID
SELinux recommends to use string_to_security_class() instead of referencing class IDs directly. This also fixes a build issue for systems that don't include flask.h by default. References: https://selinuxproject.org/page/NB_Imp_SELinux-aware_Apps#Implementing_SELinux-aware_Applications_2 SELinuxProject/selinux@76913d8
- Loading branch information