|
@@ -1517,14 +1517,6 @@ static void check_unshare_flags(unsigned long *flags_ptr)
|
|
if (*flags_ptr & CLONE_VM)
|
|
if (*flags_ptr & CLONE_VM)
|
|
*flags_ptr |= CLONE_SIGHAND;
|
|
*flags_ptr |= CLONE_SIGHAND;
|
|
|
|
|
|
- /*
|
|
|
|
- * If unsharing signal handlers and the task was created
|
|
|
|
- * using CLONE_THREAD, then must unshare the thread
|
|
|
|
- */
|
|
|
|
- if ((*flags_ptr & CLONE_SIGHAND) &&
|
|
|
|
- (atomic_read(¤t->signal->count) > 1))
|
|
|
|
- *flags_ptr |= CLONE_THREAD;
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* If unsharing namespace, must also unshare filesystem information.
|
|
* If unsharing namespace, must also unshare filesystem information.
|
|
*/
|
|
*/
|