Re: [PATCH] cpuset: make ntasks to be a monotonic increasing value

Lai Jiangshan
2008-07-31T07:47:53Z

Er, I can't. But this attack is existence theoretically indeed.
And IMO a monotonic increasing value is very helpful for this loop.

Li Zefan wrote:
> Lai Jiangshan wrote:
>> ntasks is not a monotonic increasing value,
>> So maybe fudge+1 processes are created when kmalloc and killed
>> when kfree in every loop. And the loop will not end or
>> repetition a long time.
>>
>> This patch prevent this kind of attack.
>>
>
> Could you demonstrate how to manage to do this so-called attack in
> real-life?
>
>
>
>