Linux-kernel mailing list archive 1999-32,: Re: Do ulimits show up in /proc?

# Re: Do ulimits show up in /proc?

Chuck Lever (cel@monkey.org)
Sat, 14 Aug 1999 13:24:11 -0400 (EDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Linus Torvalds: "Re: New resources - pls, explain :-("
- Previous message: Chuck Lever: "Re: Help: prefetching taking too long"

there's an rlimit patch at:

http://www.citi.umich.edu/projects/linux-scalability/projects/patches

but it's for an older version of linux (2.2.3) and only supports reading,
not writing, another processes resource limits.

On Thu, 12 Aug 1999, Bernd Rinn wrote:

> Date: Thu, 12 Aug 1999 14:37:45 +0200
> From: Bernd Rinn <bernd@hamilton1.physik.uni-konstanz.de>
> To: linux-kernel@vger.rutgers.edu
> Subject: Do 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/
>

- Chuck Lever

    --
    corporate:	<chuckl@netscape.com>
    personal:	<chucklever@netscape.net> or <cel@monkey.org>

    The Linux Scalability project:
    	http://www.citi.umich.edu/projects/linux-scalability/

    -
    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/

- Next message: Linus Torvalds: "Re: New resources - pls, explain :-("
- Previous message: Chuck Lever: "Re: Help: prefetching taking too long"