On 04/05, Eric W. Biederman wrote:
>
> Oleg Nesterov writes:
>
> I agree that changing userspace semantics is something to be very
> careful with. But at least for purposes of discussion I think this is a
> good patch.
I agree that we need it with your approach,
but imo it
On 04/05, Eric W. Biederman wrote:
>
> Oleg Nesterov writes:
>
> I agree that changing userspace semantics is something to be very
> careful with. But at least for purposes of discussion I think this is a
> good patch.
I agree that we need it with your approach,
but imo it would be much better
Oleg Nesterov writes:
> On 04/02, Eric W. Biederman wrote:
>>
>> --- a/kernel/fork.c
>> +++ b/kernel/fork.c
>> @@ -1515,6 +1515,13 @@ static __latent_entropy struct task_struct
>> *copy_process(
>> if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND))
>>
Oleg Nesterov writes:
> On 04/02, Eric W. Biederman wrote:
>>
>> --- a/kernel/fork.c
>> +++ b/kernel/fork.c
>> @@ -1515,6 +1515,13 @@ static __latent_entropy struct task_struct
>> *copy_process(
>> if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND))
>> return
On 04/02, Eric W. Biederman wrote:
>
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -1515,6 +1515,13 @@ static __latent_entropy struct task_struct
> *copy_process(
> if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND))
> return ERR_PTR(-EINVAL);
>
> + /*
On 04/02, Eric W. Biederman wrote:
>
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -1515,6 +1515,13 @@ static __latent_entropy struct task_struct
> *copy_process(
> if ((clone_flags & CLONE_THREAD) && !(clone_flags & CLONE_SIGHAND))
> return ERR_PTR(-EINVAL);
>
> + /*
Old threading libraries used CLONE_SIGHAND without clone thread.
Modern threadding libraries always use CLONE_SIGHAND | CLONE_THREAD.
Therefore let's simplify our lives and stop supporting a case no one cares
about.
Signed-off-by: "Eric W. Biederman"
---
kernel/fork.c
Old threading libraries used CLONE_SIGHAND without clone thread.
Modern threadding libraries always use CLONE_SIGHAND | CLONE_THREAD.
Therefore let's simplify our lives and stop supporting a case no one cares
about.
Signed-off-by: "Eric W. Biederman"
---
kernel/fork.c | 7 +++
1 file
8 matches
Mail list logo