dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/ecryptfs
Michael Halcrow 53a2731f93 eCryptfs: delay writing 0's after llseek until write
Delay writing 0's out in eCryptfs after a seek past the end of the file
until data is actually written.

http://www.opengroup.org/onlinepubs/009695399/functions/lseek.html

``The lseek() function shall not, by itself, extend the size of a
file.''

Without this fix, applications that lseek() past the end of the file without
writing will experience unexpected behavior.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:15 -07:00
..
Makefile [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
crypto.c [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
debug.c [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
dentry.c [PATCH] eCryptfs: fix possible NULL ptr deref in ecryptfs_d_release() 2007-03-16 19:25:05 -07:00
ecryptfs_kernel.h [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
file.c eCryptfs: delay writing 0's after llseek until write 2007-05-23 20:14:15 -07:00
inode.c [PATCH] ecryptfs: nested locking annotation 2007-03-08 07:39:16 -08:00
keystore.c [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
main.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
messaging.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mmap.c eCryptfs: delay writing 0's after llseek until write 2007-05-23 20:14:15 -07:00
netlink.c [NETLINK]: Switch cb_lock spinlock to mutex and allow to override it 2007-04-25 22:29:03 -07:00
super.c [PATCH] Mark struct super_operations const 2007-02-12 09:48:47 -08:00