On Mon, 19 Mar 2007, Michal Piotrowski wrote:
> > Yes, revoke-special-mmap-handling.patch is bad.
> 
> +               if (unlikely(vma->vm_flags & VM_REVOKED))
> +                       return -ENODEV;
> 
> Why -ENODEV?

That's what we want when trying to remap a revoked mapping (the vma is 
there, but you need to unmap it before reusing the region).

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

Reply via email to