Searched hist:"13 a791b4e63eb0537a7f804a340d6527485983b4" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/fs/ecryptfs/ |
H A D | read_write.c | diff 13a791b4e63eb0537a7f804a340d6527485983b4 Mon Apr 13 15:29:27 CDT 2009 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Fix data corruption when using ecryptfs_passthrough
ecryptfs_passthrough is a mount option that allows eCryptfs to allow data to be written to non-eCryptfs files in the lower filesystem. The passthrough option was causing data corruption due to it not always being treated as a non-eCryptfs file.
The first 8 bytes of an eCryptfs file contains the decrypted file size. This value was being written to the non-eCryptfs files, too. Also, extra 0x00 characters were being written to make the file size a multiple of PAGE_CACHE_SIZE.
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
|
H A D | mmap.c | diff 13a791b4e63eb0537a7f804a340d6527485983b4 Mon Apr 13 15:29:27 CDT 2009 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Fix data corruption when using ecryptfs_passthrough
ecryptfs_passthrough is a mount option that allows eCryptfs to allow data to be written to non-eCryptfs files in the lower filesystem. The passthrough option was causing data corruption due to it not always being treated as a non-eCryptfs file.
The first 8 bytes of an eCryptfs file contains the decrypted file size. This value was being written to the non-eCryptfs files, too. Also, extra 0x00 characters were being written to make the file size a multiple of PAGE_CACHE_SIZE.
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
|
H A D | crypto.c | diff 13a791b4e63eb0537a7f804a340d6527485983b4 Mon Apr 13 15:29:27 CDT 2009 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Fix data corruption when using ecryptfs_passthrough
ecryptfs_passthrough is a mount option that allows eCryptfs to allow data to be written to non-eCryptfs files in the lower filesystem. The passthrough option was causing data corruption due to it not always being treated as a non-eCryptfs file.
The first 8 bytes of an eCryptfs file contains the decrypted file size. This value was being written to the non-eCryptfs files, too. Also, extra 0x00 characters were being written to make the file size a multiple of PAGE_CACHE_SIZE.
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
|
H A D | inode.c | diff 13a791b4e63eb0537a7f804a340d6527485983b4 Mon Apr 13 15:29:27 CDT 2009 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Fix data corruption when using ecryptfs_passthrough
ecryptfs_passthrough is a mount option that allows eCryptfs to allow data to be written to non-eCryptfs files in the lower filesystem. The passthrough option was causing data corruption due to it not always being treated as a non-eCryptfs file.
The first 8 bytes of an eCryptfs file contains the decrypted file size. This value was being written to the non-eCryptfs files, too. Also, extra 0x00 characters were being written to make the file size a multiple of PAGE_CACHE_SIZE.
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
|