Bug 55052 - Refuse to load the p11-kit-proxy.so as a registered module
Summary: Refuse to load the p11-kit-proxy.so as a registered module
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 14:37 UTC by Stef Walter
Modified: 2013-02-12 15:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Refuse to load the p11-kit-proxy.so as a registered module (2.87 KB, patch)
2012-09-18 14:37 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2012-09-18 14:37:20 UTC
Although this is an invalid configuration, give a clear message when
the user tries to load the p11-kit-proxy.so as a p11-kit registered module.
Comment 1 Stef Walter 2012-09-18 14:37:21 UTC
Created attachment 67329 [details] [review]
Refuse to load the p11-kit-proxy.so as a registered module

 * Since p11-kit-proxy.so is a symlink to the libp11-kit.so library
   we check that we are not calling into our known CK_FUNCTION_LIST
   for the proxy code.
 * Although such a configuration is invalid, detecting this directly
   prevents strange initialization loop issues that are hard to debug.
Comment 2 Stef Walter 2013-02-12 15:02:37 UTC
This was pushed into git master before the 0.15.1 release.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.