public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* A long overdue fork-bomb defense ?! (idea + psuedocode, no patch yet)
@ 2017-04-09 22:04 Robert Hailey
  0 siblings, 0 replies; only message in thread
From: Robert Hailey @ 2017-04-09 22:04 UTC (permalink / raw)
  To: linux-kernel


Another fork bomb thread? Didn't we decide in the 90's that the answer
was "configure process limits" or "if it was solvable surly a solution
would have been found by now"?

Somewhat continuing from:
https://lkml.org/lkml/2011/4/8/275
...but a more refined idea and psuedocode.

ASAICS I have "the ultimate solution to fork bombs"... the synopsis:
* When we run out of process table space, clear the worst offenders,
and erect a "wall" in the forkbomb's cgroup for the rest of the fork
bomb to hurriedly run into and die a horrible death.

But the efficacy of one's own ideas are hard to judge, so I would
appreciate anyone smarter than me either:
* pointing out how horribly wrong I am, or
* helping flesh out the idea into a patch or proof-of-concept that it
might be tested

... otherwise my lack of c-language skill and kernel experience might
make this languish for years to come until anything actually comes of
this.

If you interested, of course, psuedocode is here it is for your
dissection:

* http://osndok.com/pubfiles/forkbomb-patch.html

If it is more appropriate to dump the psuedocode into the email thread,
I can do that instead... I don't know what is preferred.

Thanks in advance.

--
Robert Hailey

(Non-subscriber, please CC me in responses)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-09 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-09 22:04 A long overdue fork-bomb defense ?! (idea + psuedocode, no patch yet) Robert Hailey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox