Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459Ab3HTH3U (ORCPT ); Tue, 20 Aug 2013 03:29:20 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:56656 "EHLO mail-qa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826Ab3HTH3T (ORCPT ); Tue, 20 Aug 2013 03:29:19 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 20 Aug 2013 09:29:18 +0200 Message-ID: Subject: Re: commit 94fc5d9: chromium-sandbox core dumped From: Emmanuel Benisty To: Linus Torvalds 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: 1021 Lines: 26 Hi Linus, On Tue, Aug 20, 2013 at 1:26 AM, Linus Torvalds wrote: > 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. Just to confirm it does fix the chromium issue as well. Thanks. -- Emmanuel -- 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/