[Top] [All Lists]

Re: prlimit64: inconsistencies between kernel and userland

To: David Daney <>
Subject: Re: prlimit64: inconsistencies between kernel and userland
From: "Joseph S. Myers" <>
Date: Tue, 5 Nov 2013 22:36:24 +0000
Cc: Rich Felker <>, "Pinski, Andrew" <>, Andreas Barth <>, David Miller <>, <>, <>, <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <>
On Tue, 5 Nov 2013, David Daney wrote:

> Why can't the default version of the functions in question be fixed so that
> they do the right thing?  That way you wouldn't have to rebuild old binaries.
> Do we really need new function versions at all?

If we change RLIM64_INFINITY to match the kernel, then the right thing for 
at least getrlimit64 depends on whether it's an old or new binary (for old 
binaries it should return the old value of RLIM64_INFINITY and for new 
ones it should return the new value).

Joseph S. Myers

<Prev in Thread] Current Thread [Next in Thread>