Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126Ab2HCKRr (ORCPT ); Fri, 3 Aug 2012 06:17:47 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:42045 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753112Ab2HCKRo (ORCPT ); Fri, 3 Aug 2012 06:17:44 -0400 MIME-Version: 1.0 In-Reply-To: <87pq7935w2.fsf@xmission.com> References: <20120323190855.GA27213@www.outflux.net> <87pq7935w2.fsf@xmission.com> Date: Fri, 3 Aug 2012 12:17:43 +0200 Message-ID: Subject: Re: [PATCH v2] futex: mark get_robust_list as deprecated From: richard -rw- weinberger To: "Eric W. Biederman" Cc: Kees Cook , Thomas Gleixner , linux-kernel@vger.kernel.org, Randy Dunlap , Darren Hart , Peter Zijlstra , Andrew Morton , Jiri Kosina , David Howells , "Serge E. Hallyn" , linux-doc@vger.kernel.org, kernel-hardening@lists.openwall.com, spender@grsecurity.net, Pavel Emelyanov , Cyrill Gorcunov Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 37 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? -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/