Re: Is it possible to give the user the option to cancel forkbombs?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dane Mutters <dmutters@...>
Cc: Diego Calleja <diegocg@...>, Martin Olsson <mnemo@...>, Peter Zijlstra <peterz@...>, Alan Cox <alan@...>, <linux-kernel@...>
Date: Friday, November 23, 2007 - 3:34 am

On Sat, 17 Nov 2007 09:55:01 -0800
Dane Mutters <dmutters@gmail.com> wrote:


If the parent PID of the new task is exported through TASKSTATS, you can
do it already in userspace. If not, that data should be exported.

Then you could write a root daemon using netlink, set it to RT priority
and create an inheritable counter in it to thwart binary forking.
The counter would be cleared every x seconds.
No need to do it in the kernel.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Is it possible to give the user the option to cancel for..., Radoslaw Szkodzinski, (Fri Nov 23, 3:34 am)