Hello,

can anyone give an idea of C code on how to quickly count
the number of processes for a given user? I want to patch
Apache in order to prevent it from forking new process
over user's maxproc limit (while running suexec).

Should I look at ps(1) source code or there are some
other examples?

thanks,

Kirill Magdalinin
[EMAIL PROTECTED]

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to