Subject: Re: Volunteers to test some kernel code...
To: Brett Lymn <>
From: Jason Thorpe <>
List: tech-kern
Date: 06/22/1999 06:40:24
On Tue, 22 Jun 1999 16:25:32 +0930 (CST) (Brett Lymn) wrote:

 > Like we do now :-)

What are you talking about?  Take a look at vfs_vnops.c:vn_writechk().
That is called from vn_open().

Considering that you must open a file for writing before you can mmap
it with PROT_WRITE, that is closed off, too.

        -- Jason R. Thorpe <>