#45 Do not use deprecated flask.h and av_permissions.h
Merged by jhrozek. Opened by plautrba.
plautrba/libuser do-not-use-flask.h  into  master

Download 45.patch

selinux/flask.h and selinux/av_permissions.h will be completely dropped in the
next SELinux release.

Use string_to_security_class() and string_to_av_perm() to get class and
permission values. The original hardcoded values could be invalid and are
deprecated as the whole flask.h and av_permissions.h header files.

Fixes: https://pagure.io/libuser/issue/44

Commit 5b053cfc fixes this pull-request

Pull-Request has been merged by jhrozek

Pull-Request has been merged by jhrozek

Metadata