maint: avoid deprecation warning with <selinux/flask.h>
commit50e61bfdb9d2df30e1db97ae4ebec7044e087d29
authorPádraig Brady <P@draigBrady.com>
Tue, 22 Sep 2015 18:07:41 +0000 (22 19:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 22 Sep 2015 18:09:32 +0000 (22 19:09 +0100)
tree9ac667a753a099eacf1ce96e9e1846b18cd1987a
parentdee6b7601009688cfb931379b47a701f7dd771e3
maint: avoid deprecation warning with <selinux/flask.h>

* src/runcon.c (main): As per the compile time warning from
libselinux-2.4-3, lookup the class with string_to_security_class(),
rather than using defines from flask.h.
src/runcon.c