diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-06-10 10:20:50 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-06-10 10:20:50 -0400 |
commit | b078b5a7abf4ca81d83fc1db7d6fb1047129280f (patch) | |
tree | 0bb0f12c2a12205cb5edb99ad64c3f795bfd5b4b /src/core | |
parent | ad5ecc113821fbfa33f6fd43cdaee9c538cdff78 (diff) | |
parent | 2de56f70941eaf91a4520bf33de47a87ebd8b2cb (diff) |
Merge pull request #85 from keszybz/selinux-context
Diffstat (limited to 'src/core')
-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 5e9a4a5e02..decd42f95a 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -261,7 +261,7 @@ int mac_selinux_generic_access_check( audit_info.path = path; audit_info.cmdline = cl; - r = selinux_check_access((security_context_t) scon, fcon, tclass, permission, &audit_info); + r = selinux_check_access(scon, fcon, tclass, permission, &audit_info); if (r < 0) r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "SELinux policy denies access."); |