Hello,
It seems that usemode is using hardcoded SELinux classes and permissions, this is deprecated in libselinux for about 5 years and upstream has decided to remove the flask.h header file in their next release (3.1).
Please port to the new API (string_to_security_class() and string_to_av_perm()) and remove selinux/flask.h and selinux/av_permissions.h includes
string_to_security_class()
string_to_av_perm()
selinux/flask.h
selinux/av_permissions.h
https://pagure.io/usermode/pull-request/7 fixes this issue
PR #7 has been merged.
Metadata Update from @jkucera: - Issue status updated to: Closed (was: Open)