Re: [RFC/PATCH] revoke/frevoke system calls V2

From: Alan Cox
Date: Wed Aug 09 2006 - 14:14:45 EST

Ar Mer, 2006-08-09 am 20:00 +0200, ysgrifennodd Edgar Toernig:
> But anyway, correct me if I'm wrong, revoke (V2) not simply removes the
> pages from the mmaped area as truncating does (the vma stays); revoke
> seems to completely remove the vma which is clearly a security bug.
> Future mappings may silently get mapped into the area of the revoked
> file without the app noticing it. It may then hand out data of the new
> file still thinking it's sending the old one.

I agree with that point 100%.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at