[Rpm-maint] [rpm-software-management/rpm] selinux: use string_to_security_class() instead of class ID (#146)

Panu Matilainen notifications at github.com
Wed Feb 8 09:23:24 UTC 2017

pmatilai approved this pull request.

As per https://selinuxproject.org/page/NB_Imp_SELinux-aware_Apps#Implementing_SELinux-aware_Applications_2, one should check the string_to_security_class() return value for errors, but then I guess it's not that important for a hardcoded, known value such as here - libselinux itself does the same thing.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170208/ace6e3f6/attachment-0001.html>

More information about the Rpm-maint mailing list