diff options
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2024,6 +2024,7 @@ int dump_write(struct file *file, const void *addr, int nr) | |||
2024 | { | 2024 | { |
2025 | return access_ok(VERIFY_READ, addr, nr) && file->f_op->write(file, addr, nr, &file->f_pos) == nr; | 2025 | return access_ok(VERIFY_READ, addr, nr) && file->f_op->write(file, addr, nr, &file->f_pos) == nr; |
2026 | } | 2026 | } |
2027 | EXPORT_SYMBOL(dump_write); | ||
2027 | 2028 | ||
2028 | int dump_seek(struct file *file, loff_t off) | 2029 | int dump_seek(struct file *file, loff_t off) |
2029 | { | 2030 | { |
@@ -2052,3 +2053,4 @@ int dump_seek(struct file *file, loff_t off) | |||
2052 | } | 2053 | } |
2053 | return ret; | 2054 | return ret; |
2054 | } | 2055 | } |
2056 | EXPORT_SYMBOL(dump_seek); | ||