[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020608070345q58a9c12btc2eb57cd7bf8dd14@mail.gmail.com>
Date: Mon, 7 Aug 2006 13:45:20 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Albert Cahalan" <acahalan@...il.com>
Cc: froese@....de, B.Steinbrink@....de, hurtta+gmane@...lo.fmi.fi,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [RFC/PATCH] revoke/frevoke system calls
Hi,
Edgar Toernig writes:
> > Urgs, so any user may remove mappings from another process and
> > let it crash?
On 7/22/06, Albert Cahalan <acahalan@...il.com> wrote:
> Two good solutions come to mind:
>
> a. substitute the zero page
> b. make the mapping private and touch it as if C-O-W happened
Actually, I think revokeat() and frevoke() should be consistent with
mmap which will make a process go SIGBUS if it attempts to write to
truncated shared mapping.
Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists