diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-18 01:55:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-18 01:55:24 +0200 |
commit | aba15a0391a04d5444319a609737c6b05f71e7c9 (patch) | |
tree | c8e4dacab8d113ed958de6220c4a10f0c150683c /src/core/selinux-access.c | |
parent | 901c3d0d85628e6a4708bc9748766029cf5c7f97 (diff) |
selinux: prefer source path over fragment path
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r-- | src/core/selinux-access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 30eab68336..fc1df866cf 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -684,7 +684,7 @@ int selinux_manager_access_check(DBusConnection *connection, DBusMessage *messag } } - path = (u->fragment_path ? u->fragment_path: u->source_path); + path = u->source_path ? u->source_path : u->fragment_path; } r = selinux_access_check(connection, message, m, error, perm, path); |