Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750977AbbD2VCG (ORCPT ); Wed, 29 Apr 2015 17:02:06 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:35915 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750710AbbD2VCC (ORCPT ); Wed, 29 Apr 2015 17:02:02 -0400 MIME-Version: 1.0 In-Reply-To: References: <20150429193622.GA11892@node.dhcp.inet.fi> Date: Wed, 29 Apr 2015 14:02:01 -0700 X-Google-Sender-Auth: x0fYhlk7GZ9ZB_gelAFASEQpkWM Message-ID: Subject: Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage From: Linus Torvalds To: Konstantin Khlebnikov Cc: "Kirill A. Shutemov" , Mark Williamson , Mark Seaborn , kernel list , "Kirill A. Shutemov" , Pavel Emelyanov , Andrew Morton , Andy Lutomirski , Linux API , Finn Grimwood , Daniel James Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 18 On Wed, Apr 29, 2015 at 1:44 PM, Konstantin Khlebnikov wrote: > > This's no longer true. After recent fixes for "anon_vma endless growing" new vma > might reuse old anon_vma from grandparent vma. Oh well. I guess that was too simple. If Mark is ok with the rule that "it's not reliably if you have two nested forks" (ie it only works if you exec for every fork you do), it should still work, right? It sounds like Mark doesn't necessarily need to handle the *generic* case. Linus -- 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/