Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030486AbWHXVwb (ORCPT ); Thu, 24 Aug 2006 17:52:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030485AbWHXVwb (ORCPT ); Thu, 24 Aug 2006 17:52:31 -0400 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:43657 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1030288AbWHXVwa (ORCPT ); Thu, 24 Aug 2006 17:52:30 -0400 Subject: Re: [PATCH 3/7] SLIM main patch From: Alan Cox To: Mimi Zohar Cc: Benjamin LaHaise , David Safford , kjhall@us.ibm.com, linux-kernel , LSM ML , Serge E Hallyn In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 24 Aug 2006 23:13:59 +0100 Message-Id: <1156457640.3007.196.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 (2.6.2-1.fc5.5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 19 Ar Iau, 2006-08-24 am 16:41 -0400, ysgrifennodd Mimi Zohar: > Alan Cox wrote on 08/24/2006 10:15:17 AM: > revoke_mmap_wperm() walks current->mm->mmap and removes > the file write permission using do_mprotect(). That is fine for threads of "current" but the pages may be shared between processes, and there are other fun cases where you can "park" data in objects and let someone open them later to recover the data (eg the console) > We have test shmem and mmap programs in the ltp framework that > show this actually works. Cool. - 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/