diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-23 18:44:37 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-24 02:09:20 (GMT) |
commit | a42c6ded827dbd396d2efde7530620be029a72d1 (patch) | |
tree | ea3129404f32515a04497990a050b2cf73aa1d5d /include | |
parent | 1227dd773d8d4e3983b4b751f9ffa0f41402fb7c (diff) | |
download | linux-fsl-qoriq-a42c6ded827dbd396d2efde7530620be029a72d1.tar.xz |
move key_repace_session_keyring() into tracehook_notify_resume()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tracehook.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h index 8a2a3fc..b9ca903 100644 --- a/include/linux/tracehook.h +++ b/include/linux/tracehook.h @@ -183,6 +183,8 @@ static inline void set_notify_resume(struct task_struct *task) */ static inline void tracehook_notify_resume(struct pt_regs *regs) { + if (current->replacement_session_keyring) + key_replace_session_keyring(); } #endif /* <linux/tracehook.h> */ |