summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2011-12-22 14:53:51 +0100
committerAles Kozumplik <akozumpl@redhat.com>2012-01-12 14:27:36 +0100
commit7a530738caf6a4c660211e6080b539dea4999d44 (patch)
treee8c312f98e2663b1c211a696abdb1627b8f1b884 /plugins
parent7a8b75d26605cf7a3fde9f624a80d6fb8390fcbd (diff)
downloadrpm-7a530738caf6a4c660211e6080b539dea4999d44.tar.gz
rpm-7a530738caf6a4c660211e6080b539dea4999d44.tar.bz2
rpm-7a530738caf6a4c660211e6080b539dea4999d44.zip
remove the 'path' parameter of rpmtsSELabelInit()
- It is always selinux_file_context_path() anyway.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sepolicy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sepolicy.c b/plugins/sepolicy.c
index adbbd13bb..52674c1dd 100644
--- a/plugins/sepolicy.c
+++ b/plugins/sepolicy.c
@@ -556,7 +556,7 @@ static rpmRC sepolGo(void)
/* re-init selinux and re-read the files contexts, since things may have changed */
selinux_reset_config();
if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS)) {
- if (rpmtsSELabelInit(ts, 0, selinux_file_context_path()) == RPMRC_OK) {
+ if (rpmtsSELabelInit(ts, 0) == RPMRC_OK) {
/* if this was the first time installing policy, every package before
* policy was installed will be mislabeled (e.g. semodule). So, relabel
* the entire filesystem if this is the case */