Messages in this thread | | | Subject | Re: forkbombing Linux distributions | From | Natanael Copa <> | Date | Mon, 28 Mar 2005 10:03:30 +0200 |
| |
On Sat, 2005-03-26 at 10:37 +0000, Tux wrote: > I'm confused, are hard limits to RLIMIT_NPROC imposed on services > spawned by init before a user logs in?
There are no "hard" limits to RLIMIT_NPROC. However, on fork, childern inherits the parents limits. Non-root users can not raise the limit, just lower it. So unless limits are set in the bootscripts, the defaults set in kernel/fork.c will be used on services.
-- Natanael Copa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |