Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 14 Oct 2001 04:23:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 14 Oct 2001 04:23:09 -0400 Received: from AMontpellier-201-1-5-223.abo.wanadoo.fr ([193.251.15.223]:3847 "EHLO awak") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Sun, 14 Oct 2001 04:22:50 -0400 Subject: Re: Security question: "Text file busy" overwriting executables but not shared libraries? From: Xavier Bestel To: "Eric W. Biederman" Cc: Linus Torvalds , Jamie Lokier , Linux Kernel Mailing List In-Reply-To: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Mailer: Evolution/0.16.99+cvs.2001.10.11.16.13 (Preview Release) Date: 14 Oct 2001 10:17:24 +0200 Message-Id: <1003047444.10966.50.camel@nomade> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org le dim 14-10-2001 ? 08:49, Eric W. Biederman a ?crit : > Also read-with-PAGE_COPY has some really interesting implications for the > page out routines. Because anytime you start the page out you have to > copy the page. Not exactly when you want to increase the memory presure. > And not at all suitable for shared libraries. I didn't understood very well why you would want to swap out a page marked PAGE_COPY ? Doesn't it make sense to special-case it and just leave it "in the file", as long as it's untouched ? Xav - 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/