summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@open.eurogiciel.org>2014-09-05 12:15:21 +0200
committerJosé Bollo <jose.bollo@open.eurogiciel.org>2014-09-05 12:15:21 +0200
commitf89638679bc72541591f4cf32241fffae19f54ea (patch)
tree8245687263902cbee5553c358de174f50a5efbdb /plugins
parentbd6ce50013f51f6142437a4baee767e8fc5ada24 (diff)
downloadrpm-f89638679bc72541591f4cf32241fffae19f54ea.tar.gz
rpm-f89638679bc72541591f4cf32241fffae19f54ea.tar.bz2
rpm-f89638679bc72541591f4cf32241fffae19f54ea.zip
Names of the software repositories were used as subject of the generated smack rules. There is no mention of such behaviour on the help pages in the wiki of tizen. Bug-Tizen: PTREL-638 Change-Id: Iefef89492ab5c9839cb01d3b62dae4c3637f00f4 Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/msmxattr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/msmxattr.c b/plugins/msmxattr.c
index b7dc9190b..2665dfc3e 100644
--- a/plugins/msmxattr.c
+++ b/plugins/msmxattr.c
@@ -179,9 +179,14 @@ static int msmSetSmackProvide(struct smack_accesses *smack_accesses, provide_x *
rpmlog(RPMLOG_DEBUG, "%s ac_domain %s provided in %s for %s\n", (ac_domain->allowed ? "allowing" : "not allowing"),
ac_domain->name, ac_domain->sw_source->name, sw_source->name);
}
+/* FIXME(José Bollo): I'm removing this call that has the effect to create rules having the
+sw_source->name as subject. I'm thinking that this behaviour is not expected.
+It is solving the bug https://bugs.tizen.org/jira/browse/PTREL-638.
+
if (smack_accesses)
ret = msmSetSmackRules(smack_accesses, provide->ac_domains, sw_source->name);
else
+*/
ret = 0;
}
}