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

From: Alan Cox
Date: Thu Jul 27 2006 - 11:49:11 EST


Ar Iau, 2006-07-27 am 18:33 +0300, ysgrifennodd Pekka Enberg:
> Don't device drivers already do that for f_ops->flush (filp_close) and

->flush is called when each closing occurs.

> vm_ops->close (munmap)? What revoke and frevoke do is basically
> unmap/fsync/close on all the open file descriptors.

What happens if an app is already blocked on a read when you do a
revoke ? The nasty case answer could be "it completes later on and
returns the users captured password"

Alan

-
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/