lkml.org 
[lkml]   [1999]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Simple DoS...out of resources?


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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.043 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site