Bug 61978 - Generic module ordering option
Summary: Generic module ordering option
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 61497
  Show dependency treegraph
 
Reported: 2013-03-07 17:58 UTC by Stef Walter
Modified: 2013-03-15 16:32 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
p11-kit: New order option and change trust-policy option (12.92 KB, patch)
2013-03-07 17:58 UTC, Stef Walter
Details | Splinter Review
p11-kit: New order option and change trust-policy option (13.20 KB, patch)
2013-03-14 09:37 UTC, Stef Walter
Details | Splinter Review
p11-kit: New priority option and change trust-policy option (13.68 KB, patch)
2013-03-15 06:14 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2013-03-07 17:58:10 UTC
We should be able to order the loaded modules with a configuration option. Since our module configs are loaded from various directories, there is no natural order.

This should be a more general purpose mechanism than the current trust-policy integer, which should probably change to a boolean option.
Comment 1 Stef Walter 2013-03-07 17:58:27 UTC
Created attachment 76127 [details] [review]
p11-kit: New order option and change trust-policy option
Comment 2 Stef Walter 2013-03-14 09:37:58 UTC
Created attachment 76518 [details] [review]
p11-kit: New order option and change trust-policy option
Comment 3 Stef Walter 2013-03-14 09:39:34 UTC
This is ready for review. 

By the way, this ordering is for ordering modules. The order of tokens in the trust module is the order of the input paths it was built with (see bug #61499).
Comment 4 Stef Walter 2013-03-15 06:14:11 UTC
Created attachment 76546 [details] [review]
p11-kit: New priority option and change trust-policy option
Comment 5 Stef Walter 2013-03-15 16:31:59 UTC
Attachment 76546 [details] pushed as 8fd55c8 - p11-kit: New priority option and change trust-policy option


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.