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

Re: openssh on hurd



On Tue, May 29, 2001 at 01:03:37PM -0700, James Morrison wrote:
>   I haven't gone and made a patch but openssh 2.9 uses setrlimit().
> 
> It doesn't seem to be in the porting FAQ but it would be a nice place
> to have information of getting around setrlimit(). 
> 

What's wrong with using setrlimit() provided by the glibc?

#include <sys/resource.h>

...
	setrlimit (resource, limit);
...

Igor



Reply to: