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

From: Alan Cox
Date: Fri Aug 26 2005 - 10:06:43 EST


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 ?





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/