|
@@ -186,8 +186,6 @@ static inline void set_notify_resume(struct task_struct *task)
|
|
*/
|
|
*/
|
|
static inline void tracehook_notify_resume(struct pt_regs *regs)
|
|
static inline void tracehook_notify_resume(struct pt_regs *regs)
|
|
{
|
|
{
|
|
- if (current->replacement_session_keyring)
|
|
|
|
- key_replace_session_keyring();
|
|
|
|
/*
|
|
/*
|
|
* The caller just cleared TIF_NOTIFY_RESUME. This barrier
|
|
* The caller just cleared TIF_NOTIFY_RESUME. This barrier
|
|
* pairs with task_work_add()->set_notify_resume() after
|
|
* pairs with task_work_add()->set_notify_resume() after
|