Re: [PATCH 1/3] NOMMU: Provide shared-writable mmap support on ramfs

From: Linus Torvalds
Date: Wed Nov 23 2005 - 14:09:58 EST




On Wed, 23 Nov 2005, David Howells wrote:
>
> (3) Not permitting a file to be shrunk if it would truncate any shared
> mappings (private mappings are copied).

Why?

Truncate is _supposed_ to get rid of any shared mmap stuff.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/