lkml.org 
[lkml]   [1999]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDo ulimits show up in /proc?
Hi,

is there a proper way (or is there a way _at all_) for a process to
see (and modify in the case of authorized processes) the ulimits of
another process, especially RLIMIT_CPU? Something like sys_getrlimit()
with an additional PID-argument? I would expect this information to
show up somewhere in /proc/PID/stat, but the only ulimit present there
is RLIMIT_RSS. Would it be a possible security hole to give this
information in /proc/PID/stat?

And yet another question (but related for our purposes): are there
plans to include a cummulative CPU time limit for a process and all its
children into the kernel, as one needs it for a batch-queuing system to
be able to enforce a 'per request' CPU time limit?

Thank you in advance for your help.

Cheers,

Bernd

PS: Please CC answers to me, because I am not on the list.
--
Bernd Rinn
Fakultaet fuer Physik
Universitaet Konstanz

Tel. 07531/88-3812,
e-mail: Bernd.Rinn@uni-konstanz.de
PGP-Fingerprint: 1F AC 31 64 FF EF A9 67 6E 0D 4C 26 0B E7 ED 5C

-
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:53    [W:0.097 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site