Re: [PATCH 2.6.13-rc7 2/2] New Syscall: set rlimits of any process (reworked)

Wieland Gmeiner
2005-08-28T21:40:16Z

On Fri, 2005-08-26 at 16:34 +0100, Alan Cox wrote:
> On Gwe, 2005-08-26 at 05:39 +0200, Wieland Gmeiner wrote:
> > This is the second of two patches, it implements the setprlimit()
> > syscall.
> >
> > Implementation: This patch provides a new syscall setprlimit() for
> > writing a given process resource limits for i386. Its implementation
> > follows closely the setrlimit syscall. It is given a pid as an
>
>
> While looking at this have you considered 64bit rlimits on a 32bit box.
> If a new API is going to be added it would be a good time to fix the
> fact that some limits should be 64bit nowdays and have
>
> setrlimit() existing legacy/standards API
> setprlimit64() with size fixed and ability to specify process
>
> Any thoughts on this ?

Not yet, but thanks for the hint.

Thanks,
Wieland