diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index 0a2a9fe7b6cba7af6c6dcfe1027663dd8d74b314..85419ba41dbad882de3ccb836e86f026b7f02522 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -901,7 +901,7 @@ getContext(const char *newpath, mode_t mode, security_context_t *fcon) if (handle == NULL) return -1; - ret = selabel_lookup(handle, fcon, newpath, mode); + ret = selabel_lookup_raw(handle, fcon, newpath, mode); selabel_close(handle); return ret; #else