aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/key.h')
-rw-r--r--include/linux/key.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/key.h b/include/linux/key.h
index 33e0165de100..cd50dfa1d4c2 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -278,6 +278,8 @@ static inline key_serial_t key_serial(struct key *key)
278extern ctl_table key_sysctls[]; 278extern ctl_table key_sysctls[];
279#endif 279#endif
280 280
281extern void key_replace_session_keyring(void);
282
281/* 283/*
282 * the userspace interface 284 * the userspace interface
283 */ 285 */
@@ -300,6 +302,7 @@ extern void key_init(void);
300#define key_fsuid_changed(t) do { } while(0) 302#define key_fsuid_changed(t) do { } while(0)
301#define key_fsgid_changed(t) do { } while(0) 303#define key_fsgid_changed(t) do { } while(0)
302#define key_init() do { } while(0) 304#define key_init() do { } while(0)
305#define key_replace_session_keyring() do { } while(0)
303 306
304#endif /* CONFIG_KEYS */ 307#endif /* CONFIG_KEYS */
305#endif /* __KERNEL__ */ 308#endif /* __KERNEL__ */