|
@@ -127,8 +127,8 @@ struct keyring_search_context {
|
|
|
struct timespec now;
|
|
|
};
|
|
|
|
|
|
-extern int key_default_cmp(const struct key *key,
|
|
|
- const struct key_match_data *match_data);
|
|
|
+extern bool key_default_cmp(const struct key *key,
|
|
|
+ const struct key_match_data *match_data);
|
|
|
extern key_ref_t keyring_search_aux(key_ref_t keyring_ref,
|
|
|
struct keyring_search_context *ctx);
|
|
|
|
|
@@ -150,8 +150,8 @@ extern struct key *request_key_and_link(struct key_type *type,
|
|
|
struct key *dest_keyring,
|
|
|
unsigned long flags);
|
|
|
|
|
|
-extern int lookup_user_key_possessed(const struct key *key,
|
|
|
- const struct key_match_data *match_data);
|
|
|
+extern bool lookup_user_key_possessed(const struct key *key,
|
|
|
+ const struct key_match_data *match_data);
|
|
|
extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags,
|
|
|
key_perm_t perm);
|
|
|
#define KEY_LOOKUP_CREATE 0x01
|