aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen Bennett <spb@exherbo.org> 2009-11-06 13:47:19 +0000
committerAvatar Stephen Bennett <spb@exherbo.org> 2009-11-06 13:47:19 +0000
commita360e94b28c1bbd9c3c0f3cf6046428fcdecba25 (patch)
tree55ff1f4117670461096f1074a0d27923fd37888d
parent6378b28b618c88f6d8d1c607ad17091821181ba2 (diff)
downloadpaludis-a360e94b28c1bbd9c3c0f3cf6046428fcdecba25.tar.gz
paludis-a360e94b28c1bbd9c3c0f3cf6046428fcdecba25.tar.xz
Use lsetfilecon instead of setfilecon when fixing selinux contexts during merge
-rw-r--r--paludis/selinux/security_context.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/selinux/security_context.cc b/paludis/selinux/security_context.cc
index c79c09e..e0ab29a 100644
--- a/paludis/selinux/security_context.cc
+++ b/paludis/selinux/security_context.cc
@@ -70,7 +70,7 @@ namespace
_matchpathcon_init = STUPID_CAST(int (*) (const char *),
dlsym(_handle, "matchpathcon_init"));
_setfilecon = STUPID_CAST(int (*) (const char *, security_context_t),
- dlsym(_handle, "setfilecon"));
+ dlsym(_handle, "lsetfilecon"));
_is_selinux_enabled = STUPID_CAST(int (*)(void),
dlsym(_handle, "is_selinux_enabled"));
}