tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: increasing sysv semaphore limits



>>> Except doesn't that open you up to a DoS attack, running the kernel
>>> out of memory by creating a zillion semaphores?
>> I mean, itâ??s really the same thing as with file descriptors.
> Yes and no.  SYSV semaphores are persistent and independent of both
> file descriptors and processes.

Perhaps more important from this perspective, is there anything
analogous to proc.%d.rlimit.descriptors and/or kern.maxfiles for them?
Those are what keep a lid on the analogous DoS with file descriptors.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index