Hi all, with a friend i have made this patch that add rlimit file to /proc/PID directory. Trought this file you can set and get rlimit of a running process. rlimit file contains: Example: cave 5933 # pwd /proc/5933 cave 5933 # echo "RLIMIT_NOFILE 3 10" > rlimit cave 5933 # cat rlimit RLIMIT_CPU -1 -1 RLIMIT_FSIZE -1 -1 RLIMIT_DATA -1 -1 RLIMIT_STACK 8388608 -1 RLIMIT_CORE 0 -1 RLIMIT_RSS -1 -1 RLIMIT_NPROC 4095 4095 RLIMIT_NOFILE 3 10 RLIMIT_MEMLOCK 32768 32768 RLIMIT_AS -1 -1 RLIMIT_LOCKS -1 -1 RLIMIT_SIGPENDING 4095 4095 cave 5933 # This is my first patch,i hope it will be usefull Signed-off-by: Diego R. Brogna Signed-off-by: Raffaele La Brocca --- linux-2.6.13-rc3/fs/proc/base.c 2005-07-15 20:57:25.000000000 +0200 +++ linux-2.6.13-rc3/fs/proc/base.c.rlimit 2005-07-15 20:57:05.000000000 +0200