diff options
Diffstat (limited to 'security/keys/internal.h')
-rw-r--r-- | security/keys/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/keys/internal.h b/security/keys/internal.h index 3dcbf86b0d31..b510a316874a 100644 --- a/security/keys/internal.h +++ b/security/keys/internal.h | |||
@@ -148,6 +148,10 @@ extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags, | |||
148 | #define KEY_LOOKUP_PARTIAL 0x02 | 148 | #define KEY_LOOKUP_PARTIAL 0x02 |
149 | #define KEY_LOOKUP_FOR_UNLINK 0x04 | 149 | #define KEY_LOOKUP_FOR_UNLINK 0x04 |
150 | 150 | ||
151 | struct kludge { /* this will die off very soon */ | ||
152 | struct task_work twork; | ||
153 | struct cred *cred; | ||
154 | }; | ||
151 | extern long join_session_keyring(const char *name); | 155 | extern long join_session_keyring(const char *name); |
152 | extern void key_change_session_keyring(struct task_work *twork); | 156 | extern void key_change_session_keyring(struct task_work *twork); |
153 | 157 | ||