> On Wed, 12 May 1999, Linus Torvalds wrote:
>
> >We already do not allow anybody doing "mmap()" to have anything but page
> >alignment. The only loophole right now is "internal" mmaps in the kernel,
>
> It seems to me that we are allowing it also on not VM_SHARED or a file
> opened without O_RDWR:
[snip]
> (vma->vm_offset & (inode->i_sb->s_blocksize - 1)))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ but here?
>
> Probably I am missing something in the whole picture...
Look at set_blocksize() and foo_read_super().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/