diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2011-12-22 14:53:51 +0100 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2012-01-12 14:27:36 +0100 |
commit | 7a530738caf6a4c660211e6080b539dea4999d44 (patch) | |
tree | e8c312f98e2663b1c211a696abdb1627b8f1b884 /plugins | |
parent | 7a8b75d26605cf7a3fde9f624a80d6fb8390fcbd (diff) | |
download | rpm-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.c | 2 |
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 */ |