This allows us to call these functions from modules, specifically the standalone FIPS module (which we're adding support for in this patch series). Cc: David Howells <dhowells@xxxxxxxxxx> Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: keyrings@xxxxxxxxxxxxxxx Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> --- certs/system_keyring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certs/system_keyring.c b/certs/system_keyring.c index 9de610bf1f4b..b9a882b627b4 100644 --- a/certs/system_keyring.c +++ b/certs/system_keyring.c @@ -50,6 +50,7 @@ int restrict_link_by_builtin_trusted(struct key *dest_keyring, return restrict_link_by_signature(dest_keyring, type, payload, builtin_trusted_keys); } +EXPORT_SYMBOL_GPL(restrict_link_by_builtin_trusted); /** * restrict_link_by_digsig_builtin - Restrict digitalSignature key additions by the built-in keyring @@ -102,6 +103,7 @@ int restrict_link_by_builtin_and_secondary_trusted( return restrict_link_by_signature(dest_keyring, type, payload, secondary_trusted_keys); } +EXPORT_SYMBOL_GPL(restrict_link_by_builtin_and_secondary_trusted); /** * restrict_link_by_digsig_builtin_and_secondary - Restrict by digitalSignature. -- 2.39.3