]> granicus.if.org Git - p11-kit/commit
virtual: Prefer fixed closures to libffi closures
authorDaiki Ueno <dueno@redhat.com>
Fri, 19 Oct 2018 08:21:36 +0000 (10:21 +0200)
committerDaiki Ueno <ueno@gnu.org>
Wed, 24 Oct 2018 15:01:52 +0000 (17:01 +0200)
commit6e1046de2233fba7875d3d6a1b260192678dd0ad
treef84df8df0b1709a830ccbad623283851955dfae0
parent83e92c2f9575707083d8b0c70ef330e285d70836
virtual: Prefer fixed closures to libffi closures

On some circumstances (such as when loading p11-kit-proxy from httpd),
it is known that creation of libffi closure always fails, due to
SELinux policy.  Although this is harmless, it pollutes the journal
and gives wrong hints when troubleshooting.  This patch changes the
order of preference of libffi vs pre-compiled closures to avoid that.
p11-kit/virtual.c