lkml.org 
[lkml]   [2012]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2] futex: mark get_robust_list as deprecated
    richard -rw- weinberger <richard.weinberger@gmail.com> writes:

    > On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook <keescook@chromium.org> wrote:
    >> Notify get_robust_list users that the syscall is going away.
    >>
    >> Suggested-by: Thomas Gleixner <tglx@linutronix.de>
    >> Signed-off-by: Kees Cook <keescook@chromium.org>
    >> ---
    >
    > 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.

    Eric


    \
     
     \ /
      Last update: 2012-08-02 13:41    [W:3.709 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site