Re: [PATCH] deny partial write for loop dev fd

2007-06-17 Thread Nick Piggin
On Sat, Jun 16, 2007 at 07:39:17PM +0400, Dmitriy Monakhov wrote: > Partial write can be easily supported by LO_CRYPT_NONE mode, but > it is not easy in LO_CRYPT_CRYPTOAPI case, because of its block nature. > I don't know who still used cryptoapi, but theoretically it is possible. > So let's leave

Re: [PATCH] deny partial write for loop dev fd

2007-06-17 Thread Nick Piggin
On Sat, Jun 16, 2007 at 07:39:17PM +0400, Dmitriy Monakhov wrote: Partial write can be easily supported by LO_CRYPT_NONE mode, but it is not easy in LO_CRYPT_CRYPTOAPI case, because of its block nature. I don't know who still used cryptoapi, but theoretically it is possible. So let's leave

[PATCH] deny partial write for loop dev fd

2007-06-16 Thread Dmitriy Monakhov
Partial write can be easily supported by LO_CRYPT_NONE mode, but it is not easy in LO_CRYPT_CRYPTOAPI case, because of its block nature. I don't know who still used cryptoapi, but theoretically it is possible. So let's leave things as they are. Loop device doesn't support partial write before

[PATCH] deny partial write for loop dev fd

2007-06-16 Thread Dmitriy Monakhov
Partial write can be easily supported by LO_CRYPT_NONE mode, but it is not easy in LO_CRYPT_CRYPTOAPI case, because of its block nature. I don't know who still used cryptoapi, but theoretically it is possible. So let's leave things as they are. Loop device doesn't support partial write before