Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161293AbXAHNl6 (ORCPT ); Mon, 8 Jan 2007 08:41:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161295AbXAHNl6 (ORCPT ); Mon, 8 Jan 2007 08:41:58 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:44095 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161293AbXAHNl5 (ORCPT ); Mon, 8 Jan 2007 08:41:57 -0500 Date: Mon, 8 Jan 2007 13:41:52 +0000 From: Christoph Hellwig To: akpm@osdl.org, zohar@us.ibm.com, kjhall@us.ibm.com Cc: linux-kernel@vger.kernel.org Subject: mprotect abuse in slim Message-ID: <20070108134152.GA19811@infradead.org> Mail-Followup-To: Christoph Hellwig , akpm@osdl.org, zohar@us.ibm.com, kjhall@us.ibm.com, linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 13 Folks, WTF were you smoking when writing the slim code? Calling mprotect from random code to rewoke write permissions on process is not okay. As is poking into the dile desriptor tables. As is ding permission checks based on d_path output. Andrew, could you please just drop slim? The code isn't any better than the last few times they submitted this junk, and it still doesn't serve any real-life purpose. - 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/