diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-24 12:24:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-08-24 12:24:01 -0700 |
commit | ce0cfd4ca817dbfd5f8267e7a6a235ed2041bf4a (patch) | |
tree | f06e627594a79086905f798ea0779774beae38ae /fs/exec.c | |
parent | 637952ca689013339b977558061fa4ca8e07e1c1 (diff) | |
parent | 16bfa38b1936212428cb38fbfbbb8f6c62b8d81f (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
ima: hashing large files bug fix
kernel_read: redefine offset type
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exec.c b/fs/exec.c index 4a8849e45b2..fb4f3cdda78 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -678,8 +678,8 @@ exit: } EXPORT_SYMBOL(open_exec); -int kernel_read(struct file *file, unsigned long offset, - char *addr, unsigned long count) +int kernel_read(struct file *file, loff_t offset, + char *addr, unsigned long count) { mm_segment_t old_fs; loff_t pos = offset; |