summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-14 19:15:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-14 19:15:28 -0700
commit8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51 (patch)
tree9a03e08d879f14d5c0413fdc9f3e70bcf213279d /fs/exec.c
parentcd07202cc8262e1669edff0d97715f3dd9260917 (diff)
downloadlwn-8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51.tar.gz
lwn-8fd01d6cfbf75465d84a4e533ed70c5f57b3ff51.zip
Export dump_{write,seek} to binary loader modules
If you build aout support as a module, you'll want these exported. Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 03278c984ba0..6d2b6f936858 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -2024,6 +2024,7 @@ int dump_write(struct file *file, const void *addr, int nr)
{
return access_ok(VERIFY_READ, addr, nr) && file->f_op->write(file, addr, nr, &file->f_pos) == nr;
}
+EXPORT_SYMBOL(dump_write);
int dump_seek(struct file *file, loff_t off)
{
@@ -2052,3 +2053,4 @@ int dump_seek(struct file *file, loff_t off)
}
return ret;
}
+EXPORT_SYMBOL(dump_seek);