diff options
Diffstat (limited to 'security/keys/internal.h')
-rw-r--r-- | security/keys/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/internal.h b/security/keys/internal.h index f375152a2500..a7cd1a682321 100644 --- a/security/keys/internal.h +++ b/security/keys/internal.h | |||
@@ -75,6 +75,7 @@ extern unsigned key_quota_maxbytes; | |||
75 | #define KEYQUOTA_LINK_BYTES 4 /* a link in a keyring is worth 4 bytes */ | 75 | #define KEYQUOTA_LINK_BYTES 4 /* a link in a keyring is worth 4 bytes */ |
76 | 76 | ||
77 | 77 | ||
78 | extern struct kmem_cache *key_jar; | ||
78 | extern struct rb_root key_serial_tree; | 79 | extern struct rb_root key_serial_tree; |
79 | extern spinlock_t key_serial_lock; | 80 | extern spinlock_t key_serial_lock; |
80 | extern struct mutex key_construction_mutex; | 81 | extern struct mutex key_construction_mutex; |
@@ -146,6 +147,7 @@ extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags, | |||
146 | 147 | ||
147 | extern long join_session_keyring(const char *name); | 148 | extern long join_session_keyring(const char *name); |
148 | 149 | ||
150 | extern struct work_struct key_gc_unused_work; | ||
149 | extern unsigned key_gc_delay; | 151 | extern unsigned key_gc_delay; |
150 | extern void keyring_gc(struct key *keyring, time_t limit); | 152 | extern void keyring_gc(struct key *keyring, time_t limit); |
151 | extern void key_schedule_gc(time_t expiry_at); | 153 | extern void key_schedule_gc(time_t expiry_at); |