Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751257AbWIWPp7 (ORCPT ); Sat, 23 Sep 2006 11:45:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751259AbWIWPp7 (ORCPT ); Sat, 23 Sep 2006 11:45:59 -0400 Received: from mail.aknet.ru ([82.179.72.26]:263 "EHLO mail.aknet.ru") by vger.kernel.org with ESMTP id S1751258AbWIWPp6 (ORCPT ); Sat, 23 Sep 2006 11:45:58 -0400 Message-ID: <45155707.4010906@aknet.ru> Date: Sat, 23 Sep 2006 19:47:19 +0400 From: Stas Sergeev User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Ulrich Drepper Cc: Hugh Dickins , Andrew Morton , Linux kernel Subject: Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps References: <45150CD7.4010708@aknet.ru> <45155499.4000209@redhat.com> In-Reply-To: <45155499.4000209@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 547 Lines: 16 Hi. Ulrich Drepper wrote: > Definitely not. The test should stay. It does the right thing. Yes, > some applications might break, but this is the fault of the application. But why exactly? They do: shm_open(); mmap(PROT_READ|PROT_WRITE|PROT_EXEC); and mmap fails. Where is the fault of an app here? - 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/