Re: Simple DoS...out of resources?

Ryan Niemi - AV (zippy@sunsetd.com)
Tue, 9 Mar 1999 22:28:46 -0800 (PST)


On Wed, 10 Mar 1999, Murali Nagaraj wrote:

> man ulimit on my system ( kernel 2.2) says that the system call is
> undocumented/unimplemented. i grepped thru the source code only to
> discover that ulimit is not implemented.
> i need the information for a project i am working on. any help,
> suggestions appreciated.

You probably want to check the man page on setrlimit instead.
'ulimit' is a bash built-in for setting the rlimit's. I note that on my
copy of the man page, it leaves out RLIMIT_AS though, which allows you to
limit the address space (and memory usage) for processes. The parameter
in the rlimit structure is number of bytes of memory that should be
available to the process. The other RLIMIT_* settings are documented on
the setrlimit page.

-Ryan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/