[Fwd: SRU LP292429 Error when copying directory tree with Nautilus to ~/Private using ecryptfs]

Tim Gardner tcanonical at tpi.com
Tue Nov 18 21:28:00 UTC 2008


Michael Halcrow wrote:
> On Tue, Nov 18, 2008 at 01:38:31PM -0700, Tim Gardner wrote:
>> This patch is being proposed as an SRU to Intrepid, but I'm having a
>> hard time reconciling the description with the actual function of
>> the patch.
>>
>> Allocating multiple scatterlist structures has nothing to do with
>> alignment, but what it _does_ do is correctly consume the second S/G
>> entry if the buffer passed to virt_to_scatterlist() crosses a page
>> boundary, correct?
> 
> That is correct. The patch compensates for the fact that the key value
> may not fit in a single page.
> 
>> It seems to me that the bug occurs if the virtual pages consumed by
>> the buffer are not physically contiguous.
>>
>> rtg

Do you mind if I re-write the commit log a little bit? See attached.

It looks like a legitimate bug possibility to me, and should be
submitted as a stable update once it lands upstream.

rtg
-- 
Tim Gardner tim.gardner at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-SAUCE-Encryption-keys-can-span-a-page-bound.patch
Type: text/x-patch
Size: 4712 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20081118/3b028d75/attachment.bin>


More information about the kernel-team mailing list