]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/keys.txt
[MIPS] VPE loader: convert from struct class_ device to struct device
[linux-2.6-omap-h63xx.git] / Documentation / keys.txt
index 60c665d9cfaa883416c79efb0fb99245f610a1e2..947d57d53453be799851155b0231cce1c9593217 100644 (file)
@@ -859,6 +859,17 @@ payload contents" for more information.
        void unregister_key_type(struct key_type *type);
 
 
+Under some circumstances, it may be desirable to deal with a bundle of keys.
+The facility provides access to the keyring type for managing such a bundle:
+
+       struct key_type key_type_keyring;
+
+This can be used with a function such as request_key() to find a specific
+keyring in a process's keyrings.  A keyring thus found can then be searched
+with keyring_search().  Note that it is not possible to use request_key() to
+search a specific keyring, so using keyrings in this way is of limited utility.
+
+
 ===================================
 NOTES ON ACCESSING PAYLOAD CONTENTS
 ===================================