Skip to content

Commit a589609

Browse files
Saeed Mirzamohammadijfvogel
authored andcommitted
certs/system_keyring: export restrict_link_by_builtin_*trusted
This allows us to call these functions from modules, specifically the standalone FIPS module (which we're adding support for in this patch series). Orabug: 38493695 Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Reviewed-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Reviewed-by: Sherry Yang <sherry.yang@oracle.com>
1 parent b7174c9 commit a589609

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

certs/system_keyring.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ int restrict_link_by_builtin_trusted(struct key *dest_keyring,
5050
return restrict_link_by_signature(dest_keyring, type, payload,
5151
builtin_trusted_keys);
5252
}
53+
EXPORT_SYMBOL_GPL(restrict_link_by_builtin_trusted);
5354

5455
/**
5556
* 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(
102103
return restrict_link_by_signature(dest_keyring, type, payload,
103104
secondary_trusted_keys);
104105
}
106+
EXPORT_SYMBOL_GPL(restrict_link_by_builtin_and_secondary_trusted);
105107

106108
/**
107109
* restrict_link_by_digsig_builtin_and_secondary - Restrict by digitalSignature.

0 commit comments

Comments
 (0)