diff options
Diffstat (limited to 'libselinux/src/setexecfilecon.c')
-rw-r--r-- | libselinux/src/setexecfilecon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libselinux/src/setexecfilecon.c b/libselinux/src/setexecfilecon.c index e574de10..e72ba0d9 100644 --- a/libselinux/src/setexecfilecon.c +++ b/libselinux/src/setexecfilecon.c @@ -1,7 +1,6 @@ #include <unistd.h> #include <fcntl.h> #include <string.h> -#include <selinux/flask.h> #include "selinux_internal.h" #include "context_internal.h" @@ -22,7 +21,7 @@ int setexecfilecon(const char *filename, const char *fallback_type) if (rc < 0) goto out; - rc = security_compute_create(mycon, fcon, SECCLASS_PROCESS, &newcon); + rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon); if (rc < 0) goto out; |