Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751470Ab3HSX0G (ORCPT ); Mon, 19 Aug 2013 19:26:06 -0400 Received: from mail-vb0-f47.google.com ([209.85.212.47]:33714 "EHLO mail-vb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165Ab3HSX0F (ORCPT ); Mon, 19 Aug 2013 19:26:05 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 19 Aug 2013 16:26:03 -0700 X-Google-Sender-Auth: aU3R4KiU5BC9TDM1mwTDKbEvWlQ Message-ID: Subject: Re: commit 94fc5d9: chromium-sandbox core dumped From: Linus Torvalds To: Emmanuel Benisty Cc: Linux Kernel Mailing List , Richard Genoud , Al Viro , Andrew Morton 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: 852 Lines: 19 On Mon, Aug 19, 2013 at 1:25 PM, Linus Torvalds wrote: > > I suspect that last "return 0" at the end should be "return 1". Does > that fix things for you? Untested. Ok. Confirmed. I reproduced the bug that Richard Genoud fixed, and also verified that yes, changing that last "return 0" in proc_readdir_de() to "return 1" fixes the bug that Emmanuel reported. Although I just did it with a special test-program using different getdents buffer sizes, so I didn't verify the particular Chromium breakage, but that does look like it's the same issue. 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/