Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 03 Aug 2012 16:38:02 +0400
From: Pavel Emelyanov <>
To: Cyrill Gorcunov <>,
        richard -rw- weinberger <>
CC: "Eric W. Biederman" <>,
        Kees Cook <>,
        Thomas Gleixner <>,
        "" <>,
        Randy Dunlap <>,
        Darren Hart <>,
        Peter Zijlstra <>,
        Andrew Morton <>,
        Jiri Kosina <>, David Howells <>,
        "Serge E. Hallyn" <>,
        "" <>,
        "" <>,
        "" <>
Subject: Re: [PATCH v2] futex: mark get_robust_list as deprecated

On 08/03/2012 03:02 PM, Cyrill Gorcunov wrote:
> On Fri, Aug 03, 2012 at 12:17:43PM +0200, richard -rw- weinberger wrote:
>> On Thu, Aug 2, 2012 at 1:11 PM, Eric W. Biederman <> wrote:
>>> richard -rw- weinberger <> writes:
>>>> On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook <> wrote:
>>>>> Notify get_robust_list users that the syscall is going away.
>>>>> Suggested-by: Thomas Gleixner <>
>>>>> Signed-off-by: Kees Cook <>
>>>>> ---
>>>> I'm using this system call in an application and noticed that's marked
>>>> as deprecated now.
>>>> My application collects all kind of information from crashing programs.
>>>> It's installed in /proc/sys/kernel/core_pattern.
>>>> If program X is crashing it executes get_robust_list(X) to get the
>>>> address of the robust list
>>>> and reads the list from /proc/X/mem.
>>>> Is there another way to get the robust list from another program (by it's pid)?
>>> The folks doing checkpoint/restart claim to not need this, so there
>>> might be a way either that or they just haven't hit this problem yet.
>>> What you are doing sounds like a reasonable use of get_robust_list to me.
>> CRIU folks, how do you deal with futex robust lists?
> Well, I believe we were over-optimistic in claiming that we don't need this
> syscall (to be fair I think we simply yet not faced the problem Eric points).
> So we need some way to fetch this address and set it back. If get_robust_list
> get deprecated maybe we could print it out in /proc/pid/stat or something?

I agree with Cyrill, sorry for the confusion last time. We do need some way 
to get the list location. The exact API is not critical, we can work with
either of the mentioned above.

> 	Cyrill
> .

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.